/**
 * Chat Support - Styles
 * Couleurs: Violet #925da2, Orange #f28a1b, Blanc
 */

/* Variables - définies sur le widget pour pouvoir être surchargées */
#chatsupport-widget {
    --cs-primary: #925da2;
    --cs-primary-dark: #7a4d8a;
    --cs-secondary: #f28a1b;
    --cs-secondary-dark: #d97a15;
    --cs-white: #ffffff;
    --cs-light: #f8f9fa;
    --cs-gray: #6c757d;
    --cs-gray-light: #e9ecef;
    --cs-dark: #333333;
    --cs-success: #28a745;
    --cs-shadow: 0 5px 40px rgba(0,0,0,0.16);
    --cs-radius: 16px;
    --cs-radius-sm: 10px;
}

/* Widget Container */
#chatsupport-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

#chatsupport-widget * {
    box-sizing: border-box;
}

/* Toggle Button */
#chatsupport-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    border: none;
    cursor: pointer;
    box-shadow: var(--cs-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--cs-white);
    position: relative;
    padding: 0;
}

#chatsupport-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 50px rgba(146, 93, 162, 0.4);
}

#chatsupport-toggle:active {
    transform: scale(0.95);
}

#chatsupport-toggle .chatsupport-icon,
#chatsupport-toggle .chatsupport-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatsupport-toggle .chatsupport-close {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) scale(0.5);
}

#chatsupport-widget.open #chatsupport-toggle .chatsupport-icon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.5);
}

#chatsupport-widget.open #chatsupport-toggle .chatsupport-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0) scale(1);
}

/* Panel */
#chatsupport-panel {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 120px);
    background: var(--cs-white);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

#chatsupport-widget.open #chatsupport-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatsupport-header {
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    color: var(--cs-white);
    padding: 24px;
    text-align: center;
}

.chatsupport-header h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
}

.chatsupport-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* Menu principal */
.chatsupport-menu {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.chatsupport-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--cs-white);
    border: 1px solid var(--cs-gray-light);
    border-radius: var(--cs-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    margin-bottom: 10px;
}

.chatsupport-menu-item:last-child {
    margin-bottom: 0;
}

.chatsupport-menu-item:hover {
    border-color: var(--cs-primary);
    background: linear-gradient(135deg, rgba(146, 93, 162, 0.05) 0%, rgba(146, 93, 162, 0.1) 100%);
    transform: translateX(4px);
}

.chatsupport-menu-item .menu-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--cs-primary) 0%, var(--cs-primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-white);
    flex-shrink: 0;
}

.chatsupport-menu-item .menu-text {
    flex: 1;
}

.chatsupport-menu-item .menu-text strong {
    display: block;
    color: var(--cs-dark);
    font-size: 15px;
    margin-bottom: 2px;
}

.chatsupport-menu-item .menu-text small {
    color: var(--cs-gray);
    font-size: 13px;
}

.chatsupport-menu-item .menu-arrow {
    color: var(--cs-gray);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.chatsupport-menu-item:hover .menu-arrow {
    transform: translateX(4px);
    color: var(--cs-primary);
}

/* Sections */
.chatsupport-section {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    max-height: 500px;
}

.chatsupport-section h4 {
    margin: 8px 0 8px 0;
    font-size: 18px;
    color: var(--cs-dark);
}

.section-desc {
    color: var(--cs-gray);
    margin: 0 0 20px 0;
    font-size: 14px;
}

/* Back button */
.chatsupport-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--cs-primary);
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.chatsupport-back:hover {
    color: var(--cs-primary-dark);
    transform: translateX(-3px);
}

/* Forms */
.chatsupport-form-group {
    margin-bottom: 16px;
}

.chatsupport-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--cs-dark);
    font-size: 13px;
}

.chatsupport-form-group input,
.chatsupport-form-group select,
.chatsupport-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cs-gray-light);
    border-radius: var(--cs-radius-sm);
    font-size: 14px;
    transition: all 0.2s ease;
    background: var(--cs-white);
    font-family: inherit;
}

.chatsupport-form-group input:focus,
.chatsupport-form-group select:focus,
.chatsupport-form-group textarea:focus {
    outline: none;
    border-color: var(--cs-primary);
    box-shadow: 0 0 0 3px rgba(146, 93, 162, 0.15);
}

.chatsupport-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.chatsupport-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--cs-secondary) 0%, var(--cs-secondary-dark) 100%);
    color: var(--cs-white);
    border: none;
    border-radius: var(--cs-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatsupport-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 138, 27, 0.4);
}

.chatsupport-btn:active {
    transform: translateY(0);
}

.chatsupport-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.chatsupport-btn-outline {
    width: 100%;
    padding: 12px 20px;
    background: var(--cs-white);
    color: var(--cs-primary);
    border: 2px solid var(--cs-primary);
    border-radius: var(--cs-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chatsupport-btn-outline:hover {
    background: var(--cs-primary);
    color: var(--cs-white);
}

.chatsupport-btn-link {
    background: none;
    border: none;
    color: var(--cs-primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.chatsupport-btn-link:hover {
    color: var(--cs-primary-dark);
}

/* Order tracking result */
#track-result {
    margin-top: 20px;
}

.track-order-info {
    background: var(--cs-light);
    border-radius: var(--cs-radius-sm);
    padding: 16px;
    margin-bottom: 16px;
}

.track-order-info .order-ref {
    font-size: 12px;
    color: var(--cs-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-order-info .order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.track-order-info .order-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--cs-dark);
}

.track-order-info .order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--cs-white);
}

/* Delivery steps */
.delivery-tracker {
    margin: 20px 0;
    padding: 0 10px;
}

.delivery-tracker h5 {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--cs-dark);
    font-weight: 600;
}

.delivery-steps {
    position: relative;
    padding-left: 30px;
}

.delivery-steps::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--cs-gray-light);
}

.delivery-step {
    position: relative;
    padding: 0 0 20px 0;
}

.delivery-step:last-child {
    padding-bottom: 0;
}

.delivery-step::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cs-gray-light);
    border: 2px solid var(--cs-white);
    box-shadow: 0 0 0 2px var(--cs-gray-light);
}

.delivery-step.done::before {
    background: var(--cs-success);
    box-shadow: 0 0 0 2px var(--cs-success);
}

.delivery-step.current::before {
    background: var(--cs-secondary);
    box-shadow: 0 0 0 2px var(--cs-secondary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.delivery-step .step-label {
    font-weight: 500;
    color: var(--cs-gray);
    font-size: 13px;
}

.delivery-step.done .step-label,
.delivery-step.current .step-label {
    color: var(--cs-dark);
}

/* Order history */
.order-history {
    margin-top: 16px;
    border-top: 1px solid var(--cs-gray-light);
    padding-top: 16px;
}

.order-history h5 {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: var(--cs-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cs-gray-light);
    font-size: 13px;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item .history-date {
    color: var(--cs-gray);
    flex-shrink: 0;
    width: 110px;
}

.history-item .history-status {
    color: var(--cs-dark);
}

/* Track more info */
.track-more-info {
    margin-top: 20px;
    padding: 16px;
    background: var(--cs-light);
    border-radius: var(--cs-radius-sm);
    text-align: center;
}

.track-more-info p {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: var(--cs-gray);
}

.track-more-info .chatsupport-btn-outline {
    display: inline-block;
    text-decoration: none;
}

/* Chat Section */
.chatsupport-chat-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
}

.chatsupport-chat-section .chatsupport-back {
    padding: 12px 16px;
    border-bottom: 1px solid var(--cs-gray-light);
    margin: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: chatFadeIn 0.3s ease;
}

@keyframes chatFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message-bot {
    align-self: flex-start;
}

.chat-message-admin {
    align-self: flex-start;
}

.chat-message-admin .chat-avatar {
    background: var(--cs-secondary);
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cs-white);
    flex-shrink: 0;
}

.chat-message-user .chat-avatar {
    background: var(--cs-secondary);
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message-bot .chat-bubble {
    background: var(--cs-light);
    color: var(--cs-dark);
    border-bottom-left-radius: 4px;
}

.chat-message-user .chat-bubble {
    background: var(--cs-primary);
    color: var(--cs-white);
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: var(--cs-gray);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }
.chat-typing span:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Chat input */
.chat-input-container {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--cs-gray-light);
    background: var(--cs-white);
}

.chat-input-container input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--cs-gray-light);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-input-container input:focus {
    border-color: var(--cs-primary);
}

.chat-input-container button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cs-primary);
    border: none;
    color: var(--cs-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-input-container button:hover {
    background: var(--cs-primary-dark);
    transform: scale(1.05);
}

.chat-input-container button:active {
    transform: scale(0.95);
}

/* Chat contact prompt */
.chat-contact-prompt {
    background: linear-gradient(135deg, rgba(146, 93, 162, 0.1) 0%, rgba(146, 93, 162, 0.05) 100%);
    border-radius: var(--cs-radius-sm);
    padding: 12px;
    margin-top: 8px;
}

.chat-contact-prompt p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: var(--cs-dark);
}

.chat-contact-prompt button {
    width: 100%;
    padding: 10px 16px;
    background: var(--cs-secondary);
    color: var(--cs-white);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-contact-prompt button:hover {
    background: var(--cs-secondary-dark);
}

/* Chat action button */
.chat-action-prompt {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-action-btn {
    width: 100%;
    padding: 10px 16px;
    background: var(--cs-primary);
    color: var(--cs-white);
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.chat-action-btn:hover {
    background: var(--cs-primary-dark);
    transform: scale(1.02);
}

/* Menu icon chat highlight */
.menu-icon-chat {
    background: linear-gradient(135deg, var(--cs-secondary) 0%, var(--cs-secondary-dark) 100%) !important;
}

/* FAQ */
.faq-list {
    margin-bottom: 20px;
}

.faq-item {
    border: 1px solid var(--cs-gray-light);
    border-radius: var(--cs-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--cs-white);
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: var(--cs-dark);
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: var(--cs-light);
}

.faq-toggle {
    font-size: 20px;
    color: var(--cs-primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--cs-light);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 16px;
}

.faq-answer p {
    margin: 0 0 10px 0;
    color: var(--cs-gray);
    font-size: 13px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 10px 0;
    padding-left: 20px;
    color: var(--cs-gray);
    font-size: 13px;
}

.faq-answer li {
    margin-bottom: 6px;
}

.faq-footer {
    text-align: center;
    padding: 16px;
    background: var(--cs-light);
    border-radius: var(--cs-radius-sm);
}

.faq-footer p {
    margin: 0 0 8px 0;
    color: var(--cs-gray);
    font-size: 14px;
}

/* Success message */
.chatsupport-success {
    text-align: center;
    padding: 30px 20px;
}

.chatsupport-success .success-icon {
    color: var(--cs-success);
    margin-bottom: 16px;
}

.chatsupport-success h4 {
    margin: 0 0 8px 0;
    color: var(--cs-dark);
}

.chatsupport-success p {
    color: var(--cs-gray);
    margin: 0 0 20px 0;
}

/* Recent orders */
.recent-orders-list {
    margin-bottom: 16px;
}

.recent-order-item {
    width: 100%;
    display: block;
    padding: 14px 16px;
    background: var(--cs-white);
    border: 1px solid var(--cs-gray-light);
    border-radius: var(--cs-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    margin-bottom: 8px;
}

.recent-order-item:last-child {
    margin-bottom: 0;
}

.recent-order-item:hover {
    border-color: var(--cs-primary);
    background: linear-gradient(135deg, rgba(146, 93, 162, 0.05) 0%, rgba(146, 93, 162, 0.1) 100%);
}

.order-item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.order-item-ref {
    font-weight: 600;
    color: var(--cs-dark);
    font-size: 14px;
}

.order-item-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--cs-white);
}

.order-item-details {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--cs-gray);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--cs-gray);
    font-size: 13px;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--cs-gray-light);
}

.separator span {
    padding: 0 12px;
}

/* Error message */
.chatsupport-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 12px 16px;
    border-radius: var(--cs-radius-sm);
    margin-top: 12px;
    font-size: 13px;
}

/* Loading */
.chatsupport-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    color: var(--cs-gray);
}

.chatsupport-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--cs-gray-light);
    border-top-color: var(--cs-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 440px) {
    #chatsupport-panel {
        width: calc(100vw - 40px);
        right: -10px;
        max-height: calc(100vh - 120px);
    }

    #chatsupport-widget {
        bottom: 15px;
        right: 15px;
    }

    #chatsupport-toggle {
        width: 55px;
        height: 55px;
    }
}

/* Fix pour iOS et tactile */
#chatsupport-toggle {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

#chatsupport-widget.open #chatsupport-toggle {
    z-index: 100002;
    pointer-events: auto;
}

/* Fix pour les inputs sur mobile - uniquement mobile pour éviter d'écraser desktop */
@media (max-width: 768px) {
    .chat-input-container input,
    .chatsupport-form-group input,
    .chatsupport-form-group textarea,
    .chatsupport-form-group select {
        font-size: 16px !important; /* Empêche le zoom sur iOS */
    }
}

.chat-input-container input,
.chatsupport-form-group input,
.chatsupport-form-group textarea,
.chatsupport-form-group select {
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.chat-input-container input {
    min-height: 44px;
}

.chat-input-container button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

/* S'assurer que le panel ne bloque pas le bouton */
#chatsupport-widget.open #chatsupport-panel {
    pointer-events: auto;
}

/* Fix z-index pour s'assurer que tout est cliquable */
#chatsupport-widget {
    pointer-events: none;
}

#chatsupport-toggle,
#chatsupport-panel {
    pointer-events: auto;
}

/* Online indicator on toggle button */
.chatsupport-online-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #fff;
    z-index: 1;
}

/* Header online dot */
.header-online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    margin-right: 4px;
    vertical-align: middle;
}

/* Online text in menu */
.text-online {
    color: #2ecc71 !important;
    font-weight: 600;
}

/* Admin message style in chat - DISTINCT from client/bot */
.chat-message-admin .chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f28a1b 0%, #e07a10 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    color: #000 !important;
}

.chat-message-admin .chat-bubble {
    background: #f8f9fa !important;
    color: #333 !important;
    border: none;
    border-bottom-left-radius: 4px;
}

.chat-message-admin .chat-author-label {
    font-size: 11px;
    color: #e07a10;
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

/* Typing animation */
.typing-dots span {
    animation: typingBounce 1.4s infinite;
    display: inline-block;
    font-size: 24px;
    line-height: 12px;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}
