﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration-line: none;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

#root,
#__next {
    isolation: isolate;
}

:root {
    --color-white: #ffffff;
    --color-primary: #364152;
    --color-primary-1: #202939;
    --color-primary-2: #364152;
    --color-secondary: #697586;
    --color-danger: #dc3736;
    --color-gray: #cdd5df;
    --color-blue: #015aa9;
    --color-blue-1: #eaf5ff;
    --color-blue-2: #3984fd;
    --color-yellow: #d68d00;
    --color-purple: #8e24aa;
    --color-green: #13c05d;
    --color-green-1: #9ff9c1;
    --color-green-2: #e0ffeb;
    --color-black: #000000;
}

::-webkit-scrollbar {
    width: 6px;
}

.container {
    max-width: 1440px;
    margin: auto;
    width: 100%;
}

.text-white {
    color: var(--color-white);
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-primary-1 {
    color: var(--color-primary-1) !important;
}

.text-primary-2 {
    color: var(--color-primary-2) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-disable {
    color: var(--color-gray) !important;
    cursor: not-allowed !important;
}

.bg-blue {
    background-color: var(--color-blue);
}

.bg-blue-2 {
    background-color: var(--color-blue-2);
}

.bg-yellow {
    background-color: var(--color-yellow);
}

.bg-gray {
    background-color: var(--color-gray);
}

.bg-purple {
    background-color: var(--color-purple);
}

.text-display-lg {
    font-weight: 600;
    font-size: 64px;
    line-height: 80px;
    letter-spacing: -0.01em;
}

.text-display-sm {
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0em;
}

.text-heading-md {
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0em;
}

.text-label-md {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.005em;
}

.text-body-sm {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0em;
    text-decoration:none;
}

.text-body-md {
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0em;
    color: #364152 !important;
}

.text-body-xs {
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0em;
}

.text-cta-md {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: center;
    text-transform: capitalize;
}

.text-cta-sm {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: center;
    text-transform: capitalize;
}

.border {
    border: 1px solid var(--color-gray);
}

.required {
    position: relative;
    padding-right: 4px;
}

    .required::after {
        content: "*";
        color: var(--color-danger);
    }

.cardBlock {
    width: 6px;
    height: 20px;
    border-radius: 4px;
}

/* style  */
.main {
    background-image: url(../Images/bg-adm.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}

.imgIcon {
    background-image: url(../Images/searchIcon.svg);
    height: 40px;
    width: 40px;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
    z-index: 0;
}

#email-error{
    color:red;
}
/*.otpItem.error {
    border: 1px solid var(--color-danger);
}*/
.main::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(18, 2, 47, 0.5), rgba(18, 2, 47, 0.5)), linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.mainContent {
    position: relative;
    z-index: 1;
    display: flex;
    /* gap: 80px; */
    padding-block: 96px;
    justify-content: space-evenly;
    min-height: 100vh;
}

.mainContent__header {
    width: min(507px, calc(50% - 40px));
    height: 500px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 96px;
}

.headerLogo {
    width: 150px;
    height: 90px;
    background-image: url(../Images/logo-sm.svg);
    background-repeat: no-repeat;
    background-position: center;
    /*background-size: contain;*/
    cursor:pointer;
}

.mainContent__form {
    width: min(580px, calc(50% - 40px));
    height: max-content;
    border-radius: 24px;
    padding: min(48px, 4.47vw);
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.enquiryForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.formBlock {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.formBlock__title {
    display: flex;
    gap: 8px;
    align-items: center;
}

.formItem {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.customSelect {
    width: 100%;
    height: 44px;
    border: 1px solid var(--color-gray);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.customSelect__value {
    flex: 1;
    overflow: hidden;
    -webkit-line-clamp: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.caret {
    width: 20px;
    height: 20px;
    transition: all 0.25s ease-in-out;
    border-top: 0px !important;
}

.customInputFile {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-blue);
    cursor: pointer;
    width: max-content;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    text-decoration:underline;
}

.btnTrash{
    cursor:pointer;
}

.customInputFile__fileName {
    display: flex;
    gap: 4px;
    align-items: center;
    color: var(--color-blue) !important;
    text-decoration: underline;
    cursor: default;
    width: max-content;
}


label {
    font-weight: normal !important;
}

.customSelect__options {
    display: none;
    transition: all 0.25s ease-in-out;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

input[type="checkbox"]:checked ~ .customSelect__options {
    display: block;
    position: absolute;
    height: auto;
    z-index: 1;
    width: 100%;
    max-height: 200px;
    overflow-y: scroll;
    bottom: 0;
    left: 0;
    transform: translateY(calc(100% + 10px));
    border-radius: 8px;
    background-color: var(--color-white);
    border: 0.5px solid #e3e8ef;
    box-shadow: 0px -1px 12px -2px #10182814;
    padding: 6px 10px;
}

input[type="checkbox"]:checked ~ .customSelect > .caret {
    transform: rotate(180deg);
}

.optionItem {
    border-radius: 6px;
    padding: 10px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
}

    .optionItem > span {
        flex: 1;
        overflow: hidden;
        -webkit-line-clamp: 1;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .optionItem:hover {
        background-color: var(--color-blue-1);
    }

.optionItem--selected {
    position: relative;
    font-weight: 500;
    background-color: var(--color-blue-1);
}

    .optionItem--selected::after {
        content: "";
        width: 16px;
        height: 16px;
        background-image: url(../Images/Check.svg);
    }

.customInput {
    width: 100%;
    height: 48px;
    border: 1px solid var(--color-gray);
    border-radius: 8px;
    cursor: pointer;
    padding: 0px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-bottom: 5px;
    /*opacity:0.7;*/
}

input {
    width: 100%;
    outline: none;
    border: none;
    background:transparent;
}

.radioGroup {
    display: flex;
    gap: 24px;
    align-items: center;
}

.radioItem {
    /* height: 36px; */
    padding-block: 8px;
    display: flex;
    gap: 8px;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
}

input:disabled{
    cursor:not-allowed;
}

    input[type="radio"]:checked {
        background-color: var(--color-blue);
    }

.customInput:has(.selectPhoneCode) {
    padding-left: 0;
}

.selectPhoneCode {
    position: relative;
}

    .selectPhoneCode .customSelect {
        border-radius: 0;
        border-width: 0 1px 0 0;
        /* padding-left: 0; */
        width: 135px;
    }

    .selectPhoneCode .optionItem--selected::after {
        content: none;
    }

.phoneNumber {
    width: 100%;
}

.btn {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nx-btn {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
}

.btn-submit {
    width: 100%;
    color: var(--color-white);
    background-color: var(--color-blue);
    transition: all 0.2s ease-in;
}

.text-tertiary {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0em;
    color: #697586;
}

.btn-submit:hover {
    background-color: #0187f3;
}

.btn-submit:disabled {
    color: white;
    cursor: not-allowed;
    background-color: var(--color-gray);
}


.footer {
    background-color: var(--color-blue-1);
    padding-block: min(48px, 3.33vw);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

    .footer a {
        text-decoration: none;
        color: var(--color-secondary);
    }

    .footer .text-body-sm {
        font-weight: 400;
    }

.mainFooter {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footerInfo {
    padding-inline: min(5.5vw, 80px);
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

    .footerInfo > img {
        height: auto;
        width: min(291px, 20vw);
    }

.footerInfo__group {
    display: flex;
    gap: 96px;
}

.infos {
    display: flex;
    gap: min(6.67vw, 96px);
}

.infos_col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.infoGroup {
    display: flex;
    gap: 32px;
}

.info_col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyRight {
    padding-inline: min(5vw, 80px);
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.copyRight__right {
    display: flex;
    gap: min(2vw, 44px);
}

/* otp form  */
.otpForm {
    padding-inline: min(64px, 4.4vw);
    padding-block: 80px;
    justify-content: center;
}

    .otpForm .form {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

.formContent {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.formContent__main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btnBack {
    border-radius: 8px;
    padding-block: 12px;
    display: flex;
    gap: 8px;
    cursor: pointer;
    color: var(--color-blue);
}

.text-body-sm {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0em;
}

.otpContent {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.otpGroup {
    display: flex;
    align-items: center;
    gap: 16px;
}

.otpItem {
    width: 64px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid var(--color-gray);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .otpItem > input {
        width: 100%;
        font-size: 32px;
        font-weight: 400;
        text-align: center;
    }

.otpFooter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.toast-container {
    pointer-events: none;
}

.toast {
    pointer-events: none !important;
}

.toast:not(.showing):not(.show) {
    opacity: 0;
    display: none;
}

.btn-confirm {
    width: 100%;
}

.formResult {
    display: none;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
}

.formResult__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-green-1);
    border: 14.29px solid var(--color-green-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iconSuccess {
    width: 33.33px;
    height: 33.33px;
}

.formResult__message {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.formResult__action {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .formResult__action a {
        text-decoration: none;
        color: var(--color-blue);
    }

.btnResent {
    text-decoration: underline;
    cursor: pointer;
    color: var(--color-blue);
}

.no-result {
    margin-left: 5px;
}

.box-label {
    font-weight: 450;
    color: #24242487 !important;
}

.customSelect__options {
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 1000;
    background: #fff;
    border-radius: 6px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.optionItem {
    padding: 10px;
    display: flex;
    cursor: pointer;
}

.optionItem--selected {
    background-color: #e6f0ff;
}

.no-result {
    text-align: center;
    padding: 10px;
    color: #999;
}

.customSelect:focus {
    outline: 2px solid #007bff;
    border-color: #007bff;
}

.customInput.invalid {
    border-color: red;
}




@media (max-width: 1023px) {
    :root {
        --text-primary-2: #4b5565;
    }

    body {
        font-size: 14px;
    }

    .text-display-lg {
        font-size: 32px;
    }

    .text-body-md {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        letter-spacing: 0em;
        opacity: 0.8;
    }

    .main {
        background-color: var(--color-white);
        background-image: none;
    }

        .main::after {
            content: none;
        }

    .mainContent {
        padding: 24px 16px;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: flex-start;
    }

    .mainContent__header {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }

    .headerLogo {
        width: 90px;
        height: 48px;
        background-image: url(../Images/logo-sm-mobile.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }


    .headerTitle {
        display: none;
    }

    .mainContent__form {
        width: 100%;
        padding: 0;
        gap: 24px;
    }

    .mainContent__form--title {
        color: var(--color-black);
    }

    .formBlock {
        gap: 16px;
    }

    .footer {
        display: none;
    }

    .customSelect,
    .customInput {
        height: 40px;
    }

    .btn-submit {
        width: 100%;
    }

    .otpForm {
        flex: 1;
    }

    input[type="checkbox"]:checked ~ .customSelect__options {
        transform: translateY(calc(100% + 1px));
    }

    .selectPhoneCode .customSelect {
        width: 120px;
    }
}

.loaderImage {
    width: 50px;
    z-index: 1002;
    color: #fff;
    z-index: 9999;
    left: 46%;
    top: 36%;
    position: fixed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.4) !important;
}


.success-container {
    margin: 80px 40px;
}

.success-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background-color: #d1f7d6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .success-icon img {
        width: 24px;
        height: 24px;
    }

.success-title {
    font-size: 32px;
    font-family: 'Poppins';
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0;
    text-align: center;
}

.success-message {
    font-size: 14px;
    font-family: 'Poppins';
    color: #666;
    margin: 0.5rem 0 1.5rem;
    text-align: center;
    font-weight: 400;
    line-height: 20px;
    font-style: normal;
}

.complete-btn {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
}

.explore-link {
    font-size: 0.9rem;
    color: #007bff;
    margin-top: 1rem;
    display: inline-block;
    font-size: 14px;
}

.links {
    text-align: center;
    font-size: 14px;
}

.explore-link:hover {
    text-decoration: underline;
}

.grid_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.details-card {
    background: #f8fafd;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.details-card p {
    margin: 5px 0;
    font-size: 14px;
}
.mt-10{
    margin-top:10px;
}
.submit-button {
    width: 50%;
    padding: 10px;
    background-color: #015aa9;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.input-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    align-content:center;
}

.input-icon-wrapper input {
    width: 100%;
    padding-right: 2.5rem; /* Space for the icon */
    box-sizing: border-box;
}

.input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Prevents the icon from blocking input clicks */
    display: flex;
    align-items: center;
    height: 100%;
}

.input-icon img {
    width: 1rem;
    height: 1rem;
}

.btn-submit-secondary {
    width: 100%;
    color: var(--color-blue);
    background-color: transparent;
    border: 1px solid var(--color-blue);
    transition: all 0.2s ease-in;
}


.btn-submit-secondary:hover {
    background-color: #cbdeffdb;
    border: 1px solid #cbdeffdb;
}

.btn-submit-secondary:disabled {
    cursor: not-allowed;
}


.customSelect.disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: #f1f5fa;
}


.customInput.requiredField {
    background-color: #FFFAE7;
    padding: 8px;
    font-size: 16px;
}

.customSelect.requiredField {
    background-color: #FFFAE7;
    font-size: 16px;
}


.customInput.requiredField:has(input:focus) {
    background-color: white;
    outline: none;
}

/*.success-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 0.5rem 0;
    text-align: center;
}*/