/* ======================
   CAULDRON SEND BUTTON 
   ====================== */

.send-button {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at center,
    rgba(30, 27, 75, 1) 0%,
    rgba(15, 23, 42, 1) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    padding: 0;
}
.send-button.morgana {
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 20px var(--primary-color);
}
.send-button.agent {
    border: 2px solid var(--secondary-color);
    box-shadow: inset 0 0 20px var(--secondary-color);
}

.send-button:hover:not(:disabled) {
    transform: scale(1.1);
    background: radial-gradient(circle at center,
    rgba(40, 35, 95, 1) 0%,
    rgba(15, 23, 42, 1) 100%);
}
.send-button.morgana:hover:not(:disabled) {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px var(--primary-color), inset 0 0 30px var(--primary-color);
}
.send-button.agent:hover:not(:disabled) {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px var(--secondary-color), inset 0 0 30px var(--secondary-color);
}

.send-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cauldron-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.cauldron-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    z-index: 3;
}

.cauldron-svg {
    width: 100%;
    height: 100%;
}

.cauldron-svg .cauldron-body {
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.send-button.morgana .cauldron-svg .cauldron-body {
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.send-button.agent .cauldron-svg .cauldron-body {
    fill: var(--secondary-color);
    stroke: var(--secondary-color);
}

.cauldron-svg .bubble {
    opacity: 1;
    stroke-width: 0;
    animation: fade-in 1.4s infinite, float 1.4s ease infinite reverse;
}

.send-button.morgana .cauldron-svg .bubble {
    fill: var(--primary-color);
}

.send-button.agent .cauldron-svg .bubble {
    fill: var(--secondary-color);
}

.cauldron-svg .bubble:nth-of-type(1) {
    animation-delay: 0.2s;
}
.cauldron-svg .bubble:nth-of-type(2) {
    animation-delay: 0.4s;
}
.cauldron-svg .bubble:nth-of-type(3) {
    animation-delay: 0.6s;
}
.cauldron-svg .bubble:nth-of-type(4) {
    animation-delay: 0.8s;
}
.cauldron-svg .bubble:nth-of-type(5) {
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0em);
    }
    100% {
        transform: translateY(2em);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0.10;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    0%, 85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.send-button.sending .cauldron-icon {
    animation: cauldronShake 1.5s ease-in-out infinite;
}

@keyframes cauldronShake {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.08) rotate(-3deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
    75% {
        transform: translate(-50%, -50%) scale(1.08) rotate(3deg);
    }
}

.send-button.sending .cauldron-svg .bubble {
    animation: fade-in 1s infinite, float 1s ease infinite reverse;
}

.send-button.sending .cauldron-svg .bubble:nth-of-type(1) {
    animation-delay: 0.1s;
}

.send-button.sending .cauldron-svg .bubble:nth-of-type(2) {
    animation-delay: 0.2s;
}

.send-button.sending .cauldron-svg .bubble:nth-of-type(3) {
    animation-delay: 0.3s;
}

.send-button.sending .cauldron-svg .bubble:nth-of-type(4) {
    animation-delay: 0.4s;
}

.send-button.sending .cauldron-svg .bubble:nth-of-type(5) {
    animation-delay: 0.5s;
}