/* =========================
   PÁGINA LOGIN - CSS ESPECÍFICO
   ========================= */

/* Variables específicas para Login */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #4a4a4a;
    --accent-color: #0056b3;
    --accent-light: #4d94ff;
    --light-color: #f8f9fa;
    --border-color: #e0e0e0;
    --text-light: #6c757d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0056b3, #003d82);
    --gradient-secondary: linear-gradient(135deg, #4d94ff, #1a75ff);
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    
    /* Tipografía */
    --font-primary: 'DIN Pro', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--primary-color);
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================
   APLICACIÓN DE LA TIPOGRAFÍA
   ========================= */

/* Regular (Normal) */
body,
.container,
.btn-login,
.btn-primary,
.btn-outline-white,
.btn-link,
.hero-with-image .hero-content p,
.login-header p,
.login-form label,
.forgot-password,
.login-footer p,
.feature-item p,
.footer-section p,
.footer-section ul li a,
.footer-bottom p {
    font-family: var(--font-primary);
    font-weight: 400;
}

/* Bold */
.nav-logo,
.btn-login,
.btn-primary,
.btn-outline-white,
.hero-with-image .hero-content h1,
.login-header h2,
.login-features h3,
.feature-item h4,
.section-title,
.footer-section h4,
.footer-logo span {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* =========================
   NAVBAR FLOTANTE (IGUAL AL INDEX)
   ========================= */
.floating-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 12px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 95%;
    max-width: 1200px;
    min-width: 300px;
}

.floating-navbar.hidden {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
}

.floating-navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 10px 30px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #2c3e50;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    height: 35px;
    width: auto;
    border-radius: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #3498db;
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 0;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body {
    padding-top: 80px;
}

.hero-with-image {
    margin-top: -80px;
    padding-top: 80px;
}

/* =========================
   BOTONES
   ========================= */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-outline-white {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* =========================
   HERO SECTIONS
   ========================= */

/* Hero Principal */
.hero-with-image {
    position: relative;
    height: 50vh;
    min-height: 40rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: -1;
}

.hero-with-image .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-with-image .hero-content {
    text-align: left;
    max-width: 65rem;
    color: var(--white);
    margin-left: 5%;
}

.hero-with-image .hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero-with-image .hero-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

/* =========================
   CONTENIDO LOGIN
   ========================= */

.login-page-content {
    max-width: 120rem;
    margin: 8rem auto 4rem; /* Añadido 4rem de margen inferior */
    padding: 0 2rem;
    min-height: calc(100vh - 300px); /* Asegura que el contenido tenga altura mínima */
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

/* También puedes añadir un padding adicional al main si es necesario */
.page-content {
    padding-bottom: 4rem; /* Espacio extra antes del footer */
}

/* O ajustar el footer para que tenga más margen superior */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 6rem 0 4rem; /* Reducido padding superior de 8rem a 6rem */
    margin-top: 2rem; /* Añadido margen superior */
}

/* Tarjeta de Login */
.login-card {
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
}

.login-icon {
    width: 8rem;
    height: 8rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.3);
}

.login-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.login-header p {
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Formulario de Login */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 2rem;
    color: var(--text-light);
    font-size: 1.6rem;
    z-index: 2;
}

.login-form input {
    width: 100%;
    padding: 1.5rem 2rem 1.5rem 5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    transform: translateY(-2px);
}

.password-toggle {
    position: absolute;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--accent-color);
}

/* Opciones del Formulario */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.forgot-password {
    font-size: 1.4rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Botón de Login */
.btn-login-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    margin-top: 1rem;
}

.btn-login-submit:hover:not(:disabled) {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.btn-login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Divisor */
.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--text-light);
    font-size: 1.4rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-divider span {
    padding: 0 2rem;
}

/* Botón de Google */
.btn-google-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 1.5rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-google-login:hover {
    background: var(--light-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-google-login i {
    color: #DB4437;
    font-size: 1.8rem;
}

/* Footer del Login */
.login-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    font-size: 1.4rem;
    color: var(--text-light);
}

.register-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Mensajes del Login */
.login-message {
    display: none;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-message.info {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

/* Sección de Características */
.login-features {
    padding: 3rem;
}

.login-features h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.login-features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--light-color), #e9ecef);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-item i {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

.feature-item div {
    flex: 1;
}

.feature-item h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 1.4rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo span {
    font-size: 2.4rem;
    font-weight: 800;
}

.footer-section p {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 35rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.8rem;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: #999;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */

/* Tablet landscape */
@media (max-width: 1024px) {
    .floating-navbar {
        padding: 12px 25px;
        width: 92%;
    }
    
    .nav-menu {
        gap: 18px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
    
    .nav-logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .btn-login {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .login-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .login-features {
        padding: 0;
    }
    
    .hero-with-image {
        height: 40vh;
        min-height: 35rem;
    }
    
    .hero-with-image .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-with-image .hero-content p {
        font-size: 1.6rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    html {
        font-size: 55%;
        font-family: var(--font-primary);
    }
    
    .floating-navbar {
        padding: 10px 20px;
        width: 90%;
        border-radius: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: 85%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        border-radius: 20px;
        padding: 25px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
        flex-direction: column;
        gap: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 12px 0;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hamburger-btn {
        display: flex;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-logo span {
        font-size: 1rem;
    }
    
    .btn-login {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    body {
        padding-top: 70px;
    }
    
    .hero-with-image {
        margin-top: -70px;
        padding-top: 70px;
    }
    
    .login-page-content {
        margin-top: 4rem;
    }
    
    .login-card {
        padding: 3rem;
    }
    
    .login-icon {
        width: 6rem;
        height: 6rem;
        font-size: 2.4rem;
    }
    
    .login-header h2 {
        font-size: 2.4rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .hero-with-image {
        height: 35vh;
        min-height: 30rem;
        text-align: center;
    }
    
    .hero-with-image .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-with-image .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-with-image .hero-content p {
        font-size: 1.4rem;
    }
}

/* Móvil grande */
@media (max-width: 480px) {
    .floating-navbar {
        padding: 8px 15px;
        width: 92%;
        border-radius: 12px;
        top: 15px;
    }
    
    .nav-logo span {
        font-size: 0.9rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .btn-login {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        top: 65px;
        width: 90%;
        padding: 20px;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 10px 0;
    }
    
    body {
        padding-top: 65px;
    }
    
    .hero-with-image {
        margin-top: -65px;
        padding-top: 65px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .login-card {
        padding: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .feature-item i {
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
    }
    
    .login-form input {
        padding: 1.2rem 1.5rem 1.2rem 4rem;
    }
    
    .input-group i {
        left: 1.5rem;
    }
    
    .password-toggle {
        right: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-with-image {
        height: 30vh;
        min-height: 25rem;
    }
    
    .hero-with-image .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-with-image .hero-content p {
        font-size: 1.3rem;
    }
}

/* Móvil pequeño */
@media (max-width: 360px) {
    .floating-navbar {
        padding: 6px 12px;
    }
    
    .nav-logo span {
        font-size: 0.85rem;
    }
    
    .logo-img {
        height: 25px;
    }
    
    .btn-login {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .login-header h2 {
        font-size: 2rem;
    }
    
    .login-form input {
        padding: 1rem 1.2rem 1rem 3.5rem;
        font-size: 1.3rem;
    }
    
    .input-group i {
        left: 1.2rem;
        font-size: 1.4rem;
    }
    
    .password-toggle {
        right: 1.2rem;
        font-size: 1.4rem;
    }
}

/* Para pantallas muy pequeñas, ocultar texto del logo */
@media (max-width: 320px) {
    .nav-logo span {
        display: none;
    }
    
    .floating-navbar {
        padding: 8px 15px;
    }
}

/* Asegurar que el navbar sea visible en dispositivos con notch */
@media (max-width: 768px) and (orientation: portrait) {
    .floating-navbar {
        top: max(15px, env(safe-area-inset-top));
    }
}

/* Mejorar visibilidad en modo oscuro */
@media (prefers-color-scheme: dark) {
    .floating-navbar {
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu a {
        color: #ecf0f1;
    }
    
    .nav-logo {
        color: #ecf0f1;
    }
    
    .hamburger-btn span {
        background-color: #ecf0f1;
    }
}

/* Mejorar accesibilidad para reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    .floating-navbar,
    .nav-menu a,
    .btn-login,
    .btn-login-submit,
    .btn-google-login,
    .feature-item {
        transition: none;
    }
    
    .hamburger-btn span {
        transition: none;
    }
}