:root {
    --chatbot-primary: var(--kku-primary, #053170);
    --chatbot-primary-dark: var(--kku-primary-dark, #032248);
    --chatbot-primary-soft: var(--kku-brand-soft, color-mix(in srgb, var(--kku-primary, #053170) 18%, transparent));
    --chatbot-grey: var(--kku-text, #1e293b);
    --chatbot-light-grey: var(--kku-topbar, #f8f9fa);
    --chatbot-border: var(--kku-border, #e2e8f0);
    --chatbot-surface: var(--kku-white, #ffffff);
    --chatbot-surface-2: var(--kku-topbar, #f8fafc);
    --chatbot-surface-3: #f1f5f9;
    --chatbot-text: var(--kku-text, #1e293b);
    --chatbot-text-muted: var(--kku-muted, #64748b);
    --chatbot-shadow: color-mix(in srgb, var(--kku-primary, #053170) 35%, transparent);
    --kku-brand: var(--kku-primary, #053170);
    --kku-brand-hover: var(--kku-primary-dark, #032248);
    --kku-brand-soft: color-mix(in srgb, var(--kku-primary, #053170) 18%, transparent);
    --kku-brand-gradient: linear-gradient(135deg, var(--kku-primary, #053170), var(--kku-accent, #803e88));
    --kku-chart-1: #053170;
    --kku-chart-2: #803e88;
    --kku-chart-3: #0e7490;
    --kku-chart-4: #b45309;
}

.chatbot-container {
    position: fixed;
    width: 400px;
    max-width: 95vw;
    height: 700px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    background: var(--chatbot-surface);
    z-index: 10050;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, width 0.2s ease, height 0.2s ease, max-width 0.2s ease, max-height 0.2s ease;
    box-shadow: 0 5px 25px var(--kku-cm-shadow, rgba(0,0,0,0.15));
    border: 3px solid var(--chatbot-primary);
    transform: translateY(12px);
    user-select: none;
}

    .chatbot-container.dragging {
        transition: none;
        transform: scale(1.02);
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        border-color: var(--chatbot-primary-dark);
    }

/* Modal expand ile aynı mantık: tam ekrana yakın */
.chatbot-container.chatbot-maximized {
    width: min(100vw - 0.75rem, 100%) !important;
    max-width: min(100vw - 0.75rem, 100%) !important;
    height: min(100dvh - 0.75rem, 100%) !important;
    max-height: min(100dvh - 0.75rem, 100%) !important;
    left: 0.375rem !important;
    top: 0.375rem !important;
    right: auto !important;
    bottom: auto !important;
    border-radius: 6px;
    transform: none;
}

.chatbot-container.chatbot-maximized.dragging {
    transform: none;
}

/* Minimize / maximize header actions */
.chatbot-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    position: relative;
    z-index: 10;
}

.minimize-btn,
.chatbot-expand-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

    .minimize-btn:hover,
    .chatbot-expand-btn:hover {
        background: rgba(255, 255, 255, 0.26);
        border-color: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }

    .chatbot-expand-btn[aria-pressed="true"] {
        background: rgba(255, 255, 255, 0.26);
        border-color: rgba(255, 255, 255, 0.4);
    }

.chatbot-container.dragging .minimize-btn,
.chatbot-container.dragging .chatbot-expand-btn {
    pointer-events: none;
    opacity: 0.7;
}

.chatbot-container.dragging .chatbot-footer {
    pointer-events: none;
    opacity: 0.7;
}

.chatbot-container.dragging .chatbot-body {
    pointer-events: none;
    opacity: 0.9;
}

.chatbot-container.dragging .chat-messages {
    scroll-behavior: auto;
}

/* Icon stilleri */
.feather-icon {
    width: 16px;
    height: 16px;
}

.fa-icon {
    font-size: 16px;
}

/* Send button icon stilleri */
#sendButton .feather-icon,
#sendButton .fa-icon {
    margin-right: 0;
    vertical-align: middle;
}

/* Icon yükleme durumu */
.icon-loading {
    opacity: 0.5;
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Basit Typing Animasyonu */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 20px;
    margin: 10px 0;
    max-width: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .typing-indicator.active {
        animation: typingSlideIn 0.3s ease-out;
    }

    .typing-indicator span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--chatbot-primary);
        animation: typingBounce 1.4s ease-in-out infinite both;
    }

        .typing-indicator span:nth-child(1) {
            animation-delay: -0.32s;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: -0.16s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0s;
        }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Typing indicator giriş animasyonu */
@keyframes typingSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Typing indicator çıkış animasyonu */
.typing-indicator.hiding {
    animation: typingSlideOut 0.3s ease-in forwards;
}

@keyframes typingSlideOut {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    to {
        transform: translateY(15px) scale(0.7);
        opacity: 0;
    }
}

/* Typing indicator giriş animasyonu */
@keyframes typingSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Typing indicator çıkış animasyonu */
.typing-indicator.hiding {
    animation: typingSlideOut 0.3s ease-out forwards;
}

@keyframes typingSlideOut {
    to {
        opacity: 0;
        transform: translateY(-15px) scale(0.7);
    }
}

/* Typing indicator container stilleri */
.typing-indicator {
    position: relative;
    overflow: hidden;
}

    .typing-indicator::before {
        content: attr(data-animation);
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 10px;
        color: var(--chatbot-primary);
        opacity: 0.3;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    /* Her animasyon için özel renkler */
    .typing-indicator.bounce span {
        background: #dc3545;
    }

    .typing-indicator.wave span {
        background: #fd7e14;
    }

    .typing-indicator.pulse span {
        background: #ffc107;
    }

    .typing-indicator.rotate span {
        background: #20c997;
    }

    .typing-indicator.morph span {
        background: #6f42c1;
    }

    .typing-indicator.glow span {
        background: #e83e8c;
    }

    .typing-indicator.matrix span {
        background: #00ff00;
    }

    .typing-indicator.fire span {
        background: #ff4500;
    }

    .typing-indicator.galaxy span {
        background: #4a90e2;
    }

    .typing-indicator.lightning span {
        background: #ffd700;
    }

    .typing-indicator.dna span {
        background: #e74c3c;
    }

    .typing-indicator.quantum span {
        background: #00ffff;
    }

    .typing-indicator.hologram span {
        background: #ff00ff;
    }

    .typing-indicator.cosmic span {
        background: #ff6b6b;
    }

    .typing-indicator.neon span {
        background: #00ff88;
    }

    .typing-indicator.crystal span {
        background: #667eea;
    }

    /* 🌟 SÜPER ETKİLEYİCİ ANİMASYONLAR 🌟 */

    /* 7. Matrix Rain Effect */
    .typing-indicator.matrix {
        background: linear-gradient(45deg, #000, #0a0a0a);
        border: 1px solid #00ff00;
        box-shadow: 0 0 20px #00ff00, inset 0 0 20px rgba(0,255,0,0.1);
        position: relative;
        overflow: hidden;
    }

        .typing-indicator.matrix::before {
            content: 'MATRIX';
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 8px;
            color: #00ff00;
            opacity: 0.7;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 5px #00ff00;
        }

        .typing-indicator.matrix span {
            width: 6px;
            height: 12px;
            background: #00ff00;
            border-radius: 1px;
            animation: matrixRain 1.2s linear infinite;
            text-shadow: 0 0 10px #00ff00;
        }

            .typing-indicator.matrix span:nth-child(1) {
                animation-delay: 0s;
            }

            .typing-indicator.matrix span:nth-child(2) {
                animation-delay: 0.2s;
            }

            .typing-indicator.matrix span:nth-child(3) {
                animation-delay: 0.4s;
            }

@keyframes matrixRain {
    0% {
        transform: translateY(-20px) scale(0);
        opacity: 0;
        box-shadow: 0 0 5px #00ff00;
    }

    50% {
        transform: translateY(0) scale(1);
        opacity: 1;
        box-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00;
    }

    100% {
        transform: translateY(20px) scale(0);
        opacity: 0;
        box-shadow: 0 0 5px #00ff00;
    }
}

/* 8. Fire Effect */
.typing-indicator.fire {
    background: linear-gradient(45deg, #ff4500, #ff8c00, #ffd700);
    border: 2px solid #ff4500;
    box-shadow: 0 0 30px #ff4500, inset 0 0 20px rgba(255,69,0,0.3);
}

    .typing-indicator.fire span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #fff, #ffd700, #ff4500);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        animation: fireFlicker 1.5s ease-in-out infinite;
    }

        .typing-indicator.fire span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.fire span:nth-child(2) {
            animation-delay: 0.3s;
        }

        .typing-indicator.fire span:nth-child(3) {
            animation-delay: 0.6s;
        }

    .typing-indicator.fire::before {
        content: 'FIRE';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff4500;
        opacity: 0.7;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 5px #ff4500;
    }

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }

    25% {
        transform: scale(1.2) rotate(90deg);
        filter: hue-rotate(30deg);
    }

    50% {
        transform: scale(0.8) rotate(180deg);
        filter: hue-rotate(60deg);
    }

    75% {
        transform: scale(1.1) rotate(270deg);
        filter: hue-rotate(90deg);
    }
}

/* 9. Galaxy Effect */
.typing-indicator.galaxy {
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    border: 2px solid #4a90e2;
    box-shadow: 0 0 40px #4a90e2, inset 0 0 30px rgba(74,144,226,0.2);
    position: relative;
    overflow: hidden;
}

    .typing-indicator.galaxy::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: galaxyGlow 3s ease-in-out infinite;
    }

    .typing-indicator.galaxy::before {
        content: 'GALAXY';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #4a90e2;
        opacity: 0.7;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 5px #4a90e2;
        z-index: 3;
    }

    .typing-indicator.galaxy span {
        width: 10px;
        height: 10px;
        background: radial-gradient(circle, #fff, #4a90e2, #1a1a2e);
        border-radius: 50%;
        animation: galaxyOrbit 2s linear infinite;
        position: relative;
        z-index: 2;
    }

        .typing-indicator.galaxy span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.galaxy span:nth-child(2) {
            animation-delay: 0.7s;
        }

        .typing-indicator.galaxy span:nth-child(3) {
            animation-delay: 1.4s;
        }

@keyframes galaxyOrbit {
    0% {
        transform: rotate(0deg) translateX(15px) rotate(0deg) scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg) translateX(15px) rotate(-180deg) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg) translateX(15px) rotate(-360deg) scale(0.8);
        opacity: 0.5;
    }
}

@keyframes galaxyGlow {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* 10. Lightning Effect */
.typing-indicator.lightning {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border: 2px solid #ffd700;
    box-shadow: 0 0 50px #ffd700, inset 0 0 30px rgba(255,215,0,0.2);
    position: relative;
}

    .typing-indicator.lightning::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255,215,0,0.3) 50%, transparent 70%);
        animation: lightningFlash 2s ease-in-out infinite;
    }

    .typing-indicator.lightning span {
        width: 8px;
        height: 12px;
        background: linear-gradient(45deg, #ffd700, #fff, #ffd700);
        border-radius: 2px;
        animation: lightningBolt 1.8s ease-in-out infinite;
        position: relative;
        z-index: 2;
    }

        .typing-indicator.lightning span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.lightning span:nth-child(2) {
            animation-delay: 0.6s;
        }

        .typing-indicator.lightning span:nth-child(3) {
            animation-delay: 1.2s;
        }

@keyframes lightningBolt {
    0%, 100% {
        transform: scaleY(1) skew(0deg);
        opacity: 0.7;
    }

    25% {
        transform: scaleY(1.5) skew(15deg);
        opacity: 1;
        filter: brightness(1.5);
    }

    50% {
        transform: scaleY(0.8) skew(-15deg);
        opacity: 0.9;
    }

    75% {
        transform: scaleY(1.3) skew(10deg);
        opacity: 1;
        filter: brightness(1.3);
    }
}

@keyframes lightningFlash {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* 11. DNA Helix Effect */
.typing-indicator.dna {
    background: linear-gradient(45deg, #8e44ad, #9b59b6, #8e44ad);
    border: 2px solid #e74c3c;
    box-shadow: 0 0 35px #e74c3c, inset 0 0 25px rgba(231,76,60,0.2);
}

    .typing-indicator.dna span {
        width: 6px;
        height: 6px;
        background: radial-gradient(circle, #fff, #e74c3c);
        border-radius: 50%;
        animation: dnaHelix 2.5s ease-in-out infinite;
        position: relative;
    }

        .typing-indicator.dna span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.dna span:nth-child(2) {
            animation-delay: 0.8s;
        }

        .typing-indicator.dna span:nth-child(3) {
            animation-delay: 1.6s;
        }

@keyframes dnaHelix {
    0% {
        transform: translateX(-10px) translateY(0) rotate(0deg) scale(0.8);
        opacity: 0.5;
    }

    25% {
        transform: translateX(0) translateY(-8px) rotate(90deg) scale(1.2);
        opacity: 1;
    }

    50% {
        transform: translateX(10px) translateY(0) rotate(180deg) scale(0.8);
        opacity: 0.5;
    }

    75% {
        transform: translateX(0) translateY(8px) rotate(270deg) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateX(-10px) translateY(0) rotate(360deg) scale(0.8);
        opacity: 0.5;
    }
}

/* 12. Quantum Effect */
.typing-indicator.quantum {
    background: linear-gradient(45deg, #000428, #004e92);
    border: 2px solid #00ffff;
    box-shadow: 0 0 60px #00ffff, inset 0 0 40px rgba(0,255,255,0.1);
    position: relative;
    overflow: hidden;
}

    .typing-indicator.quantum::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(0,255,255,0.3) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(0,255,255,0.2) 0%, transparent 50%);
        animation: quantumField 4s ease-in-out infinite;
    }

    .typing-indicator.quantum span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #00ffff, #0080ff, #000428);
        border-radius: 50%;
        animation: quantumParticle 3s ease-in-out infinite;
        position: relative;
        z-index: 2;
    }

        .typing-indicator.quantum span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.quantum span:nth-child(2) {
            animation-delay: 1s;
        }

        .typing-indicator.quantum span:nth-child(3) {
            animation-delay: 2s;
        }

@keyframes quantumParticle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
        filter: blur(0px);
    }

    20% {
        transform: scale(1.5) rotate(72deg);
        opacity: 1;
        filter: blur(1px);
    }

    40% {
        transform: scale(0.5) rotate(144deg);
        opacity: 0.8;
        filter: blur(0px);
    }

    60% {
        transform: scale(1.8) rotate(216deg);
        opacity: 1;
        filter: blur(2px);
    }

    80% {
        transform: scale(0.3) rotate(288deg);
        opacity: 0.6;
        filter: blur(0px);
    }

    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
        filter: blur(0px);
    }
}

@keyframes quantumField {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* 🌟 MEGA SÜPER ANİMASYONLAR 🌟 */

/* 13. Hologram Effect */
.typing-indicator.hologram {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    border: 2px solid #fff;
    box-shadow: 0 0 50px #ff00ff, 0 0 100px #00ffff, inset 0 0 30px rgba(255,0,255,0.3);
    position: relative;
    overflow: hidden;
    animation: hologramGlow 2s ease-in-out infinite;
}

    .typing-indicator.hologram::before {
        content: 'HOLOGRAM';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #fff;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
        z-index: 3;
        animation: hologramText 1.5s ease-in-out infinite;
    }

    .typing-indicator.hologram span {
        width: 10px;
        height: 10px;
        background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
        border-radius: 50%;
        animation: hologramParticle 2.5s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px currentColor;
    }

        .typing-indicator.hologram span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.hologram span:nth-child(2) {
            animation-delay: 0.8s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.hologram span:nth-child(3) {
            animation-delay: 1.6s;
            filter: hue-rotate(240deg);
        }

@keyframes hologramGlow {
    0%, 100% {
        box-shadow: 0 0 50px #ff00ff, 0 0 100px #00ffff, inset 0 0 30px rgba(255,0,255,0.3);
    }

    50% {
        box-shadow: 0 0 80px #ff00ff, 0 0 150px #00ffff, inset 0 0 50px rgba(255,0,255,0.5);
    }
}

@keyframes hologramText {
    0%, 100% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes hologramParticle {
    0% {
        transform: scale(0) rotate(0deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: scale(1.5) rotate(90deg) translateY(-10px);
        opacity: 1;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: scale(0.8) rotate(180deg) translateY(0);
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: scale(1.3) rotate(270deg) translateY(10px);
        opacity: 1;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 14. Cosmic Storm Effect */
.typing-indicator.cosmic {
    background: linear-gradient(45deg, #000428, #004e92, #000428);
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 60px #ff6b6b, 0 0 120px #4ecdc4, inset 0 0 40px rgba(255,107,107,0.2);
    position: relative;
    overflow: hidden;
}

    .typing-indicator.cosmic::before {
        content: 'COSMIC';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff6b6b;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px #ff6b6b, 0 0 30px #4ecdc4;
        z-index: 3;
        animation: cosmicText 2s ease-in-out infinite;
    }

    .typing-indicator.cosmic::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 30%, rgba(255,107,107,0.4) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(78,205,196,0.4) 0%, transparent 50%);
        animation: cosmicField 4s ease-in-out infinite;
    }

    .typing-indicator.cosmic span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #ff6b6b, #4ecdc4, #000428);
        border-radius: 50%;
        animation: cosmicStorm 3s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 15px currentColor;
    }

        .typing-indicator.cosmic span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.cosmic span:nth-child(2) {
            animation-delay: 1s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.cosmic span:nth-child(3) {
            animation-delay: 2s;
            filter: hue-rotate(240deg);
        }

@keyframes cosmicText {
    0%, 100% {
        text-shadow: 0 0 15px #ff6b6b, 0 0 30px #4ecdc4;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 25px #ff6b6b, 0 0 50px #4ecdc4;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes cosmicField {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

@keyframes cosmicStorm {
    0% {
        transform: scale(0) rotate(0deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    20% {
        transform: scale(1.8) rotate(72deg) translateX(-8px);
        opacity: 1;
        filter: hue-rotate(72deg);
    }

    40% {
        transform: scale(0.4) rotate(144deg) translateX(8px);
        opacity: 0.7;
        filter: hue-rotate(144deg);
    }

    60% {
        transform: scale(2.2) rotate(216deg) translateX(-6px);
        opacity: 1;
        filter: hue-rotate(216deg);
    }

    80% {
        transform: scale(0.6) rotate(288deg) translateX(6px);
        opacity: 0.8;
        filter: hue-rotate(288deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 15. Neon Pulse Effect */
.typing-indicator.neon {
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    border: 2px solid #00ff88;
    box-shadow: 0 0 40px #00ff88, 0 0 80px #00ff88, inset 0 0 30px rgba(0,255,136,0.1);
    position: relative;
    overflow: hidden;
    animation: neonPulse 1.5s ease-in-out infinite;
}

    .typing-indicator.neon::before {
        content: 'NEON';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #00ff88;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
        z-index: 3;
        animation: neonText 1s ease-in-out infinite;
    }

    .typing-indicator.neon span {
        width: 12px;
        height: 12px;
        background: radial-gradient(circle, #00ff88, #00cc6a);
        border-radius: 50%;
        animation: neonGlow 2s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px #00ff88;
    }

        .typing-indicator.neon span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.neon span:nth-child(2) {
            animation-delay: 0.7s;
        }

        .typing-indicator.neon span:nth-child(3) {
            animation-delay: 1.4s;
        }

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 40px #00ff88, 0 0 80px #00ff88, inset 0 0 30px rgba(0,255,136,0.1);
        border-color: #00ff88;
    }

    50% {
        box-shadow: 0 0 60px #00ff88, 0 0 120px #00ff88, inset 0 0 50px rgba(0,255,136,0.3);
        border-color: #00ffcc;
    }
}

@keyframes neonText {
    0%, 100% {
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes neonGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px #00ff88;
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        box-shadow: 0 0 40px #00ff88, 0 0 60px #00ff88;
        opacity: 1;
    }
}

/* 16. Crystal Effect */
.typing-indicator.crystal {
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border: 2px solid #fff;
    box-shadow: 0 0 50px #667eea, 0 0 100px #764ba2, inset 0 0 30px rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

    .typing-indicator.crystal::before {
        content: 'CRYSTAL';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #fff;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px #667eea, 0 0 30px #764ba2;
        z-index: 3;
        animation: crystalText 2s ease-in-out infinite;
    }

    .typing-indicator.crystal span {
        width: 10px;
        height: 10px;
        background: radial-gradient(circle, #fff, #667eea, #764ba2);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        animation: crystalRotate 3s linear infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px currentColor;
    }

        .typing-indicator.crystal span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.crystal span:nth-child(2) {
            animation-delay: 1s;
        }

        .typing-indicator.crystal span:nth-child(3) {
            animation-delay: 2s;
        }

@keyframes crystalText {
    0%, 100% {
        text-shadow: 0 0 15px #667eea, 0 0 30px #764ba2;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 25px #667eea, 0 0 50px #764ba2;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes crystalRotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 1;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: rotate(180deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: rotate(270deg) scale(1.2);
        opacity: 1;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(360deg);
    }
}

.chatbot-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10050;
    pointer-events: auto;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--chatbot-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 24px;
}

    .chatbot-button:hover {
        transform: scale(1.1);
        background-color: var(--chatbot-primary-dark);
    }

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
}

    .chatbot-window.active {
        display: flex !important;
    }

.chatbot-header {
    padding: 15px;
    background: var(--chatbot-primary);
    color: var(--chatbot-light-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    user-select: none;
    transition: all 0.2s ease;
}

    .chatbot-header:hover {
        cursor: grab;
        background: var(--chatbot-primary-dark);
    }

    .chatbot-header:active {
        cursor: grabbing;
    }

.chatbot-container.dragging .chatbot-header {
    cursor: grabbing;
    background: var(--chatbot-primary-dark);
    transform: scale(1.02);
}

.chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.chatbot-messages {
    padding: 20px;
    overflow-y: auto;
    scroll-behavior: smooth;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

/* Scrollbar Styles */
.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--chatbot-surface-3);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--chatbot-primary);
    border-radius: 10px;
    border: 2px solid var(--chatbot-surface-3);
}

    .chat-messages::-webkit-scrollbar-thumb:hover {
        background: var(--chatbot-primary-dark);
    }

/* Message Styles */
.message {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .message.user {
        align-items: flex-end !important;
    }

    .message.bot {
        align-items: flex-start !important;
    }

.chatbot-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

    .chatbot-message.user {
        background: var(--theme-primary-100, #e9ecef);
        color: var(--chatbot-grey);
        margin-left: auto;
    }

    .chatbot-message.bot {
        background: var(--chatbot-primary);
        color: var(--chatbot-light-grey);
        margin-right: auto;
    }

.chatbot-input {
    padding: 15px;
    border-top: 1px solid var(--chatbot-border);
    display: flex;
    gap: 10px;
    background: white;
}

    .chatbot-input input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid var(--chatbot-border);
        border-radius: 20px;
        outline: none;
    }

    .chatbot-input button {
        background: var(--chatbot-primary);
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .chatbot-input button:hover {
            background: var(--chatbot-primary-dark);
        }

/* Loading animation */
.chatbot-loading {
    display: flex;
    gap: 5px;
    padding: 10px;
}

    .chatbot-loading span {
        width: 8px;
        height: 8px;
        background: var(--chatbot-primary);
        border-radius: 50%;
        animation: bounce 0.5s infinite alternate;
    }

        .chatbot-loading span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .chatbot-loading span:nth-child(3) {
            animation-delay: 0.2s;
        }

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-5px);
    }
}

.chatbot-header {
    background: var(--kku-brand-gradient, var(--chatbot-primary));
    color: #fff;
    /* padding: 20px; */
    border-bottom: 1px solid var(--chatbot-primary-dark);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    background-color: var(--chatbot-surface-2);
    position: relative;
    scroll-behavior: smooth;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /* width: 90px; */
    /* height: 90px; */
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--chatbot-primary);
    color: #fff;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    padding: 0;
    cursor: grab;
    border-radius: 50%;
    box-shadow: 0 4px 15px var(--chatbot-shadow);
    animation: chatbot-mascot-pulse 1.8s ease-in-out infinite;
    user-select: none;
    will-change: transform, box-shadow;
    pointer-events: auto;
    touch-action: none;
}

/* Maskot SVG — sabit #dc3545 yok; marka + kontrast temadan */
.chatbot-toggle .chatbot-mascot-svg {
    display: block;
    color: inherit;
}

.chatbot-toggle .chatbot-mascot-bubble {
    fill: #fff;
    stroke: #fff;
}

.chatbot-toggle .chatbot-mascot-face {
    fill: #fff;
    stroke: color-mix(in srgb, #fff 55%, var(--chatbot-primary));
}

.chatbot-toggle .chatbot-mascot-eye,
.chatbot-toggle .chatbot-mascot-antenna {
    fill: var(--chatbot-primary);
}

.chatbot-toggle .chatbot-mascot-mouth {
    stroke: var(--chatbot-primary);
    fill: none;
}

    .chatbot-toggle.chatbot-toggle--hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        animation: none;
        transform: scale(0.85);
    }

    .chatbot-toggle:hover {
        cursor: grab;
        background: var(--chatbot-primary-dark);
        animation: chatbot-mascot-pulse 1.1s ease-in-out infinite;
    }

    .chatbot-toggle:active {
        cursor: grabbing;
    }

    .chatbot-toggle.dragging {
        cursor: grabbing;
        transform: scale(1.08);
        box-shadow: 0 12px 35px var(--chatbot-shadow);
        animation: none;
        transition: none;
        z-index: 10060;
    }

    /* Toggle buton için gelişmiş hover efektleri */
    .chatbot-toggle:hover:not(.dragging):not(.chatbot-toggle--hidden) {
        box-shadow: 0 6px 22px var(--chatbot-shadow);
    }

    /* Toggle buton için active state */
    .chatbot-toggle:active:not(.dragging) {
        transform: scale(1.02);
        transition: transform 0.1s ease;
    }

    .chatbot-toggle svg {
        /* width: 45px; */
        /* height: 45px; */
        stroke-width: 1.75;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
        animation: none;
    }

    .chatbot-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--chatbot-primary) 30%, transparent);
    }

.notification-badge {
    display: none !important;
}

.chatbaslik {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.chatbot-container .d-flex {
    display: flex !important;
}

.chatbot-container .align-items-center {
    align-items: center !important;
}

.chatbot-container .input-group {
    display: flex;
    width: 100%;
    gap: 0.35rem;
}

.chatbot-container .input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.chatbot-container .btn.btn-primary {
    flex: 0 0 auto;
}
    width: 100%;
}

/* AI Asistan başlık animasyonu */
@keyframes titleFlash {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Toggle buton için gelişmiş animasyonlar */
@keyframes togglePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px var(--chatbot-shadow);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px var(--chatbot-shadow);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px var(--chatbot-shadow);
    }
}

@keyframes toggleBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

/* Toggle buton için gelişmiş hover animasyonu */
.chatbot-toggle:hover:not(.dragging):not(.chatbot-toggle--hidden) {
    animation: chatbot-mascot-pulse 1.1s ease-in-out infinite;
}

.chatbot-header h5 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    animation: titleFlash 2s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

    .chatbot-header h5:hover {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
        transform: scale(1.05);
    }

.bot-message {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.message.user.bot-message {
    align-items: flex-end !important;
}

.message.bot.bot-message {
    align-items: flex-start !important;
    width: 636px;
}

.message-content {
    padding: 15px 20px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.5;
    max-width: 80%;
    min-width: 200px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.message.user .message-content {
    background: linear-gradient(135deg, var(--chatbot-primary) 0%, var(--chatbot-primary-dark) 100%);
    color: #fff;
    border-radius: 15px 15px 0 15px;
    box-shadow: 0 2px 8px var(--chatbot-shadow);
    margin-right: 10px;
}

.message.bot .message-content {
    background: var(--chatbot-surface);
    color: var(--chatbot-text);
    border-radius: 15px 15px 15px 0;
    box-shadow: 0 2px 4px var(--kku-cm-shadow, rgba(0,0,0,0.05));
    margin-left: 10px;
    border: 1px solid var(--chatbot-border);
}

.message-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.message-time {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.8;
    padding: 0 15px;
}

.message.user .message-time {
    color: #666;
    align-self: flex-end;
    margin-right: 15px;
}

.message.bot .message-time {
    color: #666;
    align-self: flex-start;
    margin-left: 15px;
}

/* Mesaj animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.new {
    animation: fadeIn 0.3s ease forwards;
}

/* Hover efektleri */
.message-content:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.message.user .message-content:hover {
    box-shadow: 0 4px 12px var(--chatbot-shadow);
}

.message.bot .message-content:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Komut kütüphanesi — kategorili, kaydırmasız */
.chatbot-command-library {
    background: linear-gradient(180deg, var(--chatbot-surface) 0%, var(--chatbot-surface-2) 100%);
    border-top: 1px solid var(--chatbot-border);
    padding: 10px 12px 10px;
    flex-shrink: 0;
}

.cmd-lib-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.cmd-lib-header-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.cmd-lib-heading {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cmd-lib-header-icon {
    color: var(--chatbot-primary, #dc3545);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    text-align: center;
}

.cmd-lib-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--chatbot-text);
    line-height: 1.2;
}

.cmd-lib-subtitle {
    font-size: 10px;
    line-height: 1.3;
    color: var(--chatbot-text-muted);
}

.cmd-lib-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--chatbot-border);
    border-radius: 8px;
    background: var(--chatbot-surface-2);
    color: var(--chatbot-text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.cmd-lib-toggle:hover {
    background: var(--chatbot-surface);
    color: var(--chatbot-primary);
    border-color: color-mix(in srgb, var(--chatbot-primary) 25%, transparent);
}

.cmd-lib-toggle-icon {
    font-size: 12px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.cmd-lib-body {
    overflow: visible;
    display: block;
}

.chatbot-command-library.is-collapsed .cmd-lib-body {
    display: none !important;
}

.chatbot-command-library.is-collapsed .cmd-lib-toggle-icon {
    transform: rotate(-90deg);
}

.chatbot-command-library.is-collapsed .cmd-lib-header {
    margin-bottom: 0;
}

.cmd-lib-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 8px;
    padding: 3px;
    background: var(--chatbot-surface-3);
    border-radius: 10px;
    flex-shrink: 0;
    min-height: 34px;
}

.cmd-lib-tabs.has-contextual {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cmd-lib-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    font-size: 10px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--chatbot-text-muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    min-width: 0;
    min-height: 28px;
    line-height: 1.1;
}

.cmd-lib-tab[hidden] {
    display: none !important;
}

.cmd-lib-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cmd-lib-tab .fas {
    font-size: 11px;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

.cmd-lib-tab:hover {
    color: var(--chatbot-primary);
    background: color-mix(in srgb, var(--chatbot-surface) 65%, transparent);
}

.cmd-lib-tab.is-active {
    background: var(--chatbot-surface);
    color: var(--chatbot-primary);
    box-shadow: 0 1px 4px var(--kku-cm-shadow, rgba(0, 0, 0, 0.08));
}

.cmd-lib-tab.is-contextual {
    color: var(--chatbot-primary);
}

.cmd-lib-tab.is-contextual.is-active {
    background: var(--chatbot-primary);
    color: #fff;
    box-shadow: 0 2px 8px var(--chatbot-shadow);
}

.cmd-lib-tab .feather-small,
.cmd-lib-tab svg.feather-small {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.cmd-lib-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: hidden;
}

.cmd-lib-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 8px 9px;
    text-align: left;
    border: 1px solid var(--chatbot-border);
    border-radius: 10px;
    background: linear-gradient(180deg, var(--chatbot-surface) 0%, var(--chatbot-surface-2) 100%);
    color: var(--chatbot-text);
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.cmd-lib-item:hover {
    border-color: color-mix(in srgb, var(--chatbot-primary) 35%, transparent);
    box-shadow: 0 3px 10px var(--chatbot-shadow);
    transform: translateY(-1px);
}

.cmd-lib-item:active {
    transform: translateY(0);
}

.cmd-lib-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    flex-shrink: 0;
    background: var(--chatbot-surface-3);
    color: var(--chatbot-text-muted);
}

.cmd-lib-item--stats .cmd-lib-item-icon,
.cmd-lib-item--news .cmd-lib-item-icon { background: color-mix(in srgb, var(--kku-chart-1, #0d6efd) 16%, transparent); color: var(--kku-chart-1, #0d6efd); }
.cmd-lib-item--search .cmd-lib-item-icon,
.cmd-lib-item--announce .cmd-lib-item-icon { background: color-mix(in srgb, var(--kku-chart-2, #e67e22) 16%, transparent); color: var(--kku-chart-2, #e67e22); }
.cmd-lib-item--person .cmd-lib-item-icon,
.cmd-lib-item--events .cmd-lib-item-icon { background: color-mix(in srgb, var(--kku-chart-3, #198754) 16%, transparent); color: var(--kku-chart-3, #198754); }
.cmd-lib-item--info .cmd-lib-item-icon { background: color-mix(in srgb, var(--kku-chart-4, #6f42c1) 16%, transparent); color: var(--kku-chart-4, #6f42c1); }
.cmd-lib-item--contextual .cmd-lib-item-icon { background: var(--chatbot-primary-soft); color: var(--chatbot-primary); }

.cmd-lib-item-icon .fas {
    font-size: 0.85rem;
    line-height: 1;
}

.cmd-lib-item-icon .feather-small {
    width: 13px;
    height: 13px;
}

.cmd-lib-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cmd-lib-item-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--chatbot-text);
}

.cmd-lib-item-hint {
    font-size: 10px;
    line-height: 1.25;
    color: var(--chatbot-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cmd-lib-empty {
    grid-column: 1 / -1;
    padding: 12px 10px;
    text-align: center;
    font-size: 11px;
    color: var(--chatbot-text-muted);
    background: var(--chatbot-surface);
    border: 1px dashed var(--chatbot-border);
    border-radius: 10px;
}

/* Eski hızlı işlem sınıfları (geriye dönük) */
.chatbot-quick-actions {
    display: none;
}

.quick-actions-buttons {
    display: none;
}

.quick-action-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e2e6ea;
    border-radius: 999px;
    background: var(--chatbot-surface);
    color: var(--chatbot-text);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

.quick-action-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--chatbot-shadow);
    border-color: color-mix(in srgb, var(--chatbot-primary) 35%, transparent);
    background: var(--chatbot-surface);
    color: var(--chatbot-primary);
}

.quick-action-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f8f9fa;
}

.quick-action-chip--stats .quick-action-chip-icon { background: #e8f4fd; color: #0d6efd; }
.quick-action-chip--search .quick-action-chip-icon { background: #fff3e6; color: #e67e22; }
.quick-action-chip--person .quick-action-chip-icon { background: #eaf7ee; color: #198754; }
.quick-action-chip--info .quick-action-chip-icon { background: #f3ebfa; color: #6f42c1; }

.quick-action-chip .feather-small {
    width: 13px;
    height: 13px;
}

.quick-action-chip-label {
    line-height: 1.2;
}

/* İstatistik kartları */
.kku-chat-stat-block .kku-chat-stat-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--chatbot-surface) 0%, var(--chatbot-surface-2) 100%);
    border: 1px solid var(--chatbot-border);
    margin-bottom: 8px;
}

.kku-chat-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chatbot-primary-soft);
    color: var(--chatbot-primary);
    font-size: 18px;
}

.kku-chat-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--chatbot-text);
}

.kku-chat-stat-label {
    font-size: 0.85rem;
    color: var(--chatbot-text-muted);
    margin: 4px 0 0;
}

.kku-chat-stat-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.kku-chat-stat-bar-row {
    display: grid;
    grid-template-columns: 42px 1fr 48px;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.kku-chat-stat-bar-year {
    font-weight: 600;
    color: var(--chatbot-text-muted);
}

.kku-chat-stat-bar-track {
    height: 8px;
    background: var(--chatbot-surface-3);
    border-radius: 4px;
    overflow: hidden;
}

.kku-chat-stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--chatbot-primary), var(--chatbot-primary-dark));
    border-radius: 4px;
    min-width: 4px;
}

.kku-chat-stat-bar-count {
    text-align: right;
    font-weight: 600;
    color: var(--chatbot-text);
}

/* Eski buton sınıfı (geriye dönük) */
.quick-action-btn {
    display: none;
}

.chatbot-footer {
    background: var(--chatbot-surface-2);
    padding: 20px;
    border-top: 1px solid var(--chatbot-border);
}

    .chatbot-footer .input-group {
        background: var(--chatbot-surface);
        border-radius: 6px;
        padding: 5px;
        border: 1px solid var(--chatbot-border);
    }

    .chatbot-footer .form-control {
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 8px 12px;
        font-size: 14px;
        color: var(--chatbot-text);
    }

        .chatbot-footer .form-control:focus {
            outline: none;
        }

    .chatbot-footer .btn-primary {
        background: var(--chatbot-primary);
        border: none;
        width: 45px;
        height: 45px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .chatbot-footer .btn-primary:hover {
            background: var(--chatbot-primary-dark);
            transform: scale(1.05);
        }

        .chatbot-footer .btn-primary i {
            width: 20px;
            height: 20px;
            stroke-width: 2;
            color: white;
        }

.chatbot-avatar {
    position: relative;
    margin-right: 10px;
    background: var(--chatbot-surface);
    border-radius: 10px;
    margin-right: 16px;
    padding: 6px;
}

    .chatbot-avatar img.white-logo {
        width: 160px;
        /* height: 60px; */
        /* object-fit: contain; */
        /* filter: brightness(0) invert(1); */
    }

    .chatbot-avatar svg {
        width: 40px;
        height: 40px;
        stroke-width: 1.75;
        color: white;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
    }

.chatbot-info h5 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chatbot-info small {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chatbot-actions button {
    /* header actions: .minimize-btn / .chatbot-expand-btn stilleri geçerli */
    position: static;
    right: auto;
    top: auto;
    margin-left: 0;
}

    .chatbot-actions button:hover {
        background: rgba(255,255,255,0.26);
    }

.feather-small {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.chatbot-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    opacity: 0.02;
    pointer-events: none;
    overflow: hidden;
}

    .chatbot-background svg {
        width: 120px;
        height: 120px;
        stroke-width: 1;
        margin: 10px;
        transform: rotate(var(--rotation));
    }

        /* Her robot için farklı rotasyon açıları */
        .chatbot-background svg:nth-child(1) {
            --rotation: 0deg;
        }

        .chatbot-background svg:nth-child(2) {
            --rotation: 45deg;
        }

        .chatbot-background svg:nth-child(3) {
            --rotation: -45deg;
        }

        .chatbot-background svg:nth-child(4) {
            --rotation: 90deg;
        }

        .chatbot-background svg:nth-child(5) {
            --rotation: -90deg;
        }

        .chatbot-background svg:nth-child(6) {
            --rotation: 180deg;
        }

/* Chatbot Toggle Button Animations */
@keyframes chatbot-mascot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px var(--chatbot-shadow);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 28px var(--chatbot-shadow), 0 0 0 10px color-mix(in srgb, var(--chatbot-primary) 18%, transparent);
    }
}

@keyframes wink {
    0%, 100% {
        transform: scaleY(1);
    }

    45% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }

    55% {
        transform: scaleY(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px var(--chatbot-shadow);
    }

    50% {
        box-shadow: 0 4px 25px var(--chatbot-shadow);
    }

    100% {
        box-shadow: 0 4px 15px var(--chatbot-shadow);
    }
}

/* Speech Bubble Animation */
.chatbot-hint {
    position: absolute;
    top: -60px;
    right: 90px;
    background: white;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 14px;
    color: var(--chatbot-grey);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    width: max-content;
    max-width: 250px;
    animation: fadeInOut 5s ease-in-out infinite;
}

    .chatbot-hint::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        border-left: 10px solid white;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Active Chat Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .typing-indicator.active {
        opacity: 1;
    }

    .typing-indicator span {
        width: 6px;
        height: 6px;
        background: var(--chatbot-primary);
        border-radius: 50%;
        animation: typing 1s infinite;
    }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes typing {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.reconnecting-status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.reconnecting-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.refresh-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

    .refresh-button button {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        background-color: #007bff;
        color: white;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .refresh-button button:hover {
            background-color: #0056b3;
        }

        .refresh-button button i {
            font-size: 14px;
        }

@media (max-width: 600px) {
    .chatbot-container {
        width: min(400px, 95vw);
        max-width: 95vw;
        height: min(700px, 85dvh);
        max-height: 85dvh;
        border-radius: 12px;
        border-width: 3px;
    }

    .chatbot-container.chatbot-maximized {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        left: 0 !important;
        top: 0 !important;
        border-radius: 0;
        border-width: 0 0 3px 0;
    }

    .chatbot-toggle {
        width: 56px !important;
        height: 56px !important;
        position: fixed !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
        touch-action: none !important;
        -webkit-user-drag: none !important;
        user-select: none !important;
        pointer-events: auto !important;
        animation: none;
        z-index: 10060 !important;
    }

    .chatbot-hint {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .main-content > .container-fluid {
        padding-bottom: 0.5rem;
    }
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    z-index: 10060;
    pointer-events: auto;
}

/* Taşıma sırasında görsel geri bildirim */
.drag-feedback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    display: none;
}

    .drag-feedback.active {
        display: block;
    }

.edge-zone {
    position: absolute;
    background: rgba(40, 167, 69, 0.2); /* Yeşil - taşınabilecek alan */
    border: 2px dashed rgba(40, 167, 69, 0.8);
}

    .edge-zone.left {
        left: 0;
        top: 0;
        width: 20%;
        height: 100%;
    }

    .edge-zone.right {
        right: 0;
        top: 0;
        width: 20%;
        height: 100%;
    }

.center-zone {
    position: absolute;
    left: 20%;
    top: 0;
    width: 60%;
    height: 100%;
    background: color-mix(in srgb, var(--chatbot-primary) 20%, transparent);
    border: 2px dashed color-mix(in srgb, var(--chatbot-primary) 80%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: color-mix(in srgb, var(--chatbot-primary) 80%, transparent);
    font-weight: bold;
    font-size: 18px;
}

.drag-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 10000;
    display: none;
}

    .drag-indicator.active {
        display: block;
    }

/* 🌟 MEGA SÜPER ANİMASYONLAR 🌟 */

/* 13. Hologram Effect */
.typing-indicator.hologram {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    border: 2px solid #fff;
    box-shadow: 0 0 50px #ff00ff, 0 0 100px #00ffff, inset 0 0 30px rgba(255,0,255,0.3);
    position: relative;
    overflow: hidden;
    animation: hologramGlow 2s ease-in-out infinite;
}

    .typing-indicator.hologram::before {
        content: 'HOLOGRAM';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #fff;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
        z-index: 3;
        animation: hologramText 1.5s ease-in-out infinite;
    }

    .typing-indicator.hologram span {
        width: 10px;
        height: 10px;
        background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
        border-radius: 50%;
        animation: hologramParticle 2.5s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px currentColor;
    }

        .typing-indicator.hologram span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.hologram span:nth-child(2) {
            animation-delay: 0.8s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.hologram span:nth-child(3) {
            animation-delay: 1.6s;
            filter: hue-rotate(240deg);
        }

@keyframes hologramGlow {
    0%, 100% {
        box-shadow: 0 0 50px #ff00ff, 0 0 100px #00ffff, inset 0 0 30px rgba(255,0,255,0.3);
    }

    50% {
        box-shadow: 0 0 80px #ff00ff, 0 0 150px #00ffff, inset 0 0 50px rgba(255,0,255,0.5);
    }
}

@keyframes hologramText {
    0%, 100% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 20px #ff00ff, 0 0 40px #00ffff;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes hologramParticle {
    0% {
        transform: scale(0) rotate(0deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: scale(1.5) rotate(90deg) translateY(-10px);
        opacity: 1;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: scale(0.8) rotate(180deg) translateY(0);
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: scale(1.3) rotate(270deg) translateY(10px);
        opacity: 1;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 14. Cosmic Storm Effect */
.typing-indicator.cosmic {
    background: linear-gradient(45deg, #000428, #004e92, #000428);
    border: 2px solid #ff6b6b;
    box-shadow: 0 0 60px #ff6b6b, 0 0 120px #4ecdc4, inset 0 0 40px rgba(255,107,107,0.2);
    position: relative;
    overflow: hidden;
}

    .typing-indicator.cosmic::before {
        content: 'COSMIC';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff6b6b;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px #ff6b6b, 0 0 30px #4ecdc4;
        z-index: 3;
        animation: cosmicText 2s ease-in-out infinite;
    }

    .typing-indicator.cosmic::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 30%, rgba(255,107,107,0.4) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(78,205,196,0.4) 0%, transparent 50%);
        animation: cosmicField 4s ease-in-out infinite;
    }

    .typing-indicator.cosmic span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #ff6b6b, #4ecdc4, #000428);
        border-radius: 50%;
        animation: cosmicStorm 3s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 15px currentColor;
    }

        .typing-indicator.cosmic span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.cosmic span:nth-child(2) {
            animation-delay: 1s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.cosmic span:nth-child(3) {
            animation-delay: 2s;
            filter: hue-rotate(240deg);
        }

@keyframes cosmicText {
    0%, 100% {
        text-shadow: 0 0 15px #ff6b6b, 0 0 30px #4ecdc4;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 25px #ff6b6b, 0 0 50px #4ecdc4;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes cosmicField {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 1;
    }
}

@keyframes cosmicStorm {
    0% {
        transform: scale(0) rotate(0deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    20% {
        transform: scale(1.8) rotate(72deg) translateX(-8px);
        opacity: 1;
        filter: hue-rotate(72deg);
    }

    40% {
        transform: scale(0.4) rotate(144deg) translateX(8px);
        opacity: 0.7;
        filter: hue-rotate(144deg);
    }

    60% {
        transform: scale(2.2) rotate(216deg) translateX(-6px);
        opacity: 1;
        filter: hue-rotate(216deg);
    }

    80% {
        transform: scale(0.6) rotate(288deg) translateX(6px);
        opacity: 0.8;
        filter: hue-rotate(288deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 15. Neon Pulse Effect */
.typing-indicator.neon {
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    border: 2px solid #00ff88;
    box-shadow: 0 0 40px #00ff88, 0 0 80px #00ff88, inset 0 0 30px rgba(0,255,136,0.1);
    position: relative;
    overflow: hidden;
    animation: neonPulse 1.5s ease-in-out infinite;
}

    .typing-indicator.neon::before {
        content: 'NEON';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #00ff88;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
        z-index: 3;
        animation: neonText 1s ease-in-out infinite;
    }

    .typing-indicator.neon span {
        width: 12px;
        height: 12px;
        background: radial-gradient(circle, #00ff88, #00cc6a);
        border-radius: 50%;
        animation: neonGlow 2s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px #00ff88;
    }

        .typing-indicator.neon span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.neon span:nth-child(2) {
            animation-delay: 0.7s;
        }

        .typing-indicator.neon span:nth-child(3) {
            animation-delay: 1.4s;
        }

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 40px #00ff88, 0 0 80px #00ff88, inset 0 0 30px rgba(0,255,136,0.1);
        border-color: #00ff88;
    }

    50% {
        box-shadow: 0 0 60px #00ff88, 0 0 120px #00ff88, inset 0 0 50px rgba(0,255,136,0.3);
        border-color: #00ffcc;
    }
}

@keyframes neonText {
    0%, 100% {
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes neonGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px #00ff88;
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        box-shadow: 0 0 40px #00ff88, 0 0 60px #00ff88;
        opacity: 1;
    }
}

/* 16. Crystal Effect */
.typing-indicator.crystal {
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border: 2px solid #fff;
    box-shadow: 0 0 50px #667eea, 0 0 100px #764ba2, inset 0 0 30px rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

    .typing-indicator.crystal::before {
        content: 'CRYSTAL';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #fff;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px #667eea, 0 0 30px #764ba2;
        z-index: 3;
        animation: crystalText 2s ease-in-out infinite;
    }

    .typing-indicator.crystal span {
        width: 10px;
        height: 10px;
        background: radial-gradient(circle, #fff, #667eea, #764ba2);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        animation: crystalRotate 3s linear infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 20px currentColor;
    }

        .typing-indicator.crystal span:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-indicator.crystal span:nth-child(2) {
            animation-delay: 1s;
        }

        .typing-indicator.crystal span:nth-child(3) {
            animation-delay: 2s;
        }

@keyframes crystalText {
    0%, 100% {
        text-shadow: 0 0 15px #667eea, 0 0 30px #764ba2;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 25px #667eea, 0 0 50px #764ba2;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes crystalRotate {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: rotate(90deg) scale(1.2);
        opacity: 1;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: rotate(180deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: rotate(270deg) scale(1.2);
        opacity: 1;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.6;
        filter: hue-rotate(360deg);
    }
}

/* 🌌 QUANTUM PHYSICS ANİMASYONLARI 🌌 */

/* 17. Quantum Entanglement Effect */
.typing-indicator.quantum {
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a, #0a0a0a);
    border: 2px solid #00ffff;
    box-shadow: 0 0 60px #00ffff, 0 0 120px #ff00ff, inset 0 0 40px rgba(0,255,255,0.2);
    position: relative;
    overflow: hidden;
    animation: quantumField 3s ease-in-out infinite;
}

    .typing-indicator.quantum::before {
        content: 'QUANTUM';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #00ffff;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px #00ffff, 0 0 30px #ff00ff;
        z-index: 3;
        animation: quantumText 2s ease-in-out infinite;
    }

    .typing-indicator.quantum::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 25% 25%, rgba(0,255,255,0.3) 0%, transparent 40%), radial-gradient(circle at 75% 75%, rgba(255,0,255,0.3) 0%, transparent 40%);
        animation: quantumWave 4s ease-in-out infinite;
    }

    .typing-indicator.quantum span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #00ffff, #ff00ff, #000);
        border-radius: 50%;
        animation: quantumEntangle 2.5s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 25px currentColor;
    }

        .typing-indicator.quantum span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.quantum span:nth-child(2) {
            animation-delay: 0.8s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.quantum span:nth-child(3) {
            animation-delay: 1.6s;
            filter: hue-rotate(240deg);
        }

@keyframes quantumField {
    0%, 100% {
        box-shadow: 0 0 60px #00ffff, 0 0 120px #ff00ff, inset 0 0 40px rgba(0,255,255,0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 100px #00ffff, 0 0 200px #ff00ff, inset 0 0 60px rgba(0,255,255,0.4);
        transform: scale(1.1);
    }
}

@keyframes quantumText {
    0%, 100% {
        text-shadow: 0 0 15px #00ffff, 0 0 30px #ff00ff;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 25px #00ffff, 0 0 50px #ff00ff;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes quantumWave {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }
}

@keyframes quantumEntangle {
    0% {
        transform: scale(0) rotate(0deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    20% {
        transform: scale(2) rotate(72deg) translateX(-10px);
        opacity: 1;
        filter: hue-rotate(72deg);
    }

    40% {
        transform: scale(0.3) rotate(144deg) translateX(10px);
        opacity: 0.6;
        filter: hue-rotate(144deg);
    }

    60% {
        transform: scale(2.5) rotate(216deg) translateX(-8px);
        opacity: 1;
        filter: hue-rotate(216deg);
    }

    80% {
        transform: scale(0.5) rotate(288deg) translateX(8px);
        opacity: 0.7;
        filter: hue-rotate(288deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateX(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 18. Space Battle Effect */
.typing-indicator.spacebattle {
    background: linear-gradient(45deg, #000033, #000066, #000033);
    border: 2px solid #ff4444;
    box-shadow: 0 0 70px #ff4444, 0 0 140px #4444ff, inset 0 0 50px rgba(255,68,68,0.3);
    position: relative;
    overflow: hidden;
    animation: spaceExplosion 2.5s ease-in-out infinite;
}

    .typing-indicator.spacebattle::before {
        content: 'BATTLE';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff4444;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 20px #ff4444, 0 0 40px #4444ff;
        z-index: 3;
        animation: battleText 1.5s ease-in-out infinite;
    }

    .typing-indicator.spacebattle::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255,68,68,0.5) 0%, transparent 45%), radial-gradient(circle at 80% 80%, rgba(68,68,255,0.5) 0%, transparent 45%);
        animation: battleField 3s ease-in-out infinite;
    }

    .typing-indicator.spacebattle span {
        width: 10px;
        height: 10px;
        background: radial-gradient(circle, #ff4444, #4444ff, #000);
        border-radius: 50%;
        animation: laserBlast 1.8s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 30px currentColor;
    }

        .typing-indicator.spacebattle span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.spacebattle span:nth-child(2) {
            animation-delay: 0.6s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.spacebattle span:nth-child(3) {
            animation-delay: 1.2s;
            filter: hue-rotate(240deg);
        }

@keyframes spaceExplosion {
    0%, 100% {
        box-shadow: 0 0 70px #ff4444, 0 0 140px #4444ff, inset 0 0 50px rgba(255,68,68,0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 120px #ff4444, 0 0 240px #4444ff, inset 0 0 80px rgba(255,68,68,0.5);
        transform: scale(1.15);
    }
}

@keyframes battleText {
    0%, 100% {
        text-shadow: 0 0 20px #ff4444, 0 0 40px #4444ff;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 30px #ff4444, 0 0 60px #4444ff;
        transform: translateX(-50%) scale(1.3);
    }
}

@keyframes battleField {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.8) rotate(180deg);
        opacity: 1;
    }
}

@keyframes laserBlast {
    0% {
        transform: scale(0) rotate(0deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: scale(2.5) rotate(90deg) translateY(-15px);
        opacity: 1;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: scale(0.2) rotate(180deg) translateY(0);
        opacity: 0.5;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: scale(3) rotate(270deg) translateY(15px);
        opacity: 1;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateY(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 19. Magic Portal Effect */
.typing-indicator.magicportal {
    background: linear-gradient(45deg, #4b0082, #8a2be2, #4b0082);
    border: 2px solid #ffd700;
    box-shadow: 0 0 80px #ffd700, 0 0 160px #8a2be2, inset 0 0 60px rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
    animation: portalRift 4s ease-in-out infinite;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

    .typing-indicator.magicportal::before {
        content: 'PORTAL';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ffd700;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 25px #ffd700, 0 0 50px #8a2be2;
        z-index: 3;
        animation: portalText 2.5s ease-in-out infinite;
    }

    .typing-indicator.magicportal::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: conic-gradient(from 0deg, transparent, rgba(255,215,0,0.4), transparent, rgba(138,43,226,0.4), transparent);
        animation: portalSpin 6s linear infinite;
    }

    .typing-indicator.magicportal span {
        width: 12px;
        height: 12px;
        background: radial-gradient(circle, #ffd700, #8a2be2, #4b0082);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        animation: portalCrystal 3.5s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 35px currentColor;
    }

        .typing-indicator.magicportal span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.magicportal span:nth-child(2) {
            animation-delay: 1.2s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.magicportal span:nth-child(3) {
            animation-delay: 2.4s;
            filter: hue-rotate(240deg);
        }

@keyframes portalRift {
    0%, 100% {
        box-shadow: 0 0 80px #ffd700, 0 0 160px #8a2be2, inset 0 0 60px rgba(255,215,0,0.3);
        transform: scale(1) rotate(0deg);
    }

    50% {
        box-shadow: 0 0 140px #ffd700, 0 0 280px #8a2be2, inset 0 0 100px rgba(255,215,0,0.5);
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes portalText {
    0%, 100% {
        text-shadow: 0 0 25px #ffd700, 0 0 50px #8a2be2;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 40px #ffd700, 0 0 80px #8a2be2;
        transform: translateX(-50%) scale(1.4);
    }
}

@keyframes portalSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes portalCrystal {
    0% {
        transform: scale(0) rotate(0deg) translateZ(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    20% {
        transform: scale(3) rotate(72deg) translateZ(20px);
        opacity: 1;
        filter: hue-rotate(72deg);
    }

    40% {
        transform: scale(0.1) rotate(144deg) translateZ(-20px);
        opacity: 0.4;
        filter: hue-rotate(144deg);
    }

    60% {
        transform: scale(3.5) rotate(216deg) translateZ(25px);
        opacity: 1;
        filter: hue-rotate(216deg);
    }

    80% {
        transform: scale(0.3) rotate(288deg) translateZ(-15px);
        opacity: 0.6;
        filter: hue-rotate(288deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateZ(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 🌟 TAMAMEN YENİ VE FARKLI ANİMASYONLAR 🌟 */

/* 20. Time Warp Effect - Zaman Bükülmesi */
.typing-indicator.timewarp {
    background: linear-gradient(45deg, #000000, #1a0033, #000000);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 100px #ff00ff, 0 0 200px #00ffff, inset 0 0 80px rgba(255,0,255,0.4);
    position: relative;
    overflow: hidden;
    animation: timeWarpField 5s ease-in-out infinite;
    clip-path: polygon(0% 20%, 20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%);
}

    .typing-indicator.timewarp::before {
        content: 'TIME WARP';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff00ff;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff;
        z-index: 3;
        animation: timeWarpText 3s ease-in-out infinite;
    }

    .typing-indicator.timewarp::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: conic-gradient(from 0deg, transparent, rgba(255,0,255,0.6), transparent, rgba(0,255,255,0.6), transparent);
        animation: timeWarpSpin 8s linear infinite;
    }

    .typing-indicator.timewarp span {
        width: 15px;
        height: 15px;
        background: radial-gradient(circle, #ff00ff, #00ffff, #000);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        animation: timeWarpCrystal 4s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 40px currentColor;
    }

        .typing-indicator.timewarp span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.timewarp span:nth-child(2) {
            animation-delay: 1.3s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.timewarp span:nth-child(3) {
            animation-delay: 2.6s;
            filter: hue-rotate(240deg);
        }

@keyframes timeWarpField {
    0%, 100% {
        box-shadow: 0 0 100px #ff00ff, 0 0 200px #00ffff, inset 0 0 80px rgba(255,0,255,0.4);
        transform: scale(1) rotate(0deg);
    }

    25% {
        box-shadow: 0 0 150px #ff00ff, 0 0 300px #00ffff, inset 0 0 120px rgba(255,0,255,0.6);
        transform: scale(1.3) rotate(90deg);
    }

    50% {
        box-shadow: 0 0 200px #ff00ff, 0 0 400px #00ffff, inset 0 0 160px rgba(255,0,255,0.8);
        transform: scale(0.7) rotate(180deg);
    }

    75% {
        box-shadow: 0 0 150px #ff00ff, 0 0 300px #00ffff, inset 0 0 120px rgba(255,0,255,0.6);
        transform: scale(1.3) rotate(270deg);
    }
}

@keyframes timeWarpText {
    0%, 100% {
        text-shadow: 0 0 30px #ff00ff, 0 0 60px #00ffff;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 50px #ff00ff, 0 0 100px #00ffff;
        transform: translateX(-50%) scale(1.5);
    }
}

@keyframes timeWarpSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.5);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes timeWarpCrystal {
    0% {
        transform: scale(0) rotate(0deg) translateZ(0) translateX(0);
        opacity: 0;
        filter: hue-rotate(0deg);
    }

    20% {
        transform: scale(4) rotate(72deg) translateZ(30px) translateX(-20px);
        opacity: 1;
        filter: hue-rotate(72deg);
    }

    40% {
        transform: scale(0.1) rotate(144deg) translateZ(-30px) translateX(20px);
        opacity: 0.3;
        filter: hue-rotate(144deg);
    }

    60% {
        transform: scale(5) rotate(216deg) translateZ(40px) translateX(-15px);
        opacity: 1;
        filter: hue-rotate(216deg);
    }

    80% {
        transform: scale(0.2) rotate(288deg) translateZ(-20px) translateX(15px);
        opacity: 0.6;
        filter: hue-rotate(288deg);
    }

    100% {
        transform: scale(0) rotate(360deg) translateZ(0) translateX(0);
        opacity: 0;
        filter: hue-rotate(360deg);
    }
}

/* 21. Black Hole Effect - Kara Delik */
.typing-indicator.blackhole {
    background: radial-gradient(circle, #000000 0%, #1a0033 30%, #000000 100%);
    border: 2px solid #ff6600;
    box-shadow: 0 0 120px #ff6600, 0 0 240px #ff3300, inset 0 0 100px rgba(255,102,0,0.5);
    position: relative;
    overflow: hidden;
    animation: blackHoleField 6s ease-in-out infinite;
    border-radius: 50%;
}

    .typing-indicator.blackhole::before {
        content: 'BLACK HOLE';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #ff6600;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 35px #ff6600, 0 0 70px #ff3300;
        z-index: 3;
        animation: blackHoleText 4s ease-in-out infinite;
    }

    .typing-indicator.blackhole::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 60px;
        height: 60px;
        background: radial-gradient(circle, transparent 0%, rgba(255,102,0,0.8) 50%, transparent 100%);
        transform: translate(-50%, -50%);
        animation: blackHoleCore 3s ease-in-out infinite;
    }

    .typing-indicator.blackhole span {
        width: 8px;
        height: 8px;
        background: radial-gradient(circle, #ff6600, #ff3300, #000);
        border-radius: 50%;
        animation: blackHoleOrbit 2s linear infinite;
        position: absolute;
        z-index: 2;
        box-shadow: 0 0 25px currentColor;
    }

        .typing-indicator.blackhole span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.blackhole span:nth-child(2) {
            animation-delay: 0.7s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.blackhole span:nth-child(3) {
            animation-delay: 1.4s;
            filter: hue-rotate(240deg);
        }

@keyframes blackHoleField {
    0%, 100% {
        box-shadow: 0 0 120px #ff6600, 0 0 240px #ff3300, inset 0 0 100px rgba(255,102,0,0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 180px #ff6600, 0 0 360px #ff3300, inset 0 0 150px rgba(255,102,0,0.8);
        transform: scale(1.2);
    }
}

@keyframes blackHoleText {
    0%, 100% {
        text-shadow: 0 0 35px #ff6600, 0 0 70px #ff3300;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 60px #ff6600, 0 0 120px #ff3300;
        transform: translateX(-50%) scale(1.6);
    }
}

@keyframes blackHoleCore {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

@keyframes blackHoleOrbit {
    0% {
        transform: rotate(0deg) translateX(25px) scale(1);
        opacity: 1;
        filter: hue-rotate(0deg);
    }

    25% {
        transform: rotate(90deg) translateX(35px) scale(1.5);
        opacity: 0.8;
        filter: hue-rotate(90deg);
    }

    50% {
        transform: rotate(180deg) translateX(25px) scale(1);
        opacity: 0.6;
        filter: hue-rotate(180deg);
    }

    75% {
        transform: rotate(270deg) translateX(35px) scale(1.5);
        opacity: 0.8;
        filter: hue-rotate(270deg);
    }

    100% {
        transform: rotate(360deg) translateX(25px) scale(1);
        opacity: 1;
        filter: hue-rotate(360deg);
    }
}

/* 22. Neural Network Effect - Sinir Ağı */
.typing-indicator.neural {
    background: linear-gradient(45deg, #001122, #003344, #001122);
    border: 2px solid #00ff88;
    box-shadow: 0 0 80px #00ff88, 0 0 160px #00cc66, inset 0 0 60px rgba(0,255,136,0.3);
    position: relative;
    overflow: hidden;
    animation: neuralField 4s ease-in-out infinite;
}

    .typing-indicator.neural::before {
        content: 'NEURAL';
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 8px;
        color: #00ff88;
        opacity: 1;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 25px #00ff88, 0 0 50px #00cc66;
        z-index: 3;
        animation: neuralText 2.5s ease-in-out infinite;
    }

    .typing-indicator.neural::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(0,255,136,0.3) 25%, transparent 50%, rgba(0,255,136,0.3) 75%, transparent 100%);
        animation: neuralScan 3s ease-in-out infinite;
    }

    .typing-indicator.neural span {
        width: 12px;
        height: 12px;
        background: radial-gradient(circle, #00ff88, #00cc66, #001122);
        border-radius: 50%;
        animation: neuralPulse 2s ease-in-out infinite;
        position: relative;
        z-index: 2;
        box-shadow: 0 0 30px currentColor;
    }

        .typing-indicator.neural span:nth-child(1) {
            animation-delay: 0s;
            filter: hue-rotate(0deg);
        }

        .typing-indicator.neural span:nth-child(2) {
            animation-delay: 0.7s;
            filter: hue-rotate(120deg);
        }

        .typing-indicator.neural span:nth-child(3) {
            animation-delay: 1.4s;
            filter: hue-rotate(240deg);
        }

@keyframes neuralField {
    0%, 100% {
        box-shadow: 0 0 80px #00ff88, 0 0 160px #00cc66, inset 0 0 60px rgba(0,255,136,0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 120px #00ff88, 0 0 240px #00cc66, inset 0 0 90px rgba(0,255,136,0.5);
        transform: scale(1.1);
    }
}

@keyframes neuralText {
    0%, 100% {
        text-shadow: 0 0 25px #00ff88, 0 0 50px #00cc66;
        transform: translateX(-50%) scale(1);
    }

    50% {
        text-shadow: 0 0 40px #00ff88, 0 0 80px #00cc66;
        transform: translateX(-50%) scale(1.3);
    }
}

@keyframes neuralScan {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

@keyframes neuralPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px currentColor;
        opacity: 0.8;
    }

    25% {
        transform: scale(1.8);
        box-shadow: 0 0 50px currentColor, 0 0 80px currentColor;
        opacity: 1;
    }

    50% {
        transform: scale(0.3);
        box-shadow: 0 0 10px currentColor;
        opacity: 0.4;
    }

    75% {
        transform: scale(2.2);
        box-shadow: 0 0 60px currentColor, 0 0 100px currentColor;
        opacity: 1;
    }
}

/* —— AI Asistan: yapılandırılmış sonuç kartları —— */
.message.message--formatted .message-content--wide {
    max-width: 96%;
    min-width: 0;
    padding: 12px 14px;
    background: var(--chatbot-surface-2);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.kku-chat-sources {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.kku-chat-sources__title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--chatbot-text-muted);
    margin-bottom: 0.35rem;
}

.kku-chat-sources__list {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kku-chat-sources__list li {
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--chatbot-text);
}

.kku-chat-sources__list a {
    color: var(--chatbot-accent, #0b6e4f);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kku-chat-sources__list a:hover {
    opacity: 0.85;
}

.message.message--streaming .message-content {
    opacity: 0.95;
}

.message.message--streaming .message-content p::after {
    content: '▍
    animation: kku-chat-caret 1s steps(1) infinite;
    margin-left: 1px;
    color: var(--chatbot-accent, #0b6e4f);
}

@keyframes kku-chat-caret {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.kku-chat-formatted-results {
    font-size: 0.8125rem;
    line-height: 1.45;
}

.kku-chat-result-block {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.kku-chat-result-block--stacked {
    gap: 0.75rem;
}

.kku-chat-result-lead {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--chatbot-text);
}

.kku-chat-result-foot {
    margin: 0;
    font-size: 0.75rem;
    color: var(--chatbot-text-muted);
}

.kku-chat-section-label {
    margin: 0.15rem 0 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chatbot-primary);
}

.kku-chat-section-label i {
    margin-right: 0.35rem;
}

.kku-chat-pub-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 2px;
}

.kku-chat-pub-list::-webkit-scrollbar {
    width: 5px;
}

.kku-chat-pub-list::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--chatbot-primary) 35%, transparent);
    border-radius: 999px;
}

.kku-chat-pub-card {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    background: var(--chatbot-surface);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-left: 3px solid var(--chatbot-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.kku-chat-pub-card:hover {
    box-shadow: 0 4px 14px color-mix(in srgb, var(--chatbot-primary) 10%, transparent);
    transform: translateY(-1px);
}

.kku-chat-pub-index {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--chatbot-primary) 10%, transparent);
    color: var(--chatbot-primary);
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.kku-chat-pub-body {
    flex: 1;
    min-width: 0;
}

.kku-chat-pub-title {
    margin: 0 0 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
}

.kku-chat-pub-title a {
    color: var(--chatbot-text);
    text-decoration: none;
}

.kku-chat-pub-title a:hover {
    color: var(--chatbot-primary);
    text-decoration: underline;
}

.kku-chat-pub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.25rem;
}

.kku-chat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    background: #f1f3f5;
    color: var(--chatbot-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.kku-chat-chip i {
    font-size: 0.62rem;
    color: var(--chatbot-primary);
}

.kku-chat-chip--year {
    background: rgba(56, 189, 248, 0.1);
    color: #0369a1;
    border-color: rgba(56, 189, 248, 0.2);
}

.kku-chat-chip--year i {
    color: #0284c7;
}

.kku-chat-chip--atif {
    background: rgba(234, 88, 12, 0.1);
    color: #c2410c;
    border-color: rgba(234, 88, 12, 0.2);
}

.kku-chat-chip--atif i {
    color: #ea580c;
}

.kku-chat-pub-author {
    margin: 0;
    font-size: 0.72rem;
    color: var(--chatbot-text-muted);
}

.kku-chat-pub-author-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.kku-chat-pub-author-link:hover,
.kku-chat-pub-author-link:focus-visible {
    color: var(--chatbot-primary);
    text-decoration: underline;
}

.kku-chat-pub-author i {
    color: var(--chatbot-primary);
    margin-right: 0.2rem;
}

.kku-chat-profile-card {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #fff 0%, #f8f9fb 100%);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.kku-chat-profile-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--chatbot-primary) 10%, transparent);
    color: var(--chatbot-primary);
}

.kku-chat-profile-body {
    flex: 1;
    min-width: 0;
}

.kku-chat-profile-name {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--chatbot-primary);
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.kku-chat-profile-name:hover {
    text-decoration: underline;
}

.kku-chat-profile-meta {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    color: var(--chatbot-text-muted);
}

.kku-chat-profile-meta i {
    width: 0.9rem;
    color: var(--chatbot-primary);
    margin-right: 0.2rem;
}

.kku-chat-profile-bio {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: var(--chatbot-text-muted);
    line-height: 1.45;
}

.kku-chat-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, var(--chatbot-primary) 0%, var(--chatbot-primary-dark) 100%);
    text-decoration: none !important;
}

.kku-chat-person-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 260px;
    overflow-y: auto;
}

.kku-chat-person-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: var(--chatbot-surface);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.kku-chat-person-index {
    flex-shrink: 0;
    width: 1.25rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--chatbot-primary);
    text-align: center;
}

.kku-chat-person-body {
    flex: 1;
    min-width: 0;
}

.kku-chat-person-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--chatbot-text);
    text-decoration: none;
}

.kku-chat-person-name:hover {
    color: var(--chatbot-primary);
}

.kku-chat-person-birim {
    margin: 0.1rem 0 0;
    font-size: 0.7rem;
    color: var(--chatbot-text-muted);
}

.kku-chat-person-birim i {
    color: var(--chatbot-primary);
    margin-right: 0.2rem;
}

.kku-chat-person-link {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--chatbot-primary);
    background: color-mix(in srgb, var(--chatbot-primary) 8%, transparent);
    text-decoration: none;
}

.kku-chat-person-link:hover {
    background: color-mix(in srgb, var(--chatbot-primary) 16%, transparent);
}

