/* ===============================
   Global Styles
=================================*/
body {
    background-color: #F5F8FA;
}

label {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-inline: 5px;
    text-align: start;
}

.parent-container {
    overflow-x: hidden !important;
}

/* ===============================
   Form Styles
=================================*/
.individual-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.individual-form div:nth-of-type(2) svg,
.individual-form div:nth-of-type(3) svg {
    top: 54%;
}

.individual-form div:nth-of-type(4) svg,
.individual-form div:nth-of-type(5) svg {
    top: 55%;
}

.individual-form div:nth-of-type(6) svg {
    top: 31%;
}

.pass svg {
    top: 53%;
}

.phone_input svg {
    position: absolute !important;
    top: 32% !important;
}

.error_span {
    display: block;
}

.error-text {
    color: red;
    font-size: 15px;
}

.error_border {
    border-color: red !important;
}

.form-container {
    overflow: auto;
    scrollbar-width: none;
}

.dropdown-toggle::after {
    display: none;
}

/* ===============================
   Terms and Conditions
=================================*/
.agree_terms {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: start;
    gap: 8px;
}

.agree_terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    outline: none;
}

.terms-modal {
    font-size: 14px;
    font-weight: 500;
}

.terms-modal span {
    font-size: 13px;
    font-weight: 500;
}

.terms-modal h5 {
    color: rgb(29, 123, 255);
    margin-top: 10px;
}

.terms-modal p {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 10px;
}

.terms-modal li {
    margin-bottom: 5px;
}

/* ===============================
   Buttons
=================================*/
.btn-action {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-action:active {
    transform: translateY(0);
}

.btn-action.loading {
    pointer-events: none;
    opacity: 0.7;
    color: transparent;
}

.btn-action.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.button_disable {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    opacity: 0.6;
}

/* ===============================
   Button Navigation
=================================*/
.button-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===============================
   Phone Input
=================================*/
.phone_input button {
    width: 16%;
    padding: 10px;
}

.phone_input img {
    width: 26px !important;
    height: 20px !important;
}

.phone_input span {
    font-size: 14px !important;
}

.phone_input_container {
    width: 84% !important;
    padding-left: 6px !important;
}

/* ===============================
   Logo
=================================*/
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.registration-logo {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

/* ===============================
   Select2 Styling
=================================*/
.select2-container .select2-selection--single {
    height: 3.5rem !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #DADEE1 !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
    color: #212529 !important;
    line-height: normal !important;
    font-size: 1rem !important;
    padding-left: 0.25rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15) !important;
}

/* ===============================
   Animations
=================================*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===============================
   Responsive Design
=================================*/
@media (max-width: 1220px) {
    .div_type {
        min-width: auto !important;
    }


    body {
        background-color: white !important;
    }

    .main-section {
        padding-bottom: 5rem;
    }

    .individual-form,
    .form-container,
    .main-container {
        box-shadow: none !important;
        border: none !important;
        background: white !important;
    }

    .button-navigation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1rem 1.5rem;
        /* border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); */
        z-index: 100;
        height: 75px;
        border: none !important;
    }

    .button-navigation .btn-action {
        font-size: 0.875rem;
        padding: 12px 16px;
        flex: 1;
        width: 50%;
    }

    .phone_input button {
        width: 33% !important;
    }

    .phone_input_container {
        width: 67% !important;
    }

    .registration-logo {
        max-width: 150px;
    }
}

@media (max-width: 992px) {
    .side-login-register {
        padding: 3rem 0;
        display: none;
    }
}

@media (max-width: 768px) {}

@media (max-width: 576px) {
    .registration-logo {
        max-width: 130px;
    }

    .agree_terms {
        gap: 7px !important;
        font-size: 14px !important;
    }
}