* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #01395a 0%, #025b8f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(1, 57, 90, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
}

/* Logo Styles */
.logo-container {
    background: linear-gradient(135deg, #01395a 0%, #025b8f 100%);
    padding: 40px 20px;
    text-align: center;
}

.logo {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 5px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
.login-form {
    padding: 40px 30px;
}

.login-form h2 {
    color: #01395a;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.login-form p {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #01395a;
    background: white;
    box-shadow: 0 0 0 3px rgba(1, 57, 90, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.remember-me input {
    margin: 0;
}

.forgot-password {
    color: #01395a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #025b8f;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #01395a 0%, #025b8f 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 57, 90, 0.4);
}

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

.register-link {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.register-link a {
    color: #01395a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #025b8f;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .login-container {
        max-width: 100%;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .logo-container {
        padding: 30px 20px;
    }
    
    .logo h1 {
        font-size: 1.7rem;
    }
    
    .logo-icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .forgot-password {
        align-self: flex-end;
    }
}

@media (max-width: 320px) {
    .login-form {
        padding: 25px 15px;
    }
    
    .logo-container {
        padding: 25px 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .login-form h2 {
        font-size: 1.5rem;
    }
}

/* Efectos de carga para mejor UX */
.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}