﻿:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    height: 90vh;
    max-height: 700px;
}

.login-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.login-image {
    background: linear-gradient(rgba(67, 97, 238, 0.7), rgba(63, 55, 201, 0.7)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    text-align: center;
}

.form-control {
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
    font-size: 16px;
}

    .form-control:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 0.25rem rgba(72, 149, 239, 0.25);
    }

.input-group-text {
    background-color: white;
    border: 2px solid #e9ecef;
    border-right: none;
    padding: 0 20px;
    border-radius: 12px 0 0 12px;
}

.btn-login {
    background-color: var(--primary);
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

    .btn-login:hover {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 7px 15px rgba(67, 97, 238, 0.3);
    }

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.forgot-password {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

    .forgot-password:hover {
        color: var(--secondary);
        text-decoration: underline;
    }

.login-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 32px;
}

.social-login .btn {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: transform 0.3s;
}

    .social-login .btn:hover {
        transform: translateY(-3px);
    }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #6c757d;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .divider::before {
        margin-right: 10px;
    }

    .divider::after {
        margin-left: 10px;
    }

.image-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.image-subtitle {
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .login-container {
        height: auto;
        max-height: none;
    }

    .login-image {
        display: none;
    }

    .login-form {
        padding: 30px;
    }
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

    .logo i {
        margin-right: 12px;
        font-size: 32px;
    }

.stats-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-top: 30px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.logo-img {
    max-height: 100px; /* ajusta según necesidad */
    width: auto;
}

