
@font-face {
    font-family: "Ping AR + LT";
    src: url("../../fonts/PingARLT-Regular.woff2") format("woff2"),
        url("../../fonts/PingARLT-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR + LT";
    src: url("../../fonts/PingARLT-Medium.woff2") format("woff2"),
        url("../../fonts/PingARLT-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR + LT";
    src: url("../../fonts/PingARLT-Bold.woff2") format("woff2"),
        url("../../fonts/PingARLT-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR + LT";
    src: url("../../fonts/PingARLT-Light.woff2") format("woff2"),
        url("../../fonts/PingARLT-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ping AR + LT";
    src: url("../../fonts/PingARLT-Black.woff2") format("woff2"),
        url(".../../fonts/PingARLT-Black.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: "Ping AR + LT", sans-serif;
    margin: 0;
}

/* * {
    font-family: "Ping AR + LT", sans-serif;
} */

/* =========================
   Login Wrapper
   ========================= */
.login_wrapper {
    position: relative;
    min-height: 100vh;
    background-color: #f9f9f9;
    overflow-x: hidden;
    display: flex;
    -webkit-box-pack: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 60px;
}

.login_wrapper::before {
    content: " ";
    background-image: url("../../images/login-slides/pattern.png");
    background-repeat: no-repeat;
    width: 30rem;
    height: 100%;
    opacity: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: 100% 100%;
}

@media (max-width: 768px) {
    input {
        filter: none;
    }

    .login_wrapper::before {
        display: none;
    }
}

input {
    will-change: filter;
}

.login_wrapper .lang_wrapper {
    width: 28.2%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 5px 0;
}

.login_wrapper .lang_wrapper .m-logo {
    padding: 10px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    top: -30px;
}

.login_wrapper .lang_wrapper .lang_link {
    display: flex;
    align-items: center;
    direction: ltr;
    gap: 9px;
    font-size: 14px;
    color: #111;
    font-weight: 500;
}

.login_wrapper .lang_wrapper .lang_link svg,
.login_wrapper .lang_wrapper .lang_link path {
    fill: #111;
}

.login_wrapper .login_wrapper_inner {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    padding: 40px 25px;
    background-color: #fff;
    border: 1px solid #f0f2f5;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin: 0px auto;
}

.login_wrapper.register_wrapper .login_wrapper_inner {
    position: relative;
    padding: 40px 40px;
    width: 100%;
    max-width: 500px;
}

.login_wrapper.register_wrapper .login_wrapper_inner .m-title {
    margin-bottom: 30px;
}

.login_wrapper.register_wrapper .m-new-register {
    margin-top: 20px;
}

/* =========================
   Title
   ========================= */
.login_wrapper .m-title {
    margin-bottom: 40px;
}

.login_wrapper .m-title p {
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    color: #b2b2b2;
    text-align: center;
    margin-top: 20px;
}

.login_wrapper .m-title h3 {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.5;
}

/* =========================
   Registration Tabs
   ========================= */
.registration-tabs {
    margin: 30px 0;
}

.tabs-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.tabs-container .tab {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 12px 0;
    text-align: start;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tabs-container .tab::before {
    content: "";
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    display: block;
    position: absolute;
    bottom: 0;
    border-radius: 100px;
}

.tabs-container .tab span {
    font-size: 13px;
    font-weight: 500;
    color: #bfbfbf;
    transition: color 0.3s ease;
}

.tabs-container .tab.active::before {
    background-color: #000;
}

.tabs-container .tab.active span {
    color: #000;
    font-weight: 600;
}

.tabs-container .tab:not(.active):hover span {
    color: #374151;
}

/* =========================
   Form Groups
   ========================= */
.form-group {
    position: relative;
    margin-bottom: 16px;
}

.login_wrapper .form-group label {
    margin-bottom: 0.8rem;
    font-size: 15px;
}

.login_wrapper .form-group input {
    border-radius: 12px;
    padding: 16px 25px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    font-size: 16px;
    color: #141316;
    width: 100%;
    font-weight: 400;
    transition: all 0.3s ease;
}

.login_wrapper .form-group input.numeric-input {
    text-align: right;
}

.login_wrapper .form-group input.phone_number {
    text-align: left;
    padding: 16px 25px 12px;
    height: 58px;
}

.login_wrapper .form-group input::placeholder {
    opacity: 1;
    color: #b2b2b2;
    font-size: 15px;
}

.login_wrapper .form-group input:focus {
    border-color: #000;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.login_wrapper .form-group select {
    border-radius: 14px;
    padding: 16px 25px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    color: #141316;
    width: 100%;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNS41OSIgaGVpZ2h0PSI5LjE1OSIgdmlld0JveD0iMCAwIDE1LjU5IDkuMTU5Ij4KICA8cGF0aCBpZD0iUGF0aF8xMDI1MTIiIGRhdGEtbmFtZT0iUGF0aCAxMDI1MTIiIGQ9Ik04LjkxLDcuMTg3LDEuOTczLjI0OWEuODU1Ljg1NSwwLDAsMC0xLjIwNiwwTC4yNTYuNzZhLjg1NC44NTQsMCwwLDAsMCwxLjIwNkw2LjA4MSw3Ljc5Mi4yNDksMTMuNjI0YS44NTUuODU1LDAsMCwwLDAsMS4yMDZsLjUxMS41MTFhLjg1NS44NTUsMCwwLDAsMS4yMDYsMEw4LjkxLDguNGEuODYxLjg2MSwwLDAsMCwwLTEuMjFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS41OSkgcm90YXRlKDkwKSIgZmlsbD0iI2JjYmNiYyIvPgo8L3N2Zz4K");
    background-repeat: no-repeat;
    background-position: left 18px center;
    background-size: 12px;
    padding-left: 45px;
    cursor: pointer;
    border-radius: 14px;
}

.login_wrapper .form-group select:focus {
    border-color: #000;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.login_wrapper .form-group select:valid {
    color: #000;
}

/* .login_wrapper .form-group select.form-control:not([size]):not([multiple]) {
  height: auto;
} */

.login_wrapper .form-group select option {
    padding: 10px;
    color: #b2b2b2;
}

/* Form Control */
/* .form-control {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-control:focus {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  outline: none;
}

.form-control::placeholder {
  color: #9ca3af;
} */

/* =========================
   Password Wrapper
   ========================= */
.password-wrapper {
    position: relative;
}

.password-wrapper .toggle-password {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #d0d5dc;
    font-size: 20px;
    font-size: 16px;
    height: auto;
    line-height: 1;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-size: 16px;
    cursor: pointer;
}

/* =========================
   Submit Buttons
   ========================= */
.m-submit-btn {
    margin: 20px 0 10px;
}

.m-submit-btn button,
.m-submit-btn a {
    display: flex;
    background-color: #000;
    padding: 16px 25px;
    color: #fff;
    width: 100%;
    border-radius: 14px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.m-submit-btn button:hover,
.m-submit-btn a:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.login_wrapper .form-group input[type="submit"] {
    display: flex;
    background-color: #000;
    padding: 15px 16px;
    color: #fff;
    width: 100%;
    border-radius: 14px;
    text-align: center;
    height: 52.5px;
    align-items: center;
    justify-content: center;
    border: 0;
}

/* Loading State */
.has-spinner-link {
    position: relative;
}

.has-spinner-link.loading .button_text {
    opacity: 0;
}

.has-spinner-link.loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    z-index: 2;
    background-image: url("loading.gif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Button Variants */
.btn {
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #1f2937;
}

/* =========================
   Register/Login Links
   ========================= */
.m-new-register {
    margin-top: 20px;
    text-align: center;
}

.m-new-register a {
    color: #6654ea;
    font-weight: 400;
    margin-right: 5px;
    text-decoration: underline;
}

.m-new-register a:hover {
    text-decoration: underline;
}

.m-new-register span {
    font-size: 15px;
    color: #000000;
}

.m-forget-password {
    text-align: left;
    margin: 0 0 0 0;
}

.m-forget-password a {
    color: #111;
    text-decoration: none;
}

/* =========================
   Custom Checkbox
   ========================= */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hide native checkbox */
.custom-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    min-width: 24px;
    width: 24px;
    height: 24px;
    /* border-radius: 14px; */
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.custom-checkbox input[type="checkbox"]:checked {
    background-color: #000;
}
/* SVG checkmark */
.custom-checkbox input[type="checkbox"]::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='17.306' height='12.262' viewBox='0 0 17.306 12.262'><path d='M144.543,165.293a1.082,1.082,0,0,1,0,1.522l-10.1,10.1a1.073,1.073,0,0,1-1.522,0l-5.052-5.052a1.077,1.077,0,1,1,1.522-1.522l4.291,4.291,9.344-9.344A1.069,1.069,0,0,1,144.543,165.293Z' transform='translate(-127.55 -164.975)' fill='%23fff' fill-rule='evenodd'/></svg>")
        no-repeat center;
    background-size: contain;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: scale(1);
}

/* Text label */
.custom-checkbox label {
    color: #6c727f;
    cursor: pointer;
    display: block !important;
    margin-bottom: 0 !important;
    position: relative;
    top: 2px;
}

/* Link styling */
.custom-checkbox .link {
    color: #6654ea;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s;
}

.custom-checkbox .link:hover {
    color: #6654ea;
}

/* =========================
   Terms and Links
   ========================= */
.agree-terms {
    font-size: 13px;
    color: #6b7280;
    margin-top: 16px;
}

.agree-terms a {
    color: #8b5cf6;
    text-decoration: none;
}

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

/* =========================
   IBAN Prefix
   ========================= */
.iban-wrapper {
    position: relative;
}

.iban-prefix {
    position: absolute;

    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b2b2b2;
    font-weight: 500;
    font-size: 14px;
    z-index: 2;
}

.iban-wrapper input {
    padding-left: 50px;
}

/* =========================
   Page Link
   ========================= */
.page-link {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.page-link span {
    color: #8b5cf6;
    font-weight: 500;
}

/* =========================
   Store Link Availability
   ========================= */
.input-page-wrap {
    position: relative;
}

.storeLinkAvailability {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
}

.storeLinkAvailability:not(.not-available) {
    color: #10b981;
}

.storeLinkAvailability.not-available {
    color: #ef4444;
}

/* =========================
   Dotted Separator
   ========================= */
.dotted-separator {
    border-top: 2px dotted #e5e7eb;
    padding-top: 20px;
    margin-top: 20px;
}

/* =========================
   Footer Links
   ========================= */
.footer_links {
    padding: 20px 0px;
    width: 100%;
    max-width: 500px;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.register_wrapper .footer_links {
    width: 100%;
    max-width: 500px;
}

.footer_links ul {
    padding: 0;
    margin: 0;
}

.footer_links li {
    display: inline-block;
}

.footer_links li a {
    padding: 8px 10px;
    color: #6c757d;
    border-radius: 14px;
    text-decoration: none;
    background-color: rgba(178, 178, 178, 0.08);
    color: #1f1f1f;
}

.back_btn {
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    background-color: #f9f9f9;
    color: #262626;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: max-content;
    position: relative;
    top: -18px;
    border: 0;
}

.back_btn svg {
    width: 15px;
    height: 15px;
}

.register_wrapper .back_btn {
    top: -25px;
    right: -12px;
}

@media (max-width: 576px) {
    .register_wrapper .back_btn {
        top: -10px;
    }
}
/* =========================
   Phone Input (intlTelInput)
   ========================= */
.iti {
    width: 100%;
}

.iti__country-list {
    left: 0;
}

.iti__selected-flag {
    padding: 0 10px 0 15px;
}

.iti__flag.iti__sa {
    background-image: url("../../images/points-saudi-arabia-flag.png");
    background-position: 0 !important;
    background-size: cover;
    border: 0;
    box-shadow: none;
    border-radius: 6px;
    width: 38px;
    height: 25px;
}

.iti--separate-dial-code .iti__selected-dial-code {
    margin-bottom: 0;
    margin-top: 4px;
}

/* =========================
   Validation Styles
   ========================= */
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.custom-select.is-invalid {
    box-shadow: 0 0 0 4px #fecdca !important;
}

.invalid-feedback {
    width: 100% !important;
    padding: 5px 0 !important;
    position: absolute !important;
    font-size: 9px !important;
    margin: 0 !important;
    top: 100%;
}

.text-danger,
.text-success {
    color: red !important;
    font-size: 12px !important;
}

/* =========================
   Verification Input
   ========================= */
.verificationInput {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row-reverse;
    gap: 30px;
}

.verificationInput input {
    width: 80px !important;
    height: 75px !important;
    outline: none;
    text-align: center;
    box-shadow: none;
    margin: 0 !important;
    appearance: textfield;
    -webkit-appearance: textfield;
    font-size: 20px !important;
    padding: 10px 5px !important;
    font-weight: 800 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verificationInput input::-webkit-outer-spin-button,
.verificationInput input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.verificationInput input:last-child {
    margin-right: 0;
}

.verificationInput input:focus {
    border: 1px solid #101010;
}

@media (max-width: 576px) {
    .verificationInput {
        gap: 15px;
    }
    .verificationInput input {
        width: 70px !important;
        height: 70px !important;
        border-radius: 12px !important;
        padding: 0;
        font-size: 24px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* =========================
   Resend Code
   ========================= */
.resend_code {
    background-color: #f4f6f9;
    border-radius: 8px;
    padding: 8px 14px;
    color: #84869c;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    max-width: max-content;
}

.resend_code > a {
    text-align: center;
    color: #312e43;
    text-decoration: none;
}

.resend_code #countdowntimer {
    text-align: center;
}

.resend_code .resend_link {
    color: #b2b2b2;
    font-size: 14px;
    background: transparent;
    border: 0;
    span {
        color: #000;
        font-weight: 500;
    }
}

.resend_code .hidden {
    display: none;
}

/* =========================
   Toastr Notifications
   ========================= */
.toast-success {
    background-color: #00886a !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

#toast-container > div {
    width: max-content;
    border-radius: 14px;
}

#toast-container > .toast-success {
    background-position: 95%;
}

.toast .toast-message {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

#toast-container > .toast-info {
    background-color: #4081ff;
    box-shadow: none;
    opacity: 1;
}

#toast-container > .toast-info:hover {
    box-shadow: none;
}

#toast-container > .toast-error {
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJPdXRsaW5lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTIsMEExMiwxMiwwLDEsMCwyNCwxMiwxMi4wMTMsMTIuMDEzLDAsMCwwLDEyLDBabTAsMjJBMTAsMTAsMCwxLDEsMjIsMTIsMTAuMDExLDEwLjAxMSwwLDAsMSwxMiwyMloiLz48cGF0aCBkPSJNMTIsMTBIMTFhMSwxLDAsMCwwLDAsMmgxdjZhMSwxLDAsMCwwLDIsMFYxMkEyLDIsMCwwLDAsMTIsMTBaIi8+PGNpcmNsZSBjeD0iMTIiIGN5PSI2LjUiIHI9IjEuNSIvPjwvc3ZnPgo=") !important;
    background-position: 90%;
}

.toast-error {
    background-color: #de3333 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* =========================
   Utility Classes
   ========================= */
.d-flex {
    display: flex;
}

.gap-2 {
    gap: 12px;
}

.dark-logo {
    display: none;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 1400px) {
    .login_wrapper .login_wrapper_inner {
        max-width: 500px;
    }

    .footer_links {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 991px) {
    .login_wrapper {
        justify-content: flex-start;
    }

    .login_wrapper .lang_wrapper {
        width: 500px;
    }

    .login_wrapper .login_wrapper_inner,
    .login_wrapper.register_wrapper .login_wrapper_inner {
        max-width: 500px;
    }

    .login_wrapper.register_wrapper .login_wrapper_inner {
        max-width: 500px !important;
    }

    .footer_links {
        width: 100%;
        max-width: 500px;
    }

    .login_wrapper::after {
        left: -60%;
    }

    .login_wrapper::before {
        right: -60%;
    }
}

@media (max-width: 576px) {
    .login_wrapper {
        justify-content: flex-start;
    }

    .login_wrapper .lang_wrapper {
        width: 100%;
    }

    .login_wrapper .login_wrapper_inner {
        max-width: 95%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .login_wrapper.register_wrapper .login_wrapper_inner {
        max-width: 95% !important;
        padding: 20px 15px;
    }

    .tabs-container .tab span {
        font-size: 12px;
        white-space: nowrap;
    }

    .footer_links,
    .register_wrapper .footer_links {
        width: 100%;
        max-width: 95%;
    }
}

.verfication-error {
    position: relative;
    top: -25px;
}
