@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MyriadPro-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'NotoKufiArabic';
    src: url('../fonts/NotoKufiArabic-VariableFont_wght.ttf') format('truetype');
}

:root {
    --app-primary-color: #5d1c34;
}

html {
    height: 100vh;
    max-height: 100%;
}

body {
    font-family: 'MyriadPro';
    height: 100vh;
    max-height: 100%;
}

    body:lang(ar) {
        font-family: 'NotoKufiArabic';
    }

.logo-image {
    max-height: 4rem;
}

.text-app-primary {
    color: var(--app-primary-color);
}

.wifi-image {
    max-height: 2rem;
}

.btn-custom {
    background-color: var(--app-primary-color);
    color: white;
    border: 2px solid var(--app-primary-color);
    border-radius: .8rem;
    font-weight: bold;
    padding: .6rem 1rem;
}

    .btn-custom:hover {
        background-color: white;
        color: var(--app-primary-color);
        border: 2px solid var(--app-primary-color);
        border-radius: .8rem;
    }

.pg1-desktop-body {
    background-image: url('../images/desktop-pg1-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg2-desktop-body {
    background-image: url('../images/desktop-pg2-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg3-desktop-body {
    background-image: url('../images/desktop-pg3-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg4-desktop-body {
    background-image: url('../images/desktop-pg4-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg1-mobile-body {
    background-image: url('../images/mobile-pg1-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg2-mobile-body {
    background-image: url('../images/mobile-pg2-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg3-mobile-body {
    background-image: url('../images/mobile-pg3-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.pg4-mobile-body {
    background-image: url('../images/mobile-pg4-art.png');
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.language-btn {
    max-height: 3.5rem;
}

.form-control {
    border-radius: 0 !important;
    border: 1px solid var(--app-primary-color) !important;
    color: var(--app-primary-color) !important;
}

    .form-control::placeholder {
        color: var(--app-primary-color) !important;
    }

    .form-control:lang(ar)[type="email"]::placeholder {
        text-align: right;
    }

    .form-control:focus {
        border-color: var(--app-primary-color);
        box-shadow: 0 0 5px var(--app-primary-color);
        outline: none;
    }

.input-flag {
    height: 1rem;
}

.input-country-code {
    background-color: var(--app-primary-color);
    color: white;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Adjust spacing between checkbox and label */
}

input[type="checkbox"] {
    appearance: none;
    width: 24px; /* Increase width */
    height: 24px; /* Increase height */
    border: 2px solid #5d1c34; /* Unchecked border color */
    background-color: white; /* Unchecked background */
    display: inline-block;
    position: relative;
    cursor: pointer;
    border-radius: 4px; /* Optional: rounded corners */
}

    input[type="checkbox"]:checked {
        background-color: #5d1c34; /* Checked background */
        border: 2px solid #5d1c34; /* Keep the border */
    }

    input[type="checkbox"]::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 5px;
        height: 6px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: translate(-50%, -60%) rotate(45deg);
        display: none;
    }

    input[type="checkbox"]:checked::after {
        display: block;
    }

.terms-label-small {
    font-size: .8rem;
}

.sm-icon {
    max-height: 2rem;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    border-radius: 0 !important;
    border: 1px solid var(--app-primary-color) !important;
    padding: 5px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
    padding-left: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

[dir="rtl"] .select2-container .select2-selection--single {
    border-radius: 0 !important;
}

.select2-container--default .select2-results__option {
    color: var(--app-primary-color);
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #007bff;
    color: #fff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f8f9fa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #007bff;
}

.select2-selection__rendered {
    color: var(--app-primary-color)!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 5px !important;
    right: 10px !important;
    width: 20px;
}

[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 5px !important;
    left: 10px !important;
    right: auto !important;
    width: 20px;
}