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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('https://www.ucinmedica.com/wp-content/uploads/2020/08/consultorio-medico.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    z-index: -1;
    border-radius: 20px;
}

.welcome-title {
    text-align: center;
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.h2-title{
    text-align: center;
    color: #4b4a4a;
    font-size: 18px;
    margin-bottom: 10px;
}

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

.form-group label {
    display: block;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #2c3e50;
    font-size: 14px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(44, 62, 80, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: #356666;;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 13px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    color: #2c3e50;
}

.forgot-password {
    color: #356666;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.login-btn {
    width: 100%;
    padding: 15px;
    background: #509887;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.login-btn:hover {
    background: #509887;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

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

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #3b3b3b;
}

.register-link a {
    color: #356666;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Animación de entrada */
.login-container {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        margin: 20px;
        padding: 30px 25px;
    }
    
    .welcome-title {
        font-size: 20px;
    }
}

/* Efectos adicionales para inputs */
.form-group {
    position: relative;
}

.form-group input:focus + .input-highlight {
    opacity: 1;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}