html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    max-height: 100vh;
    overflow-y: hidden;
}

#content {
    max-height: 100vh;
}

:root {
    --bs-primary: #ff5733;
    --bs-primary-rgb: 255, 87, 51; /* Convert hex to RGB */
    --primary-color: #1B3664;
    --secondary-color: #CFAF5E;
    --info-color: #89CFF0;
    --success-color: #2D9C5D;
    --warning-color: #E29C45;
    --error-color: #D14B4B;
    --black1-color: #000;
    --black2-color: #1D1D1D;
    --black3-color: #828282;
    --gray1-color: #333;
    --gray2-color: #4F4F4F;
    --gray3-color: #828282;
    --gray4-color: #BDBDBD;
    --gray5-color: #E0E0E0;
    --white-color: #FFF;
    --font-size: 16px;
}

.large-text-bold {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}

.large-text-regular {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
}

.medium-text-bold {
    font-size: 18px;
    line-height: 25.2px;
    font-weight: 700;
}

.medium-text-regular {
    font-size: 18px;
    line-height: 25.2px;
    font-weight: 400;
}

.normal-text-bold {
    font-size: 16px;
    line-height: 22.4px;
    font-weight: 700;
}

.normal-text-regular {
    font-size: 16px;
    line-height: 22.4px;
    font-weight: 400;
}

.small-text-bold {
    font-size: 14px;
    line-height: 19.6px;
    font-weight: 700;
}

.small-text-regular {
    font-size: 14px;
    line-height: 19.6px;
    font-weight: 400;
}

h1 {
    font-size: 56px;
    line-height: 61.6px;
    font-weight: 700; /* Bold */
}

h2 {
    font-size: 48px;
    line-height: 52.8px;
    font-weight: 700;
}

h3 {
    font-size: 40px;
    line-height: 44px;
    font-weight: 700;
}

h4 {
    font-size: 32px;
    line-height: 35.2px;
    font-weight: 700;
}

h5 {
    font-size: 24px;
    line-height: 26.4px;
    font-weight: 700;
}

h6 {
    font-size: 20px;
    line-height: 22px;
    font-weight: 700;
}

.page_title {
    color: var(--primary-color);
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}


.input-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    margin-top: 25px !important;
}

    .input-field .input-icon {
        position: absolute;
        right: 13px;
        top: 60%;
        width: 16px;
        height: 16px;
    }

    .input-field input::placeholder {
        color: #ADAEBC;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px; /* 150% */
    }

    .input-field .label {
        color: #374151;
        font-family: Inter;
        font-size: 15px;
        font-style: normal;
        font-weight: 550;
        line-height: normal;
    }

    .input-field input {
        border-radius: 6px;
        border: 1px solid #D1D5DB;
        background: #FFF;
        height: 42px;
        padding: 0 16px;
    }

.phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
}

    .phone-input select {
        border: none;
        background: transparent;
        font-size: 14px;
        padding: 5px;
    }

    .phone-input input {
        border: none;
        outline: none;
        font-size: 14px;
        flex: 1;
        padding: 5px;
    }

select:focus-visible {
    outline-offset: 0 !important;
    outline: none !important;
}

.input-date {
    height: 42px;
    padding: 9px 28px 9px 22px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.input-select {
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    /* background: #FFF;*/
    display: flex;
    padding: 0px 8px 0px 12px;
    justify-content: flex-end;
    align-items: center;
    gap: 248px;
    height: 42px;
    align-self: stretch;
}

.Report table {
    direction: ltr !important;
}

.input-multi-select {
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    background: #FFF;
    display: flex;
    padding: 0px 8px 0px 12px;
    align-items: center;
    max-height: 42px;
    align-self: stretch;
    overflow: auto;
}

.input-text-area {
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    background: #FFF;
    height: 67px;
    flex-shrink: 0;
    align-self: stretch;
    resize: none;
}

/* Style checkboxes */
option input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.selected-items span {
    background: #374151;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.multi-select {
    /*width: 300px;*/
    position: relative;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #ccc;
    padding: 8px 13px;
    cursor: pointer;
    min-height: 40px;
    align-items: center;
    position: relative;
}

.tag {
    border-radius: 6px;
    background: #D9D9D9;
    color: #000;
    font-family: Inter;
    font-size: 8px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    min-width: 65px;
    height: 26px;
    padding: 8px 4px;
    align-items: center;
    display: flex;
    justify-content: center;
}

    .tag span {
        margin-left: 4px;
        cursor: pointer;
        width: 16px;
        height: 16px;
    }

.dropdown_history {
    display: none;
    position: absolute !important;
    top: 100%;
    left: 12px;
    width: 94%;
    border: 1px solid #ccc;
    background: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
}

    .dropdown_history label {
        display: flex;
        align-items: center;
        padding: 8px;
        cursor: pointer;
    }

        .dropdown_history label:hover {
            background-color: #f0f0f0;
        }

    .dropdown_history input {
        margin-right: 10px;
    }

.arrow_down_radius {
    position: absolute;
    right: 9px;
    width: 24px;
    height: 24px;
}

select:not(#country-code) {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('../assets/images/arrow_down_radius.svg') no-repeat right 10px center;
    background-size: 24px;
    /* padding-right: 30px;*/
}

.select:not(#country-code)::-ms-expand {
    display: none;
}

.search_btn {
    border-radius: 8px;
    border: 0px solid var(--primary-color);
    background: #1B3664;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: inline-flex;
    height: 40px;
    padding: 10px 24.094px 10px 28.5px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}

    .search_btn object svg g g path {
        fill: white;
    }

.page_title_custom {
    margin-bottom: 37px !important;
    color: var(--primary-color);
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 16px;
}

option:disabled span {
    overflow: hidden;
    color: #A6A6A6;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Inter;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

table tr th {
    border: 0px solid #E5E7EB;
    background: rgba(0, 0, 0, 0.00);
    height: 40.5px;
    padding: 12px 0 13.5px 24px;
    text-align: start;
    flex-shrink: 0;
    color: #374151;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.7px;
}

table thead {
    /*box-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2);*/
    background: #eee;
}

table tr td {
    border: 0px solid #E5E7EB;
    background: rgba(0, 0, 0, 0.00);
    height: 55px;
    padding: 18px 84px 20px 24px;
    text-align: start;
    color: #374151;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

table tbody tr {
    border-bottom: 1px solid #E5E7EB;
}

table .actions__ {
    display: flex;
    gap: 16px;
}

    table .actions__ img {
        cursor: pointer;
    }

table {
    margin-bottom: 32px;
}

.table-padge {
    border-radius: 9999px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 12px;
    padding-left: 12px;
}

.primary-button {
    border-radius: 6px;
    border: 0px solid var(--primary-color);
    background: #1B3664;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    gap: 21px;
}

.fields .row {
    display: flex;
    gap: 24px;
}

.create_new {
    border-radius: 8px;
    border: 0px solid #E5E7EB;
    background: #FFC125;
    display: inline-flex;
    height: 50px;
    padding: 17px 14px 17px 16px;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}


    .create_new span {
        color: #000;
        text-align: center;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .create_new img {
        width: 14px;
        height: 16px;
        flex-shrink: 0;
    }

.page_head_with_add {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

    .page_head_with_add .navigation {
        display: flex;
        gap: 14px;
        align-items: center;
        justify-content: start;
    }

table tr td.status.active span {
    color: #047857;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 9999px;
    border: 0px solid #E5E7EB;
    background: #D1FAE5;
    display: flex;
    height: 25px;
    padding: 4px 8.516px 4px 8px;
    justify-content: center;
    align-items: center;
    width: 60px;
}

table tr td.status.suspended span {
    color: #754405;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 9999px;
    border: 0px solid #FFEDD5;
    background: #FFEDD5;
    display: flex;
    height: 25px;
    padding: 4px 8.516px 4px 8px;
    justify-content: center;
    align-items: center;
    width: 80px;
}

table tr td.status.not_active span {
    color: #7e1604;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 9999px;
    border: 0px solid #efb4aa;
    background: #efb4aa;
    display: flex;
    height: 25px;
    padding: 4px 8.516px 4px 8px;
    justify-content: center;
    align-items: center;
    width: 80px;
}

.search-container {
    margin-top: 68px !important;
    margin-bottom: 55px !important;
}

.back {
    cursor: pointer;
}

/*//ahmed*/
.RadGrid .rgHeader {
    background-color: #f5f5f5;
    font-weight: bold;
    vertical-align: middle;
    padding: 12px 8px;
    text-align: left;
    font-size: 16px;
}

/* --- Grid Row Style --- */
.RadGrid .rgRow td,
.RadGrid .rgAltRow td {
    vertical-align: middle;
    padding: 12px 8px;
    text-align: left;
    font-size: 15px;
}

/* --- Action icons (edit / delete) --- */
.RadGrid .action-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    cursor: pointer;
}



/* --- Row Hover Effect (optional bonus) --- */
.RadGrid .rgRow:hover, .RadGrid .rgAltRow:hover {
    background-color: #f0f4f8;
}


.RadGrid .rgMasterTable td {
    text-align: center !important;
}

.RadGrid .rgMasterTable th {
    text-align: center !important;
}
/*ahmed*/
/* CSS for the RadComboBox */
/* CSS for the RadComboBox with right-aligned search icon */
.RadComboBox.form-control {
    height: 42px;
}

    .RadComboBox.form-control .rcbInputCell {
        height: 42px;
        padding-right: 35px; /* Space for the icon on the right */
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23666" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>');
        background-repeat: no-repeat;
        background-position: calc(100% - 10px) center; /* Positions icon 10px from the right */
    }

    .RadComboBox.form-control .rcbInput {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        padding-left: 10px; /* Ensures text doesn't overlap the icon */
        padding: 0px 5px 0px 5px !important;
    }

    .RadComboBox.form-control .rcbArrowCell {
        height: 42px;
    }

/* Dropdown styling (optional) */
.backGroundwhite {
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/*///new*/

.RadDropDownTree .rddtFakeInput {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 36px !important;
    line-height: 36px !important;
    display: block;
    overflow: hidden;
}
.reportviewer-wrapper table,
.reportviewer-wrapper td,
.reportviewer-wrapper th {
    all: initial;
    direction: ltr;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.reportviewer-wrapper * {
    box-sizing: content-box; /* Prevent bootstrap's box-sizing override */
}

.savepop {
    display: flex;
    width: 10px;
    height: 10px;
    padding: 11px 17px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 0px solid #E5E7EB;
    background: #1B3664;
    color: #ffffff;
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}
.fixed-textbox {
    width: 70px !important; /* Or 30px depending on your needs */
    max-width: 90%;
    min-width: 70px;
    text-align: center;
}
.RadPicker table.rcTable .rcInputCell {
    padding: 0 4px 12px 0 !important;
}
table.RadCalendarMonthView td {
    height: 4px;
}

/* Container styling */
.radio {
    display: flex;
    gap: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    margin: 10px 0;
}

    /* Hide the default radio buttons */
    .radio input[type="radio"] {
        display: none;
    }

    /* Style the label */
    .radio label {
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        color: #333;
    }

        /* Custom radio circle */
        .radio label::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 20px;
            height: 20px;
            border: 2px solid #007bff;
            border-radius: 50%;
            background-color: white;
            transition: all 0.2s ease;
        }

    /* Checked state */
    .radio input[type="radio"]:checked + label::before {
        background-color: #007bff;
        border-color: #007bff;
    }

    /* Inner circle when checked */
    .radio input[type="radio"]:checked + label::after {
        content: "";
        position: absolute;
        left: 6px;
        top: 8px;
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
    }
/* Remove all top header zones */
.custom-radwindow .rwTitleBar,
.custom-radwindow .rwTopLeft,
.custom-radwindow .rwTopCenter,
.custom-radwindow .rwTopRight,
.custom-radwindow .rwTitlebarControls,
.custom-radwindow .rwTopResize,
.custom-radwindow .rwCorner,
.custom-radwindow .rwTopTable {
    display: none !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Remove borders and shadow from main popup window */
.custom-radwindow {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important; /* optional: flat background */
}

    /* Remove content area padding/border */
    .custom-radwindow .rwWindowContent,
    .custom-radwindow .rwContentTable {
        border: none !important;
        padding: 0 !important;
        background: none !important;
    }

/* Center popup content with proper padding */
.popup-body {
    padding: 20px;
    text-align: center;
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* ensure vertical centering */
}

/* Bold and centered message */
.confirm-message {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px; /* 30px space below label */
    color: #333;
    text-align: center;
}

/* Button alignment */
.popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px; /* space between buttons */
    margin-top: 30px;
}

.main-forms tr div.MyTooltip {
    display: block !important;
}

div.MyTooltip {
    display: inline-block;
    position: relative !important;
    right: 0px;
    top: 3px;
}

    div.MyTooltip:hover {
        z-index: 1005;
    }

    div.MyTooltip label {
        display: none !important;
        font-size: 11px;
        line-height: 16px;
        padding: 0px;
        vertical-align: middle;
    }

    div.MyTooltip:hover label.error:not(.checked) {
        background-color: #ff0000;
        border-radius: 5px;
        bottom: 24px;
        color: white;
        display: inline-block !important;
        height: auto;
        opacity: 0.50;
        padding: 0px 5px 0px 5px;
        position: absolute;
        right: 0px;
        text-align: center;
        width: 162px;
    }

label.error + div.errorImage {
    background: url('/Arabic/Shared/Images/error.png') no-repeat 0px 0px;
    display: inline-block !important;
    height: 20px;
    vertical-align: middle;
    width: 20px;
}

label.checked + div.errorImage {
    background: url('/Arabic/Shared/Images/valid.png') no-repeat 0px 0px;
    display: inline-block !important;
    height: 22px;
    vertical-align: middle;
    width: 22px;
}

input.error, select.error {
    /*border-width: 1px;*/
    border-color: tomato;
}
.RadTimePicker .timeView .rcTimeView li {
    line-height: 24px !important; /* المسافة بين كل وقت */
    padding: 2px 8px !important; /* الحشوة حول الوقت */
    font-size: 13px !important; /* حجم الخط */
    white-space: nowrap !important; /* يمنع تقسيم الوقت لسطرين */
    display: block;
    text-align: right; /* ليتناسب مع RTL */
}
.RadCalendarTimeView_Windows7 a {
    width: 66px !important;
    max-height: 100px !important;
    overflow-y: auto !important;
}

table.RadCalendarTimeView td {
    height: 25px !important;
}

.RadTimePicker .rcTimePopup {
    max-height: 100px !important;
    overflow-y: auto !important;
}
.rcTable,
.RadCalendarTimeView,
.RadTimePicker table,
.RadDatePicker table,
.RadInput table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}