:root {
    --brand: #075E54;
    --brand-dark: #054d44;
    --brand-soft: #e9f7f4;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f4f7fb;
    --input-bg: #f8fafc;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

body {
    background: radial-gradient(circle at top right, rgba(7,94,84,.06), transparent 25%), var(--bg);
    font-family: 'Cairo', sans-serif;
    margin: 0;
}

.login-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    width: 100%;
}

.login-shell {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
}

.login-side {
    background: linear-gradient(180deg, #075E54 0%, #0a7a6d 100%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.login-side::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    top: -80px;
    left: -80px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 2;
}

.side-content {
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.side-content h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.side-content p {
    color: rgba(255,255,255,.85);
    line-height: 1.8;
    font-size: 1rem;
}

.feature-list {
    margin-top: 30px;
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.login-side-footer {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.login-card {
    padding: 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.icon-box {
    background: var(--brand-soft);
    min-width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.5rem;
}

.login-header h2 {
    color: var(--text);
    font-weight: 900;
    font-size: 1.6rem;
    margin: 0;
}

.form-label {
    font-weight: 800;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid var(--border);
    border-radius: 16px;
    font-size: 1rem;
    background: var(--input-bg);
    box-sizing: border-box;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-color: var(--brand);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(7,94,84,.05);
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.6;
}

.btn-action {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-weight: 800;
    width: 100%;
    font-size: 1.05rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(7, 94, 84, 0.1);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(7, 94, 84, 0.15);
}

.btn-action:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.activation-alert {
    background-color: #f0fdf4;
    border-right: 5px solid #22c55e;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.activation-alert-content {
    font-size: 0.85rem;
    color: #1b5e20;
}

.activation-alert-content p {
    margin: 0;
}

.card-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.card-footer a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 800;
}

.verify-phone-info{
    padding:14px 18px;
    border:1px solid #dfe8e5;
    border-radius:14px;
    background:#f8fbfa;
    color:#0d6b5b;
    font-size:15px;
    font-weight:600;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.verify-phone-info i{
    color:#25D366;
    font-size:24px;
}

.verify-phone-info strong{
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}
#prefixSelect{
    padding-right: 5px;
}
.terms-checkbox-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
    line-height: 1.8;
    font-size: 14px;
    color: #374151;
}

.terms-checkbox-box input {
    width: 18px;
    height: 18px;
    margin-top: 5px;
    accent-color: #198754;
    flex: 0 0 auto;
}

.terms-checkbox-box a {
    color: #198754;
    font-weight: 700;
    text-decoration: none;
}

.terms-checkbox-box a:hover {
    text-decoration: underline;
}

.legal-page {
    max-width: 1000px;
    border-radius: 10px;
}

.legal-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.legal-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.legal-header h1 {
    font-weight: 800;
    margin-bottom: 10px;
}

.legal-content {
    line-height: 2;
    font-size: 16px;
    color: #1f2937;
    white-space: normal;
}
.is-invalid-field {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}

.field-error-message {
    margin-top: 7px;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 700;
}
@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-side {
        display: none;
    }

    .login-card {
        padding: 32px 22px;
    }
}
/********** regester page **********/
.register-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.register-shell {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 400px 1fr;
    background: #fff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
}

.register-side {
    background: linear-gradient(180deg, #075E54 0%, #0a7a6d 100%);
    color: #fff;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.register-side::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.brand-title {
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.brand-title h1 {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 15px;
}

.brand-title p {
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

.side-features {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    display: grid;
    gap: 12px;
}

.feature-card {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.feature-card h6 {
    margin: 0 0 3px;
    font-weight: 800;
    font-size: 0.95rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
}

.side-footer-note {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.08);
    border: 1px dashed rgba(255,255,255,.2);
    border-radius: 18px;
    padding: 12px 15px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin-top: 30px;
}

.register-card {
    padding: 45px 50px;
    background: #fff;
}

.form-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 35px;
}

.form-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.4rem;
}

.form-topbar h2 {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    font-size: 1.5rem;
}

.form-topbar p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-title {
    font-size: .9rem;
    font-weight: 800;
    color: var(--brand);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #d7e3df;
}

.field-block {
    margin-bottom: 20px;
}

.form-input,
.form-select-custom {
    width: 100%;
    min-height: 52px;
    border-radius: 15px;
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    transition: .2s ease;
    font-size: .95rem;
    padding: 12px 45px 12px 15px;
    box-sizing: border-box;
}

.form-input:focus,
.form-select-custom:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7,94,84,.05);
}

.phone-card {
    background: #f8fafc;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 20px;
}

.phone-group {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
}

.whatsapp-note {
    display: block;
    color: #b38600;
    font-size: .8rem;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.7;
}

.country-hint {
    font-size: .78rem;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.6;
}

.btn-register {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-weight: 800;
    width: 100%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s;
    margin-top: 15px;
}

.btn-register:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
}

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.auth-footer a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 991px) {
    .register-shell {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .register-side {
        padding: 35px;
    }

    .register-card {
        padding: 35px;
    }
}

@media (max-width: 576px) {
    .register-shell {
        border-radius: 22px;
    }

    .register-card {
        padding: 25px 20px;
    }

    .phone-group {
        grid-template-columns: 1fr;
    }
}
/********** verify account page **********/
.verify-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.verify-shell {
    width: 100%;
    display: flex;
    justify-content: center;
}

.verify-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 45px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 450px;
    width: 100%;
    border: 1px solid #eef0f2;
}

.icon-box-verify {
    width: 70px;
    height: 70px;
    background: #e8f5e9;
    color: #075E54;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px auto;
}

.verify-title {
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 12px;
}

.verify-text {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.verify-email {
    color: #075E54;
    font-weight: 700;
}

.otp-input {
    letter-spacing: 12px;
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    border: 2px solid #edf2f7;
    border-radius: 18px;
    background: #f8fafc;
    width: 100%;
    padding: 15px 0;
    margin: 25px 0;
    transition: all 0.3s ease;
    color: #1a202c;
}

.otp-input:focus {
    border-color: #075E54;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(7, 94, 84, 0.1);
}

.btn-verify-submit {
    background: #075E54;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 18px;
    font-weight: 700;
    width: 100%;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 15px -3px rgba(7, 94, 84, 0.3);
}

.btn-verify-submit:hover {
    background: #054d44;
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(7, 94, 84, 0.4);
}

.btn-verify-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.verify-arrow {
    font-size: 1.3rem;
}

.resend-link {
    color: #075E54;
    text-decoration: underline;
    font-weight: 800;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.timer-box {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 576px) {
    .verify-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .otp-input {
        font-size: 1.6rem;
        letter-spacing: 8px;
    }
}