body {
    background-color: #F8F9F9;
    font-family: 'Cairo', sans-serif;
}

.noevent {
    width: 200px;
}

.header-gradient {
    background: linear-gradient(to bottom, #0D40A2 0%, #05183C 100%);
    padding: 1rem 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding-bottom: 57px;
    position: relative;
}

.img-fluid {
    max-width: 50%;
    height: auto;
}

.dir-rtl {
    direction: rtl !important;
}

.pageContent {
    min-height: 84vh;
}

button.html5-qrcode-element {
    background-color: #0319a7;
    color: white;
    border: 0;
    border-radius: 3px;
    padding: 18px;
    font-size: 17px;
    margin-bottom: 20px;
}

span#html5-qrcode-anchor-scan-type-change {
    font-size: 20px;
    margin-bottom: 12px;
    display: block;
    text-decoration: none !important;
}

.select2-container {
    max-width: 100%;
    width: 100% !important;
}

.select2-container--open .select2-dropdown {
    z-index: 9999;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6;
    height: 38px;
    padding-top: 5px;
}

input#termsCheck {
    transform: scale(1.6);
}

input#disability {
    transform: scale(1.2);
    margin-right: 14px;
}

.header-gradient:before {
    background-image: url('/img/pattern.png');
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.header-title {
    font-size: 3.5rem;
    color: white;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-end;
    z-index: 3;
}

    .header-title img {
        width: 120px;
    }

.mt-150 {
    margin-top: 106px;
    z-index: 9999;
    position: relative;
}

.text-blue {
    color: #0212A5;
}

.bg-blue {
    border-color: #0D40A2;
    background-color: #0D40A2;
}

.required-star {
    color: red;
}

.headerElement {
    position: absolute;
    left: 0;
    top: 0;
    width: 130px;
}
.form-check-input:checked {
    background-color: #0d40a2;
    border-color: #0d2f72;
}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8); /* White background with transparency */
    z-index: 9999; /* Make sure it sits on top */
}

.g-recaptcha {
    width: 300px;
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
}
