/* ===== Login Vagas PJ — página isolada ===== */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body.vpj-login {
    min-height: 100vh;
    font-family: 'Urbanist', system-ui, -apple-system, sans-serif;
    background: #f4f6fa;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

.vpj-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 48px 0;
}

.vpj-login-wrap > .container {
    max-width: 1140px;
}

/* Logo — acima dos painéis */
.vpj-login-logo {
    display: inline-block;
    margin-bottom: 32px;
}

.vpj-login-logo img {
    display: block;
    max-width: 168px;
    height: auto;
}

.vpj-login-grid {
    width: 100%;
    align-items: stretch;
}

/* Painel esquerdo — imagem 700px */
.vpj-login-hero {
    position: relative;
    height: 700px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    background: #e2e8f0;
}

.vpj-login-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vpj-login-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0) 100%);
    pointer-events: none;
}

.vpj-login-slogan {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 32px 28px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Card do formulário — 700px */
.vpj-login-panel--form {
    height: 700px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    padding: 48px 40px;
    overflow-y: auto;
}

.vpj-login-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.vpj-login-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #eff6ff;
}

.vpj-login-avatar video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vpj-login-card-head h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.vpj-login-card-head p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
}

/* Formulário */
.vpj-login-form {
    display: flex;
    flex-direction: column;
}

.vpj-field {
    margin-bottom: 16px;
}

.vpj-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.vpj-field input {
    display: block;
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vpj-field input::placeholder {
    color: #94a3b8;
}

.vpj-field input:focus {
    outline: none;
    border-color: #0368ff;
    box-shadow: 0 0 0 3px rgba(3, 104, 255, 0.12);
}

.vpj-field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc2626;
}

.vpj-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 28px;
    cursor: pointer;
    user-select: none;
}

.vpj-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #0368ff;
    cursor: pointer;
}

.vpj-check span {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.vpj-btn-entrar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(126deg, #0368ff 0%, #05c3b1 100%);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.vpj-btn-entrar:hover {
    opacity: 0.95;
    box-shadow: 0 6px 20px rgba(3, 104, 255, 0.28);
}

.vpj-btn-entrar-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vpj-forgot {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.vpj-forgot:hover {
    color: #0368ff;
}

.vpj-login-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.vpj-login-alert--ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.vpj-login-alert--warn {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

/* Responsivo */
@media (max-width: 991px) {
    .vpj-login-wrap {
        padding: 32px 0 48px;
        align-items: flex-start;
    }

    .vpj-login-logo {
        display: block;
        text-align: center;
        margin-bottom: 24px;
    }

    .vpj-login-logo img {
        margin: 0 auto;
    }

    .vpj-login-hero {
        height: 280px;
    }

    .vpj-login-slogan {
        padding: 20px 16px;
        font-size: 18px;
    }

    .vpj-login-panel--form {
        height: auto;
        min-height: 0;
        padding: 32px 24px;
        margin-top: 8px;
    }
}

@media (max-width: 575px) {
    .vpj-login-panel--form {
        padding: 24px 20px;
    }

    .vpj-login-card-head h1 {
        font-size: 20px;
    }

    .vpj-login-hero {
        height: 220px;
    }

    .vpj-login-slogan {
        font-size: 16px;
        padding: 16px 14px;
    }
}

/* ===== Register business — extensões ===== */

body.vpj-register .vpj-login-panel--register {
    height: auto;
    min-height: 700px;
    max-height: none;
}

.vpj-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.vpj-field--captcha {
    margin-top: 4px;
}

.vpj-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.vpj-register-terms {
    margin: 20px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
    text-align: center;
}

.vpj-register-terms a {
    color: #0368ff;
    text-decoration: none;
    font-weight: 500;
}

.vpj-register-terms a:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    .vpj-fields-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.vpj-register .vpj-login-panel--register {
        min-height: 0;
    }
}
