/* =====================================================
   ABC - REGISTER PAGE
   Naukri-style professional registration layout
===================================================== */

/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f8fa;
    color: #1f2937;
    min-height: 100vh;
}

button,
input,
select {
    font-family: inherit;
}


/* =====================================================
   MAIN PAGE
===================================================== */

.register-page {
    min-height: 100vh;
    background: #f7f8fa;
}


/* =====================================================
   TOP HEADER
===================================================== */

.register-header {
    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 76px;

    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    position: relative;
    z-index: 10;
}


/* =====================================================
   ABC LOGO
===================================================== */

.register-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #2563eb;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #2563eb;
    color: #ffffff;

    font-size: 19px;
    font-weight: 800;
}

.logo-text {
    color: #2563eb;

    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.5px;
}


/* =====================================================
   ALREADY REGISTERED
===================================================== */

.already-account {
    display: flex;
    align-items: center;
    gap: 5px;

    color: #374151;

    font-size: 14px;
}

.already-account a {
    color: #2563eb;

    font-weight: 600;
    text-decoration: none;
}

.already-account a:hover {
    text-decoration: underline;
}


/* =====================================================
   MAIN CONTENT
===================================================== */

.register-content {
    width: 100%;
    max-width: 1215px;

    margin: 0 auto;

    padding: 40px 20px 60px;

    display: grid;

    grid-template-columns: 300px minmax(0, 1fr);

    gap: 50px;

    align-items: start;
}


/* =====================================================
   LEFT BENEFIT CARD
===================================================== */

.register-benefits {
    width: 100%;

    background: #ffffff;

    border: 1px solid #dfe3eb;

    border-radius: 9px;

    padding: 30px 26px 27px;

    margin-top: 0;
}


/* =====================================================
   LEFT ILLUSTRATION
===================================================== */

.benefit-illustration {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-bottom: 25px;
}

.illustration-circle {
    width: 145px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef4ff;

    color: #2563eb;

    font-size: 68px;

    border: 8px solid #f7f9ff;
}


/* =====================================================
   LEFT CARD HEADING
===================================================== */

.register-benefits h2 {
    margin-bottom: 9px;

    color: #111827;

    font-size: 18px;
    line-height: 1.4;

    font-weight: 700;

    text-align: left;
}

.benefit-subtitle {
    margin-bottom: 25px;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.55;
}


/* =====================================================
   BENEFIT LIST
===================================================== */

.benefit-list {
    display: flex;
    flex-direction: column;

    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #374151;

    font-size: 13px;
    line-height: 1.45;
}

.benefit-icon {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 1px;

    border-radius: 50%;

    background: #22c55e;
    color: #ffffff;

    font-size: 9px;
}


/* =====================================================
   RIGHT REGISTRATION CARD
===================================================== */

.register-card {
    width: 100%;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 5px 24px rgba(15, 23, 42, 0.07);

    overflow: hidden;
}


/* =====================================================
   CARD HEADER
===================================================== */

.register-card-header {
    padding: 38px 50px 26px;

    background: #ffffff;
}

.register-card-header h1 {
    margin-bottom: 7px;

    color: #111827;

    font-size: 23px;
    line-height: 1.35;

    font-weight: 700;
}

.register-card-header p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.5;
}


/* =====================================================
   CARD BODY
===================================================== */

.register-card-body {
    padding: 0 50px 38px;
}


/* =====================================================
   FORM
===================================================== */

.register-form {
    width: 100%;
}

.form-group {
    margin-bottom: 21px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #202124;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 600;
}

.form-group label span {
    color: #ef4444;
}


/* =====================================================
   INPUT WRAPPER
===================================================== */

.input-wrapper {
    position: relative;

    width: 100%;
}


/* =====================================================
   INPUT ICON
===================================================== */

.input-wrapper > i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #8b95a7;

    font-size: 14px;

    pointer-events: none;

    z-index: 2;
}


/* =====================================================
   INPUT
===================================================== */

.input-wrapper input {
    width: 100%;
    height: 47px;

    padding: 0 15px 0 43px;

    border: 1px solid #d8deea;

    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #1f2937;

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #9aa6c2;
}

.input-wrapper input:hover {
    border-color: #bfc8d8;
}

.input-wrapper input:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* =====================================================
   PASSWORD INPUT
===================================================== */

.input-wrapper input[type="password"],
.input-wrapper input[type="text"] {
    padding-right: 50px;
}


/* =====================================================
   PASSWORD TOGGLE
===================================================== */

.password-toggle {
    position: absolute;

    right: 11px;
    top: 50%;

    transform: translateY(-50%);

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    color: #7b8494;

    cursor: pointer;

    font-size: 15px;

    border-radius: 50%;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.password-toggle:hover {
    color: #2563eb;

    background: #f1f5ff;
}


/* =====================================================
   SELECT
===================================================== */

.input-wrapper select {
    width: 100%;
    height: 47px;

    padding: 0 42px 0 43px;

    border: 1px solid #d8deea;

    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #374151;

    font-size: 14px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper select:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.08);
}


/* =====================================================
   FORM HELP TEXT
===================================================== */

.form-group small {
    display: block;

    margin-top: 7px;

    color: #8490a5;

    font-size: 11px;

    line-height: 1.45;
}


/* =====================================================
   ERROR MESSAGE
===================================================== */

.register-error {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 20px;

    padding: 12px 14px;

    border: 1px solid #fecaca;

    border-radius: 9px;

    background: #fef2f2;

    color: #b91c1c;

    font-size: 13px;

    line-height: 1.4;
}

.register-error i {
    flex-shrink: 0;

    font-size: 15px;
}


/* =====================================================
   TERMS
===================================================== */

.terms-row {
    margin-top: 3px;

    margin-bottom: 22px;
}

.terms-row label {
    display: flex;
    align-items: flex-start;

    gap: 8px;

    color: #667085;

    font-size: 12px;

    line-height: 1.5;

    cursor: pointer;
}

.terms-row input {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    margin-top: 1px;

    accent-color: #2563eb;

    cursor: pointer;
}

.terms-row a {
    color: #2563eb;

    text-decoration: none;

    font-weight: 600;
}

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


/* =====================================================
   CREATE ACCOUNT BUTTON
===================================================== */

.register-button {
    width: 100%;
    height: 48px;

    border: none;

    border-radius: 24px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.register-button:hover {
    background: #1d4ed8;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, 0.18);
}

.register-button:active {
    transform: scale(0.99);
}


/* =====================================================
   OR DIVIDER
===================================================== */

.register-divider {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    margin: 26px 0 20px;
}

.register-divider span {
    flex: 1;

    height: 1px;

    background: #e5e7eb;
}

.register-divider p {
    flex-shrink: 0;

    color: #7b8494;

    font-size: 13px;
}


/* =====================================================
   GOOGLE BUTTON
===================================================== */

.google-button {
    width: 100%;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 1px solid #d7deea;

    border-radius: 23px;

    background: #ffffff;

    color: #374151;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.google-button i {
    color: #4285f4;

    font-size: 16px;
}

.google-button:hover {
    background: #f8fafc;

    border-color: #bfc8d8;

    box-shadow:
        0 3px 10px rgba(15, 23, 42, 0.06);
}


/* =====================================================
   BOTTOM LOGIN
===================================================== */

.login-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 24px;

    color: #6b7280;

    font-size: 13px;
}

.login-bottom a {
    color: #2563eb;

    font-weight: 600;

    text-decoration: none;
}

.login-bottom a:hover {
    text-decoration: underline;
}


/* =====================================================
   BACK HOME
===================================================== */

.back-home {
    margin-top: 18px;

    text-align: center;
}

.back-home a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #7b8494;

    font-size: 12px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.back-home a:hover {
    color: #2563eb;
}


/* =====================================================
   RESPONSIVE - 1100px
===================================================== */

@media (max-width: 1100px) {

    .register-header {
        padding: 0 45px;
    }

    .register-content {
        max-width: 1000px;

        grid-template-columns: 260px minmax(0, 1fr);

        gap: 35px;
    }

    .register-card-header {
        padding-left: 40px;
        padding-right: 40px;
    }

    .register-card-body {
        padding-left: 40px;
        padding-right: 40px;
    }

}


/* =====================================================
   RESPONSIVE - 850px
===================================================== */

@media (max-width: 850px) {

    .register-header {
        height: 68px;

        padding: 0 25px;
    }

    .register-content {
        max-width: 700px;

        grid-template-columns: 1fr;

        gap: 25px;

        padding-top: 25px;
    }

    .register-benefits {
        display: none;
    }

    .register-card {
        max-width: 650px;

        margin: 0 auto;
    }

}


/* =====================================================
   RESPONSIVE - 600px
===================================================== */

@media (max-width: 600px) {

    .register-header {
        padding: 0 18px;
    }

    .logo-mark {
        width: 33px;
        height: 33px;

        font-size: 17px;
    }

    .logo-text {
        font-size: 24px;
    }

    .already-account {
        font-size: 12px;
    }

    .register-content {
        padding: 18px 12px 35px;
    }

    .register-card {
        border-radius: 14px;

        box-shadow:
            0 3px 15px rgba(15, 23, 42, 0.06);
    }

    .register-card-header {
        padding: 28px 24px 20px;
    }

    .register-card-header h1 {
        font-size: 21px;
    }

    .register-card-header p {
        font-size: 13px;
    }

    .register-card-body {
        padding: 0 24px 28px;
    }

}


/* =====================================================
   RESPONSIVE - 450px
===================================================== */

@media (max-width: 450px) {

    .register-header {
        height: 62px;
    }

    .already-account span {
        display: none;
    }

    .already-account {
        font-size: 13px;
    }

    .register-content {
        padding: 12px 10px 25px;
    }

    .register-card-header {
        padding: 24px 18px 18px;
    }

    .register-card-header h1 {
        font-size: 20px;
    }

    .register-card-body {
        padding: 0 18px 25px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .input-wrapper input,
    .input-wrapper select {
        height: 46px;
    }

    .register-button {
        height: 46px;
    }

    .google-button {
        height: 45px;
    }

}


/* =====================================================
   RESPONSIVE - 360px
===================================================== */

@media (max-width: 360px) {

    .register-header {
        padding: 0 12px;
    }

    .logo-text {
        font-size: 22px;
    }

    .register-content {
        padding-left: 7px;
        padding-right: 7px;
    }

    .register-card-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .register-card-body {
        padding-left: 15px;
        padding-right: 15px;
    }

}

/* REVEAL JOB LOGO ASSET OVERRIDE */
.register-logo .job-rader-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    max-height: 62px;
    height: auto;
    object-fit: contain;
}
@media (max-width: 500px) {
    .register-logo .job-rader-logo {
        width: 165px;
        max-height: 54px;
    }
}


/* QA issue: compact registration fields for a cleaner form. */
.register-form { max-width: 460px; }
.input-wrapper input, .input-wrapper select { min-height: 42px; padding-top: 10px; padding-bottom: 10px; font-size: 14px; }
.register-content { padding-top: 22px; padding-bottom: 28px; }


/* REVEAL JOB registration sizing refinements */
.register-page .register-form,
.register-page form { width: 100%; }
.register-page .form-group { margin-bottom: 15px; }
.register-page .input-wrapper input,
.register-page .input-wrapper select,
.register-page .form-group input:not([type="checkbox"]),
.register-page .form-group select {
    min-height: 43px;
    height: 43px;
    font-size: 14px;
}
.register-page .input-wrapper { min-height: 43px; }
.register-page .form-group small { line-height: 1.45; }
.register-page .register-button { min-height: 46px; }
@media (min-width: 900px) {
    .register-page .register-card,
    .register-page .register-container,
    .register-page .register-form-card { max-width: 540px; }
}
@media (max-width: 600px) {
    .register-header { padding-left: 18px; padding-right: 18px; }
}

.register-login-link { display:inline-flex; align-items:center; gap:5px; color:#475569; font-size:13px; text-decoration:none; white-space:nowrap; }
.register-login-link strong { color:#0B1F3A; font-weight:800; }
.register-login-link:hover strong { color:#F58220; }


/* REVEAL JOB global search focus cleanup */
input[type="search"]:focus,input[type="search"]:focus-visible,input[name*="search"]:focus,input[name*="keyword"]:focus,input[name*="location"]:focus,.search-box input:focus,.search-bar input:focus,.jobs-search-field input:focus,.company-filter-search input:focus,.homepage-search input:focus,.job-search-form input:focus,.search-form input:focus{outline:0!important;box-shadow:none!important;border-color:transparent!important}
