/* =====================================================
   BOT-STYLE.CSS - ORGANIZACIÓN MAS (v2.1 MÓVIL FIX)
   ===================================================== */

:root {
    --mas-primary: #2F2776;
    --mas-hover: #1f2159;
    --mas-accent: #f37021;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow-sm: 0 2px 8px rgba(47, 39, 118, 0.08);
    --shadow-md: 0 4px 16px rgba(47, 39, 118, 0.12);
    --shadow-lg: 0 8px 32px rgba(47, 39, 118, 0.16);
}

/* ===== WIDGET CHAT ===== */
.mas-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Montserrat', sans-serif;
}

.mas-chat-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Botones flotantes */
.mas-whatsapp-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mas-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.mas-chat-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--mas-primary) 0%, #1f2159 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(47, 39, 118, 0.25);
    overflow: visible;
    position: relative;
}

.mas-chat-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50%;
}

.mas-chat-toggle:hover::before {
    opacity: 1;
}

.mas-chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(47, 39, 118, 0.35);
}

.mas-chat-toggle-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.mas-chat-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--mas-accent);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 3px 12px rgba(243, 112, 33, 0.5);
    z-index: 100;
    pointer-events: none;
}

/* ===== CONTENEDOR CHAT ===== */
.mas-chat-container {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 150px);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mas-chat-header {
    background: linear-gradient(135deg, var(--mas-primary) 0%, #1f2159 100%);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.mas-chat-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mas-chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mas-chat-header-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.mas-chat-status {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mas-chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
}

.mas-chat-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mas-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== CUERPO DEL CHAT ===== */
.mas-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 80px 16px;
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mas-chat-body::-webkit-scrollbar {
    width: 6px;
}

.mas-chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.mas-chat-body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.mas-chat-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* ===== MENSAJES ===== */
.message {
    display: flex;
    margin-bottom: 12px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 16px;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.5;
}

.bot-message .message-bubble {
    background: white;
    color: var(--gray-800);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--mas-primary) 0%, #1f2159 100%);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 8px rgba(47, 39, 118, 0.2);
}

/* ===== FORMULARIO ===== */
.mas-chat-form {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mas-chat-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mas-chat-attach-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mas-chat-attach-btn:hover {
    background: var(--gray-100);
    color: var(--mas-primary);
}

.mas-chat-input {
    flex: 1;
    border: 2px solid var(--gray-200);
    border-radius: 24px;
    padding: 12px 18px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
    background: var(--gray-50);
}

.mas-chat-input:focus {
    outline: none;
    border-color: var(--mas-primary);
    background: white;
}

.mas-chat-send {
    background: linear-gradient(135deg, var(--mas-primary) 0%, #1f2159 100%);
    border: none;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(47, 39, 118, 0.2);
}

.mas-chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(47, 39, 118, 0.3);
}

.mas-chat-send:active {
    transform: scale(0.95);
}

/* ===== MODAL PQRSD REDRISEÑADO (v3.0) ===== */
.pqrsd-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 39, 118, 0.4);
    z-index: 100000;
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pqrsd-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pqrsd-modal-window {
    background: white;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.pqrsd-modal-overlay.active .pqrsd-modal-window {
    transform: translateY(0);
}

.pqrsd-header {
    background: white;
    color: var(--mas-primary);
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.pqrsd-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pqrsd-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.pqrsd-header-icon {
    font-size: 24px;
    background: var(--gray-100);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--mas-accent);
}

.pqrsd-close {
    background: transparent;
    border: none;
    color: var(--gray-400);
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pqrsd-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.pqrsd-form-container {
    overflow-y: auto;
    padding: 32px;
    flex: 1;
}

.pqrsd-field {
    margin-bottom: 24px;
}

.pqrsd-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--mas-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.pqrsd-field input,
.pqrsd-field select,
.pqrsd-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--gray-800);
    transition: all 0.2s;
    background: var(--gray-50);
}

.pqrsd-field input:focus,
.pqrsd-field select:focus,
.pqrsd-field textarea:focus {
    outline: none;
    border-color: var(--mas-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(47, 39, 118, 0.1);
}

.pqrsd-field input::placeholder,
.pqrsd-field textarea::placeholder {
    color: var(--gray-400);
}

.pqrsd-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

/* File Upload Redesign */
.file-input-wrapper {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    background: var(--gray-50);
}

.file-input-wrapper:hover {
    border-color: var(--mas-primary);
    background: #f0f4ff;
}

.file-input-icon {
    font-size: 36px;
    color: var(--mas-primary);
    margin-bottom: 12px;
    opacity: 0.6;
}

.file-input-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-600);
    font-weight: 500;
}

/* Actions Footer */
.pqrsd-actions {
    padding: 24px 32px;
    background: white;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
}

.btn-cancel {
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-weight: 600;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: var(--gray-50);
    color: var(--gray-800);
    border-color: var(--gray-400);
}

.btn-submit {
    padding: 12px 32px;
    background: var(--mas-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
}

/* Success Modal Styles */
.success-card {
    max-width: 400px !important;
    text-align: center;
    padding: 40px !important;
    background-color: #ffffff !important;
    /* Fondo blanco sólido */
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    z-index: 10001;
    /* Asegurar que esté encima */
}

/* Error Modal Styles */
.error-card {
    max-width: 400px !important;
    text-align: center;
    padding: 40px !important;
    background-color: #ffffff !important;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    z-index: 10001;
}

.error-icon-container {
    margin-bottom: 20px;
}

.error-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    font-weight: bold;
    animation: pop 0.4s ease;
}

.error-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.btn-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

.btn-error:hover {
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
}

.success-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e0f2fe;
    /* Light blue/green */
    color: var(--mas-primary);
    /* Brand blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(47, 39, 118, 0.1);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-title {
    color: var(--mas-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-message {
    color: var(--gray-600);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    80% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}



.btn-submit:hover {
    background: var(--mas-accent);
    /* Naranja MAS en hover */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(243, 112, 33, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE MÓVIL MEJORADO ===== */
@media (max-width: 768px) {

    /* ✅ Posición del bot flotante más abajo */
    .mas-chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .mas-chat-toggle-wrapper {
        gap: 10px;
    }

    .mas-whatsapp-button {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .mas-chat-toggle {
        width: 60px;
        height: 60px;
    }

    .mas-chat-toggle-img {
        width: 44px;
        height: 44px;
    }

    /* ✅ Ocultar botones flotantes cuando el chat está abierto */
    body:has(.mas-chat-container[style*="display: flex"]) .mas-chat-toggle-wrapper {
        display: none !important;
    }

    /* ✅ Chat ocupa toda la pantalla */
    body:has(.mas-chat-container[style*="display: flex"]) .mas-chat-widget {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .mas-chat-container {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        position: fixed !important;
    }

    /* ✅ Header visible completo */
    .mas-chat-header {
        padding: 16px 20px;
        flex-shrink: 0;
    }

    .mas-chat-avatar {
        width: 38px;
        height: 38px;
    }

    .mas-chat-header-info h3 {
        font-size: 15px;
    }

    .mas-chat-status {
        font-size: 11px;
    }

    /* ✅ Body ajustado para ver todo */
    .mas-chat-body {
        padding: 16px !important;
        flex: 1 !important;
        overflow-y: auto !important;
        padding-bottom: 90px !important;
    }

    /* ✅ Formulario fijo abajo */
    .mas-chat-form {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 14px 16px !important;
        background: white !important;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        flex-shrink: 0 !important;
    }

    .mas-chat-input {
        font-size: 16px;
        padding: 10px 16px;
    }

    .mas-chat-send {
        width: 40px;
        height: 40px;
    }

    /* ✅ Modal PQRSD en móvil */
    .pqrsd-modal-window {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .pqrsd-header {
        border-radius: 0;
        padding: 16px 20px;
    }

    .pqrsd-form-container {
        padding: 20px 16px;
    }

    .pqrsd-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pqrsd-actions {
        padding: 16px 20px;
        flex-direction: column-reverse;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FIX PARA PANTALLAS MUY PEQUEÑAS ===== */
@media (max-width: 360px) {
    .mas-chat-header-info h3 {
        font-size: 14px;
    }

    .mas-chat-header-info {
        gap: 10px;
    }

    .mas-chat-avatar {
        width: 36px;
        height: 36px;
    }
}

/* =====================================================
   CONVERSATIONAL AI ADDITIONS (v11.0)
   ===================================================== */

/* Typing Indicator - Animated dots */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: white;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    width: fit-content;
}

.typing-dot {
    width: 9px;
    height: 9px;
    background: var(--gray-300);
    border-radius: 50%;
    animation: typingPulse 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingPulse {

    0%,
    60%,
    100% {
        transform: translateY(0) scale(1);
        background: var(--gray-300);
    }

    30% {
        transform: translateY(-6px) scale(1.1);
        background: var(--mas-primary);
    }
}

/* Suggestion Chips */
.suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 4px 0;
    animation: fadeSlideUp 0.3s ease;
}

.suggestion-chip {
    padding: 10px 18px;
    background: white;
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.suggestion-chip:hover {
    background: var(--mas-primary);
    color: white;
    border-color: var(--mas-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 39, 118, 0.25);
}

.suggestion-chip:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(47, 39, 118, 0.2);
}

/* Message Timestamp */
.message-time {
    font-size: 10px;
    color: var(--gray-400);
    margin-top: 4px;
    padding: 0 4px;
    font-family: 'Montserrat', sans-serif;
}

/* Enhanced Message Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Notification Toast */
.chat-notification {
    position: fixed;
    bottom: 120px;
    right: 40px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    z-index: 100001;
    animation: notificationSlide 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.chat-notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.chat-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

@keyframes notificationSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* File Preview Enhancement */
#file-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border-radius: 10px;
    border: 1px solid rgba(47, 39, 118, 0.1);
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--mas-primary);
    font-weight: 500;
}

#clear-file {
    margin-left: auto;
    color: #ef4444;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s;
}

#clear-file:hover {
    transform: scale(1.2);
}

/* Improved Message Bubbles */
.message-bubble {
    word-break: break-word;
    overflow-wrap: break-word;
}

.message-bubble strong {
    font-weight: 600;
}

/* Mobile Suggestions */
@media (max-width: 768px) {
    .suggestions-container {
        padding: 4px 0;
        gap: 6px;
    }

    .suggestion-chip {
        padding: 8px 14px;
        font-size: 12px;
    }

    .chat-notification {
        bottom: 140px;
        right: 20px;
        left: 20px;
        text-align: center;
    }

    .typing-indicator {
        padding: 12px 16px;
    }

    .typing-dot {
        width: 8px;
        height: 8px;
    }
}