@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@200..1000&family=Changa:wght@200..800&family=Noto+Sans+Arabic:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

body {
    font-family: "Changa", sans-serif;
    width: 100%;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

header {
    background-color: #306f5f;
    width: 100%;
    padding: 1px 20px;
    padding-bottom: 3px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 2px solid #d4af37;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.container-403 {
    background-color: white;
    color: #306f5f;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-403 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    text-align: center;
}

.card-403 h1 {
    font-size: 100px;
}

nav ul {
    padding: 0;
    list-style: none;
    width: 100%;
    text-align: right;
    font-weight: bold;
    display: flex;
    margin: 0;
    background-color: #306f5f;
}

nav ul li {
    position: relative;
    margin: 0 10px;
}

nav ul a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav ul a:hover {
    color: #d4af37;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

nav ul .active {
    background-color: #d4af37;
    border-radius: 5px;
}

nav ul .active a {
    color: #d4af37;
}

nav ul .active a:hover {
    color: #d4af37;
    text-decoration: none;
}

nav ul a:hover {
    color: #d4af37;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.587);
}

.header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* / */

.dropbtn, .manageDropbtn {
    background-color: #306f5f;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.dropbtn:hover, .manageDropbtn:hover {
    background-color: #d4af37;
    color: #306f5f;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    right: 0;
    z-index: 1;
    border-radius: 5px;
    border: 1px solid #d4af37;
}

.dropdown-content a {
    color: #306f5f;
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    text-align: right;
    transition: all 0.3s ease;
}

.dropdown a:hover {
    background-color: #306f5f;
}

.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .dropbtn, .manageDropbtn {
        margin: 5px 0;
    }
}

/* / */


/* / */



.title {
    direction: rtl;
    text-shadow: none;
    color: white;
    box-sizing: border-box;
    display: inline-block;
    padding: 10px 30px;
    border-right: 5px solid white;
    font-size: 40px;
    font-weight: bold;
    vertical-align: middle;
    /* margin: 20px 20px 0px 0px; */
    margin-right: 20px;
}

/* / */

.table-footer ul {
    background-color: #306f5f;
    padding: 0;
    list-style: none;
    display: table;
    width: 100%;
    text-align: center;
}

.table-footer ul li {
    display: table-cell;
    position: relative;
}

.table-footer ul a {
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 5px 5px;
    position: relative;
    font-size: 20px;
}

.table-footer ul a:after {
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    background: #ffffff;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

.table-footer S ul a:hover:after {
    width: 100%;
    left: 0;
}

.table-footer ul a:hover {
    color: #ffffffa0;
}


@media screen and (max-height: 300px) {
    ul {
        margin-top: 40px;
    }
}

.logo {
    width: 330px;
    height: 121px;
    margin: 5px;
}

/* CSS */
.button-18 {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    border: 0;
    margin: 0px 4px;
}

.button-edit {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    /* max-width: 150px; */
    border: 0;
    margin-bottom: 20px;
}

.button-edit:hover {
    background-color: #d4af37;
    transition: 0.2s;
}

.button-print {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    /* max-width: 150px; */
    border: 0;
    margin-bottom: 20px;
}

.button-print:hover {
    background-color: #d4af37;
    transition: 0.2s;
}

.form-error {
    color: red;
    font-size: 13px;
    font-weight: bolder;
    height: 13px;
}

.form-input-error {
    border-color: red;
}

.form-blue-button-special {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 20px;
    height: 30px;
    padding: 0px 10px 0px 10px;
    border: 0;
}

.form-red-button-special {
    background-color: red;
    border-radius: 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    height: 25px;
    padding: 0px 10px 0px 10px;
    border: 0;
    margin-left: 2px;
    align-items: start;
}

.form-button-special:hover {
    background-color: #d4af37;
    transition: 0.2s;
}


.delete-button {
    background-color: #f43d3d;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    border: 0;
}

.search-section-button {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 150px;
    border: 0;
}


.search-section-button:hover {
    background-color: #d4af37;
    transition: 0.2s;
}


.table-main-button {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 200px;
    border: 0;
    float: left;
}

.table-main-button:hover {
    background-color: #d4af37;
    transition: 0.2s;
}

h2 {
    text-align: right;
    color: #306f5f;
    font-size: 30px;
}

.table-title {
    font-size: 40px;
    color: #306f5f;
    text-align: right;
    font-weight: bold;
    float: right;
}

.login-title {
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    margin-bottom: 35px;
}

.login-card {
    background-color: #306f5f;
}

.login-label {
    color: #ffffff;
    float: right;
    font-size: 17px;
    font-weight: 500;
    padding-left: 10px;
}

.login-input {
    border-radius: 30px;
    border: solid 1.5px;
    border-color: #306f5f;
    width: 100%;
    height: 35px;
    text-align: right;
    text-indent: 10px;
    margin-bottom: 15px;
}

.login-button {
    background-color: #306f5f;
    color: #fff;
    width: 150px;
    padding-block: 10px;
    border-radius: 30px;
    font-size: 15px;
    margin-top: 20px;
}

.login-button-container {
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-label {
    color: #306f5f;
    float: right;
    font-size: 17px;
    font-weight: 500;
    padding-left: 10px;
}

.form-select {
    border-radius: 15px;
    border: solid 1.5px;
    width: 100%;
    height: 35px;
    text-align: right;
    text-indent: 10px;
    color: #306f5f;
    outline: none;

}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-select:focus {
    border-color: #d4af37;
}

.form-date {
    border-radius: 15px;
    border: solid 1.5px;
    border-color: #306f5f;
    width: 100%;
    height: 35px;
    text-align: right;
    text-indent: -10px;
    float: right;
    color: #306f5f;
    outline: none;
}

.form-date:focus {
    border-color: #d4af37;
}

.form-input {
    border-radius: 3px;
    border: solid 1.5px;
    width: 100%;
    height: 35px;
    text-align: right;
    text-indent: 10px;
    color: #306f5f;
    outline: none;
}

.form-input:focus {
    border-color: #d4af37;
}

.username {
    text-align: center;
    background-color: #306f5f;
    color: #fff;
    width: 400px;
    margin: 0 auto;
    padding-block: 10px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.custom-row-up {
    align-items: top;
}

.custom-row-down {
    align-items: end;
}

.custom-row-special {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: right; */
    align-items: center;
    margin-bottom: 15px;
}



.row-1 {
    width: calc(100% / 1 - 10px);
}

.row-2 {
    width: calc(100% / 2 - 10px);
}

.row-3 {
    width: calc(100% / 3 - 10px);
}

.row-4 {
    width: calc(100% / 4 - 10px);
}

.row-5 {
    width: calc(100% / 5 - 10px);
}

.row-6 {
    width: calc(100% / 6 - 5px);
}

.table-title-box {
    align-items: end;
}

.form-select-box {
    width: calc(100% / 6 - 5px);
    margin-bottom: 20px;
}

.pagination {
    margin: 0;
}

.pagination li a {
    color: #fff;
    background-color: transparent;
    border: 2px solid transparent;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 31px;
    width: 35px;
    height: 35px;
    padding: 0;
    margin: 0 3px;
    border-radius: 50px;
    transition: all 0.3s ease 0s;
}

.pagination li a:hover {
    color: #fff;
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination li a:focus,
.pagination li.active a,
.pagination li.active a:hover {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
}

.pagination li:first-child a,
.pagination li:last-child a {
    border-radius: 50%;
}

.table-footer {
    background-color: #306f5f;
    color: #fff;
    width: 400px;
    margin: 0 auto;
    padding-block: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.form-title {
    font-size: 25px;
    color: #306f5f;
    text-align: right;
    font-weight: bold;
}

.form-buttons-left {
    float: left;
}

.form-image {
    margin-bottom: 10px;
    border-radius: 10px;
}

.form-personal-image-box {
    width: 20%;
}

.form-passport-image-box {
    width: 20%;
}

.form-section {
    width: 100%;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.2);
}

.tight-form-section {
    width: 700px;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.2);
}

.center_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-form-section {
    width: 100%;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.2);
}

/* .search-section {
    width: 100%;
    border: solid 3px;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
} */

.search-section {
    width: 100%;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0px 4px 4px 4px rgba(0, 0, 0, 0.2);

}

.form-second-section {
    width: 100%;
    padding: 20px;
    color: #306f5f;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.button-submit {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 20px;
    min-height: 40px;
    padding: 10px 25px 10px 25px;
    /* max-width: 150px; */
    border: 0;
    margin-bottom: 20px;
}
.button-move-batch{
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 20px;
    min-height: 40px;
    padding: 5px 25px 10px 25px;
    /* max-width: 150px; */
    border: 0;
    margin-bottom: 20px;

}

.button-submit:hover {
    background-color: #d4af37;
    transition: 0.2s;
}

.button-cancel {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button-cancel:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.popup-button-submit {
    background-color: #306f5f;
    border-radius: 20px;
    color: #ffffff;
    font-size: 16px;
    min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 150px;
    border: 0;
}

.button-submit-container {
    justify-content: left;
    align-items: left;
    display: flex;
}

.button-add:hover,
.button-add:focus {
    background-color: #d4af37;
    transition: 0.2s;
}


.button-add:active {
    background: #d4af37;
    color: rgb(255, 255, 255, .7);
}

.button-add:disabled {
    cursor: not-allowed;
    background: rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .3);
}

.form-label-special {
    color: #306f5f;
    /* float: right; */
    font-size: 20px;
    font-weight: bold;
    padding-left: 10px;
}

.form-select-special {
    border-radius: 30px;
    border: solid 1.5px;
    border-color: #306f5f;
    width: 100%;
    height: 35px;
    text-align: right;
    text-indent: 10px;
    /* float: right; */
}

.form-select-special-box {
    padding: 3px;
    display: flex;
    align-items: center;
    margin: 0px 0px 0px 19px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #d4af37;
}

input:focus+.slider {
    box-shadow: 0 0 1px #d4af37;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.popup {
    background-color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 999;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}

body.my-login-page {
    background-color: #f7f9fb;
    font-size: 14px;
}

.my-login-page .brand {
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    margin: 40px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
    position: relative;
    z-index: 1;
}

.my-login-page .brand img {
    width: 100%;
}

.my-login-page .card-wrapper {
    width: 400px;
}

.my-login-page .card {
    border-color: transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
    margin-top: 40%;
}

.my-login-page .card.fat {
    padding: 10px;
}

.my-login-page .card .card-title {
    margin-bottom: 30px;
}

.my-login-page .form-control {
    border-width: 2.3px;
}

.my-login-page .form-group label {
    width: 100%;
}

.my-login-page .btn.btn-block {
    padding: 12px 10px;
}

.my-login-page .footer {
    margin: 40px 0;
    color: #888;
    text-align: center;
}

.hidden {
    visibility: hidden;
    position: absolute;
}

.customer-details-buttons {
    margin-top: 40px;
}


/* * from here */ 

#agent-select-box {
    width: 100%;
    position: relative;
}
#agent-select-option {
    position: relative;
} 

#occupation-select-box {
    width: 100%;
    position: relative;
}
#occupation-select-option {
    position: relative;
} 

.select-option::after {
    content: "";
    border-top: 12px solid #000;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -8px;
} 


.select-content {
    background-color: #fff;
    position: absolute;
    color: #000;
    border-radius: 7px;
    margin-top: 15px;
    width: 100%;
    z-index: 999;
    display: none;
}

.select-search input {
    height: 30px;
    width: 100%;
    font-size: 17px;
    padding: 15px;
    outline: 0;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
}

.select-options {
    margin-top: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding: 0;
}

.select-options li {
    padding: 10px 15px;
    font-size: 15px;
    cursor: pointer;
}

.select-options li:hover {
    background-color: #d4af37;
    color: #fff;
}

#agent-select-box.active .select-content {
    display: block;
}
#occupation-select-box.active .select-content {
    display: block;
}

.form-control[readonly] {
    background-color: white !important;
    cursor: default;
}

/* CSS styles */
.rowCheckbox {
    /* Customize checkbox appearance */
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  .rowCheckbox:checked {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
  }
  
  .rowCheckbox:checked::after {
    content: '\u2713'; /* Checkmark character */
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
  }

  /* Optional: Customize the star's appearance */
span.required-field {
    color: red;
    font-weight: bold;
}

/* Permissions Grid Styles */
.permissions-grid {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.permission-group {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 400px;
    max-width: 600px;
}

.permission-group-title {
    color: #306f5f;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d4af37;
    font-size: 16px;
}

.permission-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    gap: 12px;
}

.permission-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #306f5f;
    cursor: pointer;
    flex-shrink: 0;
    order: 1;
}

.permission-checkbox label {
    font-size: 15px;
    color: #333;
    cursor: pointer;
    margin: 0;
    margin-right: 25px;
    font-weight: 500;
    flex: 1;
    order: 2;
}

/* Style for the dynamically added select all elements */
.permission-group-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.permission-group-title .form-check-input {
    width: 18px;
    height: 18px;
    accent-color: #306f5f;
    cursor: pointer;
    margin-right: 0px;
    order: 1;
}

.permission-group-title .form-check-label {
    font-size: 14px;
    color: #306f5f;
    cursor: pointer;
    margin-right: 30px;
    font-weight: 600;
    order: 2;
}

/* Create a container for the second line */
.permission-group-title .select-all-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.permission-checkbox:hover {
    background-color: #f8f9fa;
    border-color: #d4af37;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.permission-checkbox:has(input:checked) {
    background-color: #e8f5e8;
    border-color: #306f5f;
}

.select-all-permissions {
    margin-left: 10px !important;
}

/* Responsive design for permissions */
@media screen and (max-width: 768px) {
    .permissions-grid {
        justify-content: stretch;
    }
    
    .permission-group {
        padding: 15px;
        min-width: auto;
        max-width: none;
    }
    
    .permission-group-title {
        font-size: 14px;
    }
}


  