@font-face {
    font-family: "NEOSANSARABIC";
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url("https://eservices.ammanu.edu.jo/Careers/Academic/assets/fonts/NEOSANSARABIC-Medium.ttf") format("truetype");
}


:root {
    --primary: #244B91;
    --primary-dark: #17376C;
    --deep: #102951;
    --gold: #D5A329;
    --gold-dark: #BA8613;
    --light-blue: #EDF4FF;
    --page: #F5F7FB;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E3E9F1;
    --white: #FFFFFF;
    --danger: #B42318;
    --success: #168256;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body,
button,
input,
select,
a,
span,
p,
h1,
h2,
h3,
h4,
label,
small,
strong {
    font-family: NEOSANSARABIC, Tahoma, Arial, sans-serif;
}


body {
    min-height: 100vh;
    background: var(--page);
    color: var(--text);
}


button,
input,
select {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


a {
    text-decoration: none;
}


/* =========================================================
   PAGE
========================================================= */

.page-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, .95fr) minmax(560px, 1.05fr);
    grid-template-rows: minmax(0, 1fr) auto;
    background: var(--page);
}


/* =========================================================
   LEFT SIDE
========================================================= */

.welcome-section {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    min-height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 64px clamp(38px, 5vw, 82px);
    color: var(--white);
    background: radial-gradient( circle at 12% 15%, rgba(255,255,255,.10), transparent 24% ), linear-gradient( 135deg, var(--deep) 0%, var(--primary-dark) 48%, var(--primary) 100% );
}


    .welcome-section::before,
    .welcome-section::after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 50%;
    }


    .welcome-section::before {
        width: 360px;
        height: 360px;
        left: -160px;
        bottom: -120px;
    }


    .welcome-section::after {
        width: 210px;
        height: 210px;
        right: -100px;
        top: 70px;
    }


.welcome-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
}


.university-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 54px;
}


.logo-placeholder {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    overflow: hidden;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 18px;
}


.aau-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.university-brand h2 {
    margin: 0 0 4px;
    color: var(--white);
    font-size: 21px;
    font-weight: normal;
}


.university-brand p {
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 13px;
}


.welcome-text {
    margin-bottom: 38px;
}


.small-title,
.form-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .05em;
}


.small-title {
    color: #FFE8A3;
    background: rgba(213,163,41,.12);
    border: 1px solid rgba(213,163,41,.28);
}


.welcome-text h1 {
    max-width: 520px;
    margin: 17px 0 15px;
    color: var(--white);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: normal;
    line-height: 1.13;
}


    .welcome-text h1 strong {
        color: #FFD86B;
        font-weight: normal;
    }


.welcome-text > p {
    max-width: 550px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.9;
}


.steps {
    display: grid;
    gap: 13px;
}


.step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 15px;
}


    .step.active {
        background: rgba(213,163,41,.10);
        border-color: rgba(213,163,41,.30);
    }


.step-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD86B;
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    font-size: 15px;
}


.step h4 {
    margin: 0 0 3px;
    color: var(--white);
    font-size: 13px;
    font-weight: normal;
}


.step p {
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.register-section {
    grid-column: 2;
    grid-row: 1;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px clamp(24px, 4vw, 62px);
    background: radial-gradient( circle at 100% 0%, rgba(36,75,145,.07), transparent 30% ), var(--page);
}


.register-container {
    width: 100%;
    max-width: 680px;
    margin: auto;
}


.top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}


.mobile-brand {
    display: none;
}


.language-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--primary-dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s ease;
}


    .language-btn:hover {
        border-color: #CAD7E9;
        box-shadow: 0 5px 14px rgba(15,23,42,.05);
    }


.form-header {
    margin-bottom: 20px;
}


.form-badge {
    color: var(--primary-dark);
    background: var(--light-blue);
    border: 1px solid #D8E4F7;
}


.form-header h2 {
    margin: 15px 0 7px;
    color: var(--deep);
    font-size: 28px;
    font-weight: normal;
}


.form-header p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   ALERT
========================================================= */

.alert {
    display: none;
    margin-bottom: 15px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
}


    .alert:not(:empty) {
        display: block;
    }


    .alert.error {
        color: var(--danger);
        background: #FFF5F4;
        border: 1px solid #F7D2CE;
    }


    .alert.success {
        color: #11653F;
        background: #F0FBF6;
        border: 1px solid #BEE8D3;
    }


/* =========================================================
   FORM
========================================================= */

#registerForm {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
}


.registration-section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 2px 0 19px;
    padding: 13px 14px;
    background: #F6F9FC;
    border: 1px solid #E0E8F1;
    border-radius: 11px;
}


    .registration-section-title.account-title {
        margin-top: 12px;
    }


.registration-section-icon {
    width: 39px;
    height: 39px;
    min-width: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #E8F1FB;
    border-radius: 10px;
}


.registration-section-title strong {
    display: block;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: normal;
}


.registration-section-title small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}


.form-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}


.form-group {
    min-width: 0;
    margin-bottom: 16px;
}


    .form-group.full-width {
        width: 100%;
    }


    .form-group label {
        display: flex;
        align-items: center;
        gap: 4px;
        margin: 0 0 8px;
        color: #475569;
        font-size: 12px;
    }


        .form-group label b {
            color: #DC2626;
            font-weight: normal;
        }


.input-wrapper {
    position: relative;
}


    .input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        color: #94A3B8;
        font-size: 14px;
        pointer-events: none;
    }


html[dir="rtl"] .input-wrapper > i {
    left: auto;
    right: 14px;
}


.input-wrapper input,
.input-wrapper select {
    width: 100%;
    height: 47px;
    padding: 0 42px 0 14px;
    color: #334155;
    background: var(--white);
    border: 1px solid #D7E0EA;
    border-radius: 10px;
    outline: none;
    font-size: 12px;
    transition: .2s ease;
}


.input-wrapper select {
    appearance: none;
    cursor: pointer;
}


    .input-wrapper select:disabled {
        color: #9AA4B1;
        background: #F4F6F8;
        cursor: not-allowed;
    }


html[dir="rtl"] .input-wrapper input,
html[dir="rtl"] .input-wrapper select {
    padding: 0 42px 0 38px;
    text-align: right;
}


.input-wrapper input:focus,
.input-wrapper select:focus,
.phone-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36,75,145,.07);
}


.input-wrapper.input-error input,
.input-wrapper.input-error select,
.phone-wrapper.input-error {
    border-color: var(--danger);
}


.input-wrapper input::placeholder {
    color: #A0AEC0;
}


/* =========================================================
   PASSWORD
========================================================= */

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}


html[dir="rtl"] .password-toggle {
    right: auto;
    left: 10px;
}


/* =========================================================
   PHONE
========================================================= */

.phone-wrapper {
    height: 47px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #D7E0EA;
    border-radius: 10px;
    transition: .2s ease;
}


.country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    padding: 0 10px;
    color: #475569;
    background: #F8FAFC;
    border-right: 1px solid #E2E8F0;
    font-size: 12px;
    direction: ltr;
}


html[dir="rtl"] .country-code {
    border-right: 0;
    border-left: 1px solid #E2E8F0;
}


.phone-wrapper input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0 13px;
    color: #334155;
    font-size: 12px;
    direction: ltr;
}


/* =========================================================
   ERRORS
========================================================= */

.error-message {
    display: block;
    min-height: 15px;
    margin-top: 5px;
    color: var(--danger);
    font-size: 10px;
}


/* =========================================================
   PASSWORD HINT
========================================================= */

.password-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -1px 0 15px;
    padding: 10px 12px;
    color: #64748B;
    background: #F8FAFC;
    border: 1px solid #E6ECF3;
    border-radius: 10px;
    font-size: 10px;
}


    .password-hint i {
        color: var(--gold-dark);
    }


/* =========================================================
   TERMS
========================================================= */

.terms {
    margin: 3px 0 17px;
}


.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #64748B;
    font-size: 10px;
    line-height: 1.7;
    cursor: pointer;
}


    .checkbox-container > input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }


.custom-checkbox {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border: 1px solid #C9D3E0;
    border-radius: 5px;
    background: var(--white);
}


.checkbox-container input:checked +
.custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}


    .checkbox-container input:checked +
    .custom-checkbox::after {
        content: "✓";
        color: var(--white);
        font-size: 11px;
        line-height: 1;
    }


.terms-text a {
    color: var(--primary);
}


/* =========================================================
   BUTTON
========================================================= */

.register-btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--white);
    background: linear-gradient( 135deg, var(--primary), var(--primary-dark) );
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(36,75,145,.17);
    transition: .2s ease;
}


    .register-btn:hover {
        transform: translateY(-1px);
    }


.submit-arrow {
    transition: transform .2s ease;
}


html[dir="rtl"] .submit-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   LOGIN
========================================================= */

.login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 16px;
    color: #64748B;
    font-size: 11px;
}


    .login-link a {
        color: var(--primary);
    }


.support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    color: #94A3B8;
    font-size: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px clamp(24px, 5vw, 70px);
    color: rgba(255,255,255,.80);
    background: linear-gradient( 135deg, var(--deep) 0%, var(--primary-dark) 100% );
    border-top: 4px solid var(--gold);
    font-size: 10px;
}


.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}


.site-footer a {
    color: rgba(255,255,255,.80);
}


    .site-footer a:hover {
        color: var(--white);
    }


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] body {
    direction: rtl;
}


html[dir="rtl"] .university-brand,
html[dir="rtl"] .step,
html[dir="rtl"] .form-header,
html[dir="rtl"] .welcome-text,
html[dir="rtl"] .registration-section-title {
    text-align: right;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .page-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }


    .welcome-section {
        display: none;
    }


    .register-section {
        grid-column: 1;
        grid-row: 1;
        min-height: auto;
        padding: 24px 16px 34px;
    }


    .register-container {
        max-width: 650px;
    }


    .top-bar {
        justify-content: space-between;
        margin-bottom: 20px;
    }


    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }


    .small-logo {
        width: 48px;
        height: 48px;
        min-width: 48px;
        flex-basis: 48px;
        padding: 4px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 12px;
    }


    .mobile-brand h3 {
        margin: 0 0 2px;
        color: var(--deep);
        font-size: 14px;
        font-weight: normal;
    }


    .mobile-brand span {
        color: var(--muted);
        font-size: 10px;
    }


    .site-footer {
        grid-column: 1;
        grid-row: 2;
    }
}


@media (max-width: 650px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .form-header h2 {
        font-size: 24px;
    }


    #registerForm {
        padding: 20px 16px;
        border-radius: 17px;
    }


    .site-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 7px;
        padding: 15px 16px;
    }


    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}


@media (max-width: 480px) {

    .register-section {
        padding: 18px 12px 28px;
    }


    .top-bar {
        align-items: flex-start;
    }


    .mobile-brand h3 {
        max-width: 180px;
        line-height: 1.4;
    }


    .language-btn {
        padding: 0 11px;
    }


    .country-code {
        min-width: 84px;
    }
}
/* =========================================================
   DESIGN FIXES - REGISTER PAGE
========================================================= */


/* ---------------------------------------------------------
   FORM CARD
--------------------------------------------------------- */

#registerForm {
    padding: 27px;
    background: #FFFFFF;
    border: 1px solid #DFE7F0;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(15,23,42,.07);
}


/* ---------------------------------------------------------
   ROWS
--------------------------------------------------------- */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 0;
}


/* ---------------------------------------------------------
   FORM GROUP
--------------------------------------------------------- */

.form-group {
    min-width: 0;
    margin-bottom: 18px;
}


    .form-group label {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 9px;
        color: #334155;
        font-size: 12px;
        line-height: 1.5;
    }


/* ---------------------------------------------------------
   INPUT WRAPPER
--------------------------------------------------------- */

.input-wrapper {
    position: relative;
}


    /* Icon */

    .input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        width: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94A3B8;
        font-size: 14px;
        pointer-events: none;
        z-index: 2;
    }


/* ---------------------------------------------------------
   ENGLISH INPUT + SELECT
--------------------------------------------------------- */

html[dir="ltr"] .input-wrapper input,
html[dir="ltr"] .input-wrapper select {
    width: 100%;
    height: 48px;
    /* Important fix:
       space for icon on left
    */

    padding: 0 15px 0 47px;
    color: #334155;
    background: #FFFFFF;
    border: 1px solid #D7E0EA;
    border-radius: 10px;
    outline: none;
    font-size: 12px;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}


/* ---------------------------------------------------------
   ARABIC INPUT + SELECT
--------------------------------------------------------- */

html[dir="rtl"] .input-wrapper > i {
    left: auto;
    right: 15px;
}


html[dir="rtl"] .input-wrapper input,
html[dir="rtl"] .input-wrapper select {
    width: 100%;
    height: 48px;
    padding: 0 47px 0 15px;
    text-align: right;
    color: #334155;
    background: #FFFFFF;
    border: 1px solid #D7E0EA;
    border-radius: 10px;
    outline: none;
    font-size: 12px;
}


/* ---------------------------------------------------------
   DISABLED
--------------------------------------------------------- */

.input-wrapper select:disabled {
    color: #9AA8B7;
    background: #F5F7FA;
    border-color: #E0E6ED;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   PLACEHOLDERS
--------------------------------------------------------- */

.input-wrapper input::placeholder {
    color: #A0AEC0;
    opacity: 1;
    font-weight: normal;
}


/* ---------------------------------------------------------
   HOVER / FOCUS
--------------------------------------------------------- */

.input-wrapper input:hover,
.input-wrapper select:not(:disabled):hover {
    border-color: #C6D4E5;
}


.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: #244B91;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(36,75,145,.08);
}


/* ---------------------------------------------------------
   PASSWORD
--------------------------------------------------------- */

/*
   English:
   icon left
   eye right
*/

html[dir="ltr"] .input-wrapper input[type="password"],
html[dir="ltr"] #password,
html[dir="ltr"] #confirmPassword {
    padding-left: 47px;
    padding-right: 52px;
}


/*
   Arabic:
   icon right
   eye left
*/

html[dir="rtl"] .input-wrapper input[type="password"],
html[dir="rtl"] #password,
html[dir="rtl"] #confirmPassword {
    padding-right: 47px;
    padding-left: 52px;
}


.password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #64748B;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    z-index: 3;
}


    .password-toggle:hover {
        color: #244B91;
        background: #F2F6FC;
    }


html[dir="rtl"] .password-toggle {
    right: auto;
    left: 9px;
}


/* ---------------------------------------------------------
   SECTION TITLE
--------------------------------------------------------- */

.registration-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 21px;
    padding: 14px 15px;
    background: linear-gradient( 135deg, #F7FAFE, #F2F6FB );
    border: 1px solid #DCE6F1;
    border-radius: 11px;
}


    .registration-section-title.account-title {
        margin-top: 14px;
    }


.registration-section-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #244B91;
    background: #E7F0FC;
    border-radius: 10px;
    font-size: 15px;
}


.registration-section-title strong {
    display: block;
    color: #17376C;
    font-size: 12px;
    line-height: 1.4;
}


.registration-section-title small {
    display: block;
    margin-top: 3px;
    color: #718096;
    font-size: 9px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   PHONE NUMBER
--------------------------------------------------------- */

/*
   Phone is stored/displayed internationally.
*/

#phone {
    direction: ltr;
    text-align: left;
}


html[dir="rtl"] #phone {
    direction: ltr;
    text-align: left;
}


/* This is the text visible below phone in your screenshot */

.phone-help {
    display: block;
    min-height: 14px;
    margin-top: 6px;
    color: #7A8797;
    font-size: 9.5px;
    font-weight: normal !important;
    line-height: 1.55;
}


html[dir="rtl"] .phone-help {
    text-align: right;
}


/* ---------------------------------------------------------
   COUNTRY OTHER FIELD
--------------------------------------------------------- */

#otherCountryGroup[hidden] {
    display: none !important;
}


#otherCountryGroup:not([hidden]) {
    display: block;
    animation: countryFieldOpen .18s ease;
}


@keyframes countryFieldOpen {

    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------------------------------------------------------
   ERROR
--------------------------------------------------------- */

.error-message {
    display: block;
    min-height: 15px;
    margin-top: 5px;
    color: #B42318;
    font-size: 10px;
    line-height: 1.5;
}


.input-wrapper.input-error input,
.input-wrapper.input-error select {
    border-color: #D85D55;
    background: #FFFDFC;
    box-shadow: 0 0 0 3px rgba(184,35,24,.05);
}


/* ---------------------------------------------------------
   PASSWORD HINT
--------------------------------------------------------- */

.password-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1px 0 17px;
    padding: 10px 12px;
    color: #6B7787;
    background: #F8FAFC;
    border: 1px solid #E5EBF2;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   REGISTER BUTTON
--------------------------------------------------------- */

.register-btn {
    min-height: 49px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(36,75,145,.18);
}


    .register-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 22px rgba(36,75,145,.22);
    }


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 650px) {

    .form-row {
        grid-template-columns: 1fr;
        column-gap: 0;
    }


    #registerForm {
        padding: 21px 17px;
    }


    .registration-section-title {
        padding: 12px;
    }
}
/* =========================================================
   PHONE FIELD - FINAL DESIGN FIX
========================================================= */

.phone-input-wrapper {
    position: relative;
}


/* Always display phone from left to right */

#phone {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: plaintext;
}


/* English */

html[dir="ltr"] #phone {
    padding-left: 47px !important;
    padding-right: 15px !important;
}


/* Arabic
   icon remains on the right,
   but number remains LTR
*/

html[dir="rtl"] #phone {
    direction: ltr !important;
    text-align: left !important;
    padding-left: 15px !important;
    padding-right: 47px !important;
}


/* Phone placeholder */

#phone::placeholder {
    direction: ltr !important;
    text-align: left !important;
    color: #A0AEC0;
    opacity: 1;
}


/* =========================================================
   PHONE HELP
========================================================= */

.phone-help {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
    min-height: 18px;
    color: #7B8796;
    font-size: 9px !important;
    font-weight: normal !important;
    line-height: 1.5;
}


    /* Info icon */

    .phone-help > i {
        flex: 0 0 auto;
        color: #A5B0BF;
        font-size: 9px;
    }


    /* Normal helper text */

    .phone-help > span {
        font-size: 9px !important;
        font-weight: normal !important;
        color: #7B8796;
    }


/* Country codes */

.phone-examples {
    direction: ltr !important;
    unicode-bidi: isolate;
    white-space: nowrap;
    color: #526274 !important;
    font-size: 9px !important;
    font-weight: normal !important;
    letter-spacing: .1px;
}


/* Arabic */

html[dir="rtl"] .phone-help {
    direction: rtl;
    justify-content: flex-start;
    text-align: right;
}


/* English */

html[dir="ltr"] .phone-help {
    direction: ltr;
    justify-content: flex-start;
    text-align: left;
}


/* =========================================================
   KEEP BOTH COLUMNS ALIGNED
========================================================= */

.form-row {
    align-items: start;
}


/* Prevent helper text from creating a huge gap */

.phone-help + .error-message {
    margin-top: 2px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .phone-help {
        font-size: 8.5px !important;
    }


        .phone-help > span,
        .phone-examples {
            font-size: 8.5px !important;
        }
}
