/* =======================================================
   ESTILOS GENERALES Y TIPOGRAFÍA
   ======================================================= */
:root {
    --primary-color: #3b82f6; /* Azul base (Botones) */
    --secondary-color: #0f2c4c; /* Azul oscuro (Textos y fondo) */
    --highlight-color: #eda835; /* Naranja/Dorado (Logo/Énfasis) */
    --bg-color: #f5f5f7; /* Fondo sutil */
    --card-bg: #ffffff; /* Fondo tarjeta de login */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif; /* Usamos Montserrat como base */
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* =======================================================
   ESTRUCTURA DE LA TARJETA DE LOGIN
   ======================================================= */
.login-screen {
    width: 100%;
    max-width: 380px;
    padding: 40px 30px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Sombra 3D suave */
    text-align: center;
    box-sizing: border-box;
}

/* Título de la aplicación (H2) */
.login-screen h2 {
    margin-bottom: 35px !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px; /* Letras más grandes y bonitas */
    letter-spacing: -1px;
    color: var(--secondary-color);
}
.login-screen h2 span {
    color: var(--highlight-color);
}

/* Mensaje de auto-login (Carga) */
#auto-login-msg {
    padding: 10px;
    background-color: #e0f7fa; /* Fondo azul claro para carga */
    border-radius: 8px;
    color: #00bcd4;
    font-weight: 600;
}

/* =======================================================
   CAMPOS DE FORMULARIO (INPUTS)
   ======================================================= */
.login-screen input[type="email"],
.login-screen input[type="password"] {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px; /* Bordes más suaves */
    font-size: 16px;
    color: var(--secondary-color);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Sombra interna sutil */
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.login-screen input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); /* Resplandor al enfocar */
}

/* =======================================================
   BOTONES
   ======================================================= */
.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Corrección: Espacio entre el icono y el texto del botón */
.btn i {
    margin-right: 8px;
}
/* Botón principal (Iniciar Sesión) */
.btn:not(.btn-outline) {
    background-color: var(--primary-color);
    color: white;
    /* Efecto 3D de levantamiento */
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.4); 
}

.btn:not(.btn-outline):hover {
    background-color: #2563eb; /* Tono más oscuro al pasar el ratón */
}

/* Botón Outline/Secundario (Modo Demo) */
.btn-outline {
    background-color: #007bff; /* Azul fuerte para destacar */
    color: white;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.4); 
    margin-top: 15px;
    padding: 18px 15px; /* Más padding para que destaque */
    font-size: 18px;
    font-weight: 800;
}

.btn-outline:hover {
    background-color: #0056b3;
}

/* Deshabilitado */
.btn[disabled], .btn[style*="opacity: 0.7"] {
    background-color: #d1e5ff !important;
    color: #60a5fa !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* Línea divisoria */
hr {
    border-top: 1px solid #f0f0f0 !important;
}

/* Texto de ayuda */
.login-screen p {
    color: #94a3b8 !important;
    font-size: 15px !important;
    font-weight: 500;
}
/* ESTILOS DEL MODAL DE CONFIRMACIÓN */
.tour-confirm-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    z-index: 20000; /* Siempre encima del chat */
    display: none; align-items: center; justify-content: center;
}
.tour-confirm-card {
    background: white; border-radius: 20px; padding: 25px;
    width: 90%; max-width: 320px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.tour-confirm-actions {
    display: flex; gap: 10px; margin-top: 20px;
}
.tour-confirm-actions button {
    flex: 1; padding: 12px; border-radius: 15px; font-weight: 700; cursor: pointer;
}
.tour-btn-primary {
    background: #2ecc71; color: white; border: none; box-shadow: 0 4px 0 #27ae60;
}
.tour-btn-secondary {
    background: #ccc; color: #444; border: none; box-shadow: 0 4px 0 #999;
}