:root {
    --background: #FFFCFF;
    --dark: #24242C;
    --sec-background: #F7F7FD;
    --primary: #511502;
    --primary-light: #5115024C;
    --primary-hover: #3f1001;
    --secondary: #EDBF85;
    --secondary-light: #FFDAA3;
    --secondary-hover: #daab6f;
    --text-primary: #12374D;
    --text-secondary: #737373;
    --text-dark: #24242C;
    --text-light: #FBFBFF;
    --text-danger: #E12529;
    --gray: #8E8E8E;
    --gray-dark: #777777;
    --gray-light: #B3B3B3;
    --white: #FFFFFF;
    --opecity-white: rgba(255, 255, 255, 0.6);
}

body {
    background: var(--background);
    font-family: 'Almarai', sans-serif !important;
}

.MsoNormal, .MsoNormal span {
    font-family: 'Almarai', serif !important;
}

.cursor-pointer {
    cursor: pointer;
}

.form-group {
    width: 100%;
    padding-bottom: 0.8rem;
}

.form-group .form-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.form-group .form-control {
    width: 100%;
    padding: 0.8rem;
    box-shadow: 0 4px 20px 0 #85BC4126;
    border: 1px solid var(--gray);
    font-size: 13px;
    border-radius: 14px;
}

select.form-control {
    cursor: pointer;
}

.form-group .form-control[type="date"] {
    cursor: pointer;
}

.form-group .form-control[type="email"] {
    text-align: right;
}

.toggle-password, .toggle-confirm-password{
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password svg, .toggle-confirm-password svg {
    position: static;
    transform: none;
    color: var(--gray);
}

.toggle-password:hover svg, .toggle-password:active svg, .toggle-password:focus svg, .toggle-confirm-password:hover svg, .toggle-confirm-password:active svg, .toggle-confirm-password:focus svg {
    color: var(--gray-dark);
}

.custom-radio {
    width: 50%;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 0.8rem;
    font-size: 14px;
    user-select: none;
    box-shadow: 0 4px 20px 0 #85BC4126;
    border: 1px solid var(--gray);
    border-radius: 14px;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-radio:has(input:disabled) {
    cursor: not-allowed;
}

.custom-radio input:disabled {
    cursor: not-allowed;
}

.custom-radio .radio-label::before {
    width: 18px;
    height: 18px;
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 2px solid var(--gray-dark);
    transition: all 0.1s ease;
}

.custom-radio input[type="checkbox"]:checked ~ .radio-label::before,
.custom-radio input[type="radio"]:checked ~ .radio-label::before {
    background-color: var(--primary);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group .form-control[type="number"] {
    text-align: right;
    direction: rtl;
}

.form-check-label {
    font-size: 13px;
}

.form-check-input[type="checkbox"] {
    border: 2px solid var(--primary);
    box-shadow: none;
    cursor: pointer;
    margin-left: 0.5rem;
}

.form-check-input[type="checkbox"]:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-group .form-control::placeholder {
    color: var(--gray);
    font-size: 13px;
    text-align: right;
}

.form-group .input-group.form-error {
    border-color: var(--text-danger) !important;
    box-shadow: 0 4px 20px 0 #E1252940 !important;
}

.form-group .text-error {
    font-size: 13px;
    color: var(--text-danger);
    padding-top: 0.5rem;
    padding-bottom: 0;
    margin: 0;
}

.input-group select {
    cursor: pointer;
}

.input-group .input-icon, .step-form-content .input-group .input-suffix {
    direction: ltr;
    padding: 0.5rem;
    margin: 0 0.5rem;
    color: var(--gray);
}

.btn {
    padding: 0.8rem;
    font-size: 13px;
    border-radius: 50px;
    border: 1px solid transparent;
    min-width: 100px !important;
}

.main-btn {
    background: var(--primary);
    color: var(--text-light);
}

.secondary-btn {
    background: var(--secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.main-btn:hover, .main-btn:focus, .main-btn:active, .main-btn:disabled {
    background: var(--primary-hover) !important;
    color: var(--text-light) !important;
}

.secondary-btn:hover, .secondary-btn:focus, .secondary-btn:active, .secondary-btn:disabled {
    background: var(--secondary-hover) !important;
    color: var(--primary-hover) !important;
    border: 1px solid var(--primary);
}

.main-light-btn {
    background: #EDEDED;
    color: var(--primary);
}

.main-light-btn:hover, .main-light-btn:focus, .main-light-btn:active, .main-light-btn:disabled {
    background: var(--gray-light) !important;
    color: var(--primary);
}

.outline-btn {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--secondary);
}

.outline-btn:hover, .outline-btn:focus, .outline-btn:active, .outline-btn:disabled {
    background: var(--secondary) !important;
}

.main-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.main-link:hover, .main-link:focus, .main-link:active {
    color: var(--primary-hover) !important;
}

.secondary-link {
    color: var(--gray);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.secondary-link:hover, .secondary-link:focus, .secondary-link:active {
    color: var(--text-secondary);
}

.img-box {
    border: 2px dashed #C49A6C;
    border-radius: 15px 20px;
    padding: 20px;
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.img-box .preview {
    height: 150px;
    width: 250px;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid #DADADA;
    display: flex;
    align-items: center;
}

.img-box .preview img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.img-box .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    padding-right: 0;
    height: auto;
    cursor: pointer;
}

.img-box span {
    color: rgba(0, 0, 0, 40%);
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
}

.img-box .actions .change-image-btn {
    color: var(--primary-color-dark);
    padding: 5px 10px;
    background: #FBFDFE;
    font-size: 15px;
    border: 1px solid #C49A6C !important;
    border-radius: 7px;
    margin-top: 10px;
}

.img-box .actions .change-image-btn svg {
    height: 25px;
}

.side-img-container {
    display: flex;
    justify-content: flex-end;
}

.side-img-container .side-img {
    max-width: 75%;
}

.sec-header .title {
    width: max-content;
    background: var(--primary-light);
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    padding: 0.25rem 2rem;
    border-radius: 12px;
}

.sec-header .description {
    font-size: 16px;
    line-height: 35px;
    color: var(--gray-dark);
    padding-top: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 0.25rem;
}

.pagination .page-item .page-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    font-size: 13px;
    color: var(--gray-dark);
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
    line-height: 20px;
    cursor: pointer;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-color: var(--gray-light);
}

.pagination .page-item .page-link i {
    font-size: 13px;
}

.pagination .page-item.disabled .page-link, .pagination .page-item.disabled:hover .page-link {
    border-color: var(--gray);
    background: transparent;
    color: var(--gray);
}

.pagination .page-item.active .page-link, .pagination .page-item:hover .page-link {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

.pagination .more {
    color: var(--gray);
    vertical-align: bottom;
}

.pagination .page-item:first-child .page-link i,
.pagination .page-item:last-child .page-link i {
    font-size: 15px;
    line-height: 20px;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-image: none;
}

.auth-form .interests, .profile-form .interests {
    max-height: 170px;
    overflow: auto;
}

.auth-form .interests .interest, .profile-form .interests .interest, .disabled-interests .interest {
    width: 30%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px 0 #85BC4126;
    border: 1px solid var(--gray);
    font-size: 13px;
    border-radius: 14px;
    padding: 0.8rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.auth-form .interests .interest.active, .profile-form .interests .interest.active, .disabled-interests .interest.active {
    background: var(--secondary-light);
    border-color: var(--primary);
}

.auth-form .interests .interest .name, .profile-form .interests .interest .name, .disabled-interests .interest .name {
    padding-right: 0.5rem;
}

.disabled-interests .interest {
    cursor: not-allowed !important;
}

footer ul li a {
    color: white !important;
    text-decoration: none !important
}

footer a {
    text-decoration: none !important
}

#termsModal .modal-body,
#termsModal .modal-body pre,
#policiesModal .modal-body pre,
#policiesModal .modal-body {
    font-family: "Almarai", sans-serif !important;
    line-height: 1.8;

}

.modal .modal-content {
    border-radius: 22px;
}

.modal .modal-header {
    border-bottom: none;
    color: #000000;
}

.modal-footer .rounded-half {
    border-radius: 30px;
}

.modal-footer {
    border: none;
    padding: 0 2rem 1.2rem;
}

.modal-header {
    justify-content: space-between;
    padding: 1rem 2rem;
}

.modal-body {
    padding: 1rem 2rem;
}

.modal-dialog {
    max-width: 550px;
}

.close-button {
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: #ffffff;
}

.close-button:hover {
    color: #ffffff;
    background: var(--primary-hover);
}

.modal-footer .btn {
    display: block;
    width: 100%;
    font-size: 13px !important;
    border-radius: 30px;
    padding: 14px 20px;
    font-weight: bold;
}

.separator {
    padding: 1px 8px;
    margin: 0 1rem;
    border-radius: 8px;
}

.separator.fill {
    background: var(--gray-light);
}
