/* Auth pages — login / register */
body.aayojob-auth {
    background: #f4f5f7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

body.aayojob-auth .site-header,
body.aayojob-auth .auth-header,
body.aayojob-auth .header,
body.aayojob-auth .n-header {
    display: none !important;
}

.aajo-auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.aajo-auth-topbar {
    padding: 20px 24px;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

.aajo-auth-topbar .aajo-logo {
    color: #4b2c82;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.aajo-auth-split {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 65px);
}

.aajo-auth-form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #fff;
}

.aajo-auth-card {
    width: min(100%, 440px);
}

.aajo-auth-card h1,
.aajo-auth-card h4 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.aajo-auth-card__sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 28px;
}

.aajo-auth-card__sub a {
    color: #4b2c82;
    font-weight: 600;
    text-decoration: none;
}

.aajo-auth-card__sub a:hover {
    text-decoration: underline;
}

.aajo-auth-field {
    margin-bottom: 16px;
}

.aajo-auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.aajo-auth-field input[type="email"],
.aajo-auth-field input[type="password"],
.aajo-auth-field input[type="text"],
.aajo-auth-field .form-control,
.aajo-auth-field .field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.aajo-auth-field input:focus,
.aajo-auth-field .form-control:focus {
    border-color: #4b2c82;
    box-shadow: 0 0 0 3px rgba(75, 44, 130, 0.12);
    outline: none;
}

.aajo-auth-field .d-flex.fromGroup {
    position: relative;
}

.aajo-auth-field .has-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
}

.aajo-auth-field .has-badge + input,
.aajo-auth-field .d-flex.fromGroup input {
    padding-right: 44px;
}

.aajo-auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.aajo-auth-actions a {
    color: #4b2c82;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.aajo-auth-actions a:hover {
    text-decoration: underline;
}

.aajo-auth-card .btn-primary,
.aajo-auth-card .aajo-btn--purple {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    background: #4b2c82 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.aajo-auth-card .btn-primary:hover:not(:disabled) {
    background: #3d2260 !important;
}

.aajo-auth-card .btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.aajo-auth-or {
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
    margin: 20px 0;
    position: relative;
}

.aajo-auth-or::before,
.aajo-auth-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e8eaed;
}

.aajo-auth-or::before { left: 0; }
.aajo-auth-or::after { right: 0; }

.aajo-auth-social {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.aajo-auth-social .btn-outline-plain {
    border: 1px solid #e8eaed !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    color: #374151 !important;
    background: #fff !important;
}

.aajo-auth-social .btn-outline-plain:hover {
    border-color: #4b2c82 !important;
    color: #4b2c82 !important;
}

.aajo-auth-panel {
    background: linear-gradient(160deg, #4b2c82 0%, #5a358f 50%, #3d2260 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.aajo-auth-panel__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.aajo-auth-panel__content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.aajo-auth-panel__content h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin: 0 0 32px;
    color: #fff;
    line-height: 1.25;
}

.aajo-auth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.aajo-auth-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
}

.aajo-auth-stat__value {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
}

.aajo-auth-stat__label {
    font-size: 12px;
    margin: 0;
    opacity: 0.85;
}

.aajo-auth-stat__icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .aajo-auth-split {
        grid-template-columns: 1fr;
    }

    .aajo-auth-panel {
        order: -1;
        min-height: 280px;
        padding: 32px 24px;
    }

    .aajo-auth-panel__content h2 {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .aajo-auth-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .aajo-auth-stats {
        grid-template-columns: 1fr;
    }
}
