/* CSS específico para la página de login */
:root {
    --background: #091431;
    --card-bg: #060918;
    --input-bg: #131624;
    --input-border: #0f254e;
    --button-blue: #008de6;
    --text-white: #ffffff;
    --text-gray: #6c757d;
    --text-blue: #008de6;
    --error: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
}

html, body {
    height: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
    background: var(--background);
    overflow: hidden;
}

.login-section {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    padding: 20px;
}

.login-card {
    background: var(--card-bg);
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    width: 384px;
    height: 611px;
    max-width: 100vw;
    max-height: 100vh;
    position: relative;
    animation: card-entrance 0.8s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.image-section {
    flex: 1;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    min-height: 100vh;
}

.login-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

@keyframes card-entrance {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.login-header {
    text-align: center;
    padding: 32px 32px 18px;
}

.login-header img {
    max-width: 120px;
}

.login-header h3 {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.login-header p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.login-body {
    padding: 28px 32px 32px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-label {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.25rem;
    pointer-events: none;
}

.form-control {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 15px;
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--button-blue);
    background: var(--input-bg);
    box-shadow: 0 0 0 1px var(--button-blue);
}

.form-control::placeholder {
    color: var(--text-gray);
}

.btn-login {
    width: 100%;
    padding: 16px 0;
    background: var(--button-blue);
    border: none;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 18px 0 0 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.btn-login:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
}

.social-login {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 24px 0 0 0;
}

.social-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--input-border);
    background: var(--input-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-gray);
    font-size: 1.35rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.social-btn:hover {
    border-color: var(--text-blue);
    color: var(--text-blue);
    background: #101c3a;
}

.additional-links {
    text-align: center;
    margin-top: 12px;
}

.additional-links a {
    color: var(--button-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.additional-links a:hover {
    color: var(--text-white);
    text-decoration: underline;
}

.additional-links p {
    color: var(--text-gray);
    font-size: 13px;
    margin: 0;
}

/* Media Queries responsivo */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }
    .login-section, .image-section {
        max-width: 100%;
        flex: none;
    }
    .image-section {
        height: 220px;
        order: -1;
        min-height: unset;
    }
    .login-section {
        flex: 1;
    }
    .login-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .login-card {
        max-width: 100%;
        margin: 0;
    }
    .login-header, .login-body {
        padding: 16px;
    }
    .image-section {
        display: none;
    }
}