/* =========================================================
   account.css — Helpify Admin Login Screen
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

body.account-body {
    margin: 0;
    background: #e9ebf0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ?? Wrapper centrado ???????????????????????????????????? */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
}

/* ?? Contenedor principal 1024 × 600 ???????????????????? */
.login-container {
    display: flex;
    width: 100%;
    max-width: 1024px;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* ?? Columna izquierda ??????????????????????????????????? */
.login-left {
    flex: 0 0 58%;
    background-color: #191B4D;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.helpify-symbol {
    width: 280px;
    height: 280px;
    filter: drop-shadow(0 4px 24px rgba(200,230,60,.25));
}

/* ?? Columna derecha ????????????????????????????????????? */
.login-right {
    flex: 0 0 42%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px 28px;
    border-left: 2px solid #e0e4f7;
}

/* ?? Logo ???????????????????????????????????????????????? */
.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.helpify-logo-small {
    width: 56px;
    height: 56px;
}

.login-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
    line-height: 1.1;
}

.logo-helpify {
    font-size: 1.35rem;
    font-weight: 700;
    color: #191B4D;
    letter-spacing: .5px;
}

.logo-admin {
    font-size: .75rem;
    color: #191B4D;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ?? Formulario ?????????????????????????????????????????? */
.login-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-custom label {
    font-size: .85rem;
    font-weight: 600;
    color: #1a1a2e;
}

.form-input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d5e8;
    border-radius: 6px;
    font-size: .9rem;
    color: #1a1a2e;
    outline: none;
    transition: border-color .2s;
}

.form-input:focus {
    border-color: #191B4D;
    box-shadow: 0 0 0 3px rgba(25,27,77,.1);
}

.form-input::placeholder { color: #b0b8cc; }

.forgot-password {
    text-align: right;
    margin-top: 4px;
}

.forgot-password a {
    font-size: .8rem;
    color: #191B4D;
    text-decoration: none;
}

.forgot-password a:hover { text-decoration: underline; }

/* ?? Botón Ingresar ?????????????????????????????????????? */
.btn-login {
    margin-top: 8px;
    height: 48px;
    background-color: #191B4D;
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .4px;
    transition: background-color .2s, transform .1s;
}

.btn-login:hover  { background-color: #2a2e6e; }
.btn-login:active { transform: scale(.98); }

/* ?? Footer ?????????????????????????????????????????????? */
.login-footer {
    text-align: right;
    border-top: 1px solid #e8eaf2;
    padding-top: 14px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: .78rem;
    color: #191B4D;
    text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-copy {
    font-size: .72rem;
    color: #888;
    margin: 0;
}

/* ?? Responsive ?????????????????????????????????????????? */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }
    .login-left  { flex: none; padding: 48px 24px; }
    .login-right { flex: none; padding: 32px 28px 24px; }
    .helpify-symbol { width: 160px; height: 160px; }
}
