.truco-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.truco-nav {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 2px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.truco-nav-compact {
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 0;
}

.truco-nav-btn {
    background: #e1b574;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(225, 181, 116, 0.13);
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 2px;
}
.truco-nav-btn:hover {
    background: #c49a3a;
    transform: translateY(-2px) scale(1.04);
}
/* Truco Argentino: bloque especial */
.message.truco-message p {
    border: 2.5px solid #e1b574;
    background: linear-gradient(135deg, #fffbe6 0%, #ffe4b5 100%);
    box-shadow: 0 6px 18px rgba(225, 181, 116, 0.18);
    font-size: 16px;
    line-height: 1.7;
    color: #7a4a00;
    font-weight: 600;
    padding: 18px 20px;
    border-radius: 14px;
    margin-bottom: 10px;
}

.truco-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.truco-nav-btn {
    background: #e1b574;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(225, 181, 116, 0.13);
    transition: background 0.2s, transform 0.2s;
}
.truco-nav-btn:hover {
    background: #c49a3a;
    transform: translateY(-2px) scale(1.04);
}
/* ========================================
   STEFAI EDUCATION - Estilos Específicos
   ======================================== */

/* Header especial para Education */
.education-header {
    padding: 10px 32px;
    background: linear-gradient(135deg, #74C2E1 0%, #FFE4B5 100%);
    border-bottom: 3px solid rgba(116, 194, 225, 0.6);
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 228, 181, 0.3);
}

.education-header h1 {
    font-size: 35px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.education-header p {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Animación de entrada para education */
@keyframes educationPulse {
    0% {
        box-shadow: 0 4px 12px rgba(255, 228, 181, 0.3);
    }
    50% {
        box-shadow: 0 8px 20px rgba(255, 228, 181, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(255, 228, 181, 0.3);
    }
}

.education-header {
    animation: educationPulse 3s ease-in-out infinite;
}

/* Mensaje especial educativo */
.message.education-content p {
    border: 2px solid rgba(116, 194, 225, 0.6);
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.95) 0%, rgba(255, 250, 220, 0.5) 100%);
    box-shadow: 0 6px 18px rgba(116, 194, 225, 0.25);
    font-size: 15px;
    line-height: 1.6;
}


/* Optimización móvil */
@media (max-width: 768px) {
    aside {
        width: 70px;
    }
    
    .nav-btn {
        padding: 12px;
        font-size: 0;
    }
    
    .nav-btn svg {
        margin: 0;
    }
    
    .chat-wrapper {
        margin-left: 70px;
    }
    
    .message {
        padding: 12px;
        font-size: 14px;
    }
    
    .input-container {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    aside {
        width: 60px;
    }
    
    .nav-btn {
        padding: 10px;
    }
    
    .chat-wrapper {
        margin-left: 60px;
    }
    
    .message {
        padding: 10px;
        font-size: 13px;
    }
    
    #userInput {
        font-size: 14px;
    }
    
    button[type="submit"] {
        padding: 10px 15px;
        font-size: 14px;
    }
}
/* Optimización móvil mejorada */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    aside {
        width: 65px !important;
        padding: 10px 5px !important;
    }
    
    .nav-btn {
        padding: 8px !important;
        font-size: 0 !important;
        margin-bottom: 8px !important;
    }
    
    .nav-btn svg {
        margin: 0 !important;
    }
    
    .circle-buttons-row {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .circle-btn, .info-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        font-size: 18px !important;
    }
    
    .chat-wrapper {
        margin-left: 65px !important;
    }
    
    .chat-header {
        padding: 15px !important;
        font-size: 1.2em !important;
    }
    
    .chat-box {
        padding: 15px !important;
    }
    
    .message {
        padding: 12px !important;
        font-size: 14px !important;
        max-width: 85% !important;
    }
    
    .input-container {
        padding: 12px !important;
        gap: 8px !important;
    }
    
    #userInput {
        font-size: 14px !important;
        padding: 12px !important;
    }
    
    button[type="submit"] {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    aside {
        width: 55px !important;
    }
    
    .nav-btn {
        padding: 6px !important;
    }
    
    .circle-btn, .info-btn {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        font-size: 16px !important;
    }
    
    .chat-wrapper {
        margin-left: 55px !important;
    }
    
    .chat-header {
        padding: 12px !important;
        font-size: 1em !important;
    }
    
    .message {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    #userInput {
        font-size: 13px !important;
        padding: 10px !important;
    }
    
    button[type="submit"] {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
}

/* Mensaje de desarrollo para móviles */
@media (max-width: 768px) {
    /* Versión móvil habilitada */
}
        white-space: pre-wrap;
        z-index: 9999;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
}
