/* Variables CSS para el Login */
:root {
    --primary-color: #30c1c6;
    --primary-dark: #30c1c6;
    --secondary-color: #2c3e50;
    --accent-color: #1abc9c;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: "Nunito", sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--secondary-color);
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: flex;
    min-height: 600px;
}

.login-left {
    flex: 1;
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -50px;
    right: -50px;
}

.login-left::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    bottom: -50px;
    left: -50px;
}

.login-right {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 140px;
    height: auto;
}

.welcome-text {
    margin-bottom: 30px;
    text-align: center;
}

.welcome-text h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.welcome-text p {
    color: #6c757d;
    font-size: 16px;
}

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

.form-control {
    width: 100%;
    height: 45px;
    padding: 10px 15px 10px 45px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background-color: white;
    outline: none;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    z-index: 5;
    pointer-events: none;
}

.btn-login {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    border: none;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list i {
    margin-right: 10px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.login-left h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.login-left p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.invalid-feedback {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }

    .login-left {
        padding: 30px 20px;
    }

    .login-right {
        padding: 30px 20px;
    }
}
