/* ===== BUTTON ===== */
#lynzaa-toggle{
    background: #1E3A8A !important; /* أزرق احترافي هادي */
    border: none !important;
    color: white !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    z-index: 999999;
}

/* 💬 أكبر */
.chat-icon{
    font-size: 28px;
}

/* ===== DOTS ===== */
.dots{
    display: flex;
    gap: 5px;
}

.dots span{
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    display: block;
    animation: typing 1.4s infinite;
}

.dots span:nth-child(2){
    animation-delay: 0.2s;
}

.dots span:nth-child(3){
    animation-delay: 0.4s;
}

/* ===== TYPING ANIMATION ===== */
@keyframes typing{
    0%, 80%, 100%{
        transform: scale(0.6);
        opacity: 0.5;
    }
    40%{
        transform: scale(1);
        opacity: 1;
    }
}



/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-2px, -2px); }
  100% { transform: translate(0); }
}

.shake {
  animation: shake 0.5s;
}

/*------pulse-------*/

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.5);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}


/* ===== BOT WINDOW ===== */
#lynzaa-bot{
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 370px;
    height: 520px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 999999;
     /* 👇 الإضافة */
    border: 1px solid rgba(30, 58, 138, 0.2);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
    box-sizing: border-box;
}

/* ===== IFRAME ===== */
#lynzaa-frame{
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== MOBILE ===== */
@media(max-width: 480px){
    #lynzaa-bot{
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    #lynzaa-bot *{
    all: unset;
}
    
}