.login-container {
    max-width: 450px;
    margin: 3rem auto;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #242323;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.login-title {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.login-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ff7a7a, #7ad0ff, #ffea7a);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #e2e8f0;
    font-size: 1.05rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #7ad0ff;
    box-shadow: 0 0 0 3px rgba(122, 208, 255, 0.3);
    outline: none;
    background-color: rgba(255, 255, 255, 0.12);
}

.form-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.8rem;
}

.form-checkbox {
    margin-right: 0.7rem;
    width: 18px;
    height: 18px;
    accent-color: #7ad0ff;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7a7a 0%, #ff7a7a 50%, #7ad0ff 100%);
    color: white;
    border: none;
    width: 100%;
    box-shadow: 0 4px 10px rgba(255, 122, 122, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff6b6b 50%, #60c5ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 122, 122, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 122, 122, 0.4);
}

.error-message {
    padding: 0.9rem;
    background-color: rgba(254, 178, 178, 0.15);
    border-left: 4px solid #ff7a7a;
    color: #ff9a9a;
    border-radius: 6px;
    margin: 1.2rem 0;
}

.register-link {
    text-align: center;
    margin-top: 2rem;
    color: #acacac;
    font-size: 1.02rem;
}

.register-link a {
    color: #7ad0ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.register-link a:hover {
    color: #ffea7a;
    text-decoration: none;
}

/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    .login-container {
        margin: 1.5rem;
        padding: 1.8rem;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
    }
}