/* assets/css/login_local.css - telas de login sem Tailwind CDN */
* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f1f5f9;
}

.login-page-candidato {
    background: #f8fafc;
}

.login-card-candidato {
    width: 100%;
    max-width: 384px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

.login-card-candidato-header {
    background: #15803d;
    padding: 24px;
    text-align: center;
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.login-kicker {
    margin: 0;
    color: #dcfce7;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-card-body {
    padding: 32px;
}

.login-title-center {
    margin: 0 0 24px;
    text-align: center;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: #334155;
}

.login-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    text-align: center;
}

.login-alert-error {
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fee2e2;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
}

.login-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    color: #0f172a;
    background: #ffffff;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.login-input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.login-button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
}

.login-button:active {
    transform: scale(.98);
}

.login-button-green {
    background: #15803d;
    color: #ffffff;
}

.login-button-green:hover {
    background: #166534;
}

.login-button-slate {
    background: #0f172a;
    color: #ffffff;
}

.login-button-slate:hover {
    background: #1e293b;
}

.login-footer-text {
    margin: 24px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.login-footer-link {
    color: #15803d;
    font-weight: 800;
}

.login-footer-link:hover {
    text-decoration: underline;
}

.login-admin-shell {
    display: flex;
    width: 100%;
    max-width: 896px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.login-admin-side {
    display: flex;
    width: 50%;
    background: #156b36;
    color: #ffffff;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.login-admin-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #156b36 0%, #16723a 52%, #0f4f2a 100%);
}

.login-admin-side-inner {
    position: relative;
    z-index: 1;
}

.login-admin-logo-box {
    display: inline-flex;
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 24px;
    margin-bottom: 32px;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, .18), 0 8px 10px -6px rgba(15, 23, 42, .12);
}

.hub-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

.login-admin-side-title {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.login-admin-side-text {
    margin: 0;
    color: #f0fdf4;
    line-height: 1.6;
}

.login-admin-main {
    width: 50%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-admin-mobile-logo {
    display: none;
    justify-content: center;
    margin-bottom: 32px;
}

.login-admin-heading {
    margin-bottom: 32px;
}

.login-admin-heading h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: #1e293b;
}

.login-admin-heading p {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: #64748b;
}

.login-muted-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
    font-weight: 800;
}

.login-muted-link:hover {
    color: #0f172a;
}

@media (max-width: 767px) {
    .login-admin-shell {
        display: block;
        max-width: 448px;
    }

    .login-admin-side {
        display: none;
    }

    .login-admin-main {
        width: 100%;
        padding: 32px;
    }

    .login-admin-mobile-logo {
        display: flex;
    }

    .login-admin-heading {
        text-align: center;
    }

    .hub-logo {
        width: 190px;
    }
}

@media (max-width: 420px) {
    .login-card-body,
    .login-admin-main {
        padding: 28px 24px;
    }
}
