﻿:root {
    --bg-page: #eef6f1;
    --bg-dark-panel: #212c28;
    --text-accent: #8bc1a5;
    --text-muted-dark: #84948d;
    --btn-bg: #2c6b51;
    --btn-bg-hover: #1e4e3b;
}

body {
    background-color: var(--bg-page);
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
}

/* Estructura de la Tarjeta */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 100%;
    max-width: 960px;
    min-height: 550px;
}

/* Columna Izquierda */
.panel-left {
    background-color: var(--bg-dark-panel);
    padding: 3rem;
    color: #ffffff;
}

.icon-circle {
    background-color: var(--text-accent);
    color: var(--bg-dark-panel);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.panel-left h1 {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.text-accent {
    color: var(--text-accent);
}

.panel-left-desc {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 90%;
}

.panel-left-footer {
    color: var(--text-muted-dark);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Columna Derecha */
.panel-right {
    padding: 3rem 4rem;
    background-color: #ffffff;
}

.back-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 2.5rem;
}

    .back-link:hover {
        color: #495057;
    }

.pre-title {
    color: var(--text-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Estilos del Formulario */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.4rem;
}

.custom-input-group {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #ffffff;
}

    .custom-input-group:focus-within {
        border-color: var(--btn-bg);
        box-shadow: 0 0 0 3px rgba(44, 107, 81, 0.15);
    }

    .custom-input-group .input-icon {
        padding: 0.6rem 0.5rem 0.6rem 1rem;
        color: #adb5bd;
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-input-group .form-control {
        border: none;
        padding: 0.6rem 1rem 0.6rem 0.5rem;
        box-shadow: none;
        background-color: transparent;
        font-size: 0.9rem;
        color: #495057;
    }

        .custom-input-group .form-control::placeholder {
            color: #adb5bd;
            font-weight: 400;
        }

.btn-submit {
    background-color: var(--btn-bg);
    color: #ffffff;
    font-weight: 500;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: background-color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

    .btn-submit:hover {
        background-color: var(--btn-bg-hover);
        color: #ffffff;
    }

.panel-right-footer {
    color: #adb5bd;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Ajustes responsivos */
@media (max-width: 767.98px) {
    .panel-left, .panel-right {
        padding: 2rem;
    }

    .panel-right {
        padding-top: 2.5rem;
    }

    .login-card {
        border-radius: 16px;
    }

    .icon-circle {
        margin-bottom: 2rem;
    }
}
