body {
    font-family: "Noto Kufi Arabic", serif;
    font-weight: 400;
    background-color: #f8f9fa;
}
.navbar {
    background-color: #fff !important;
    box-shadow: 0 5px 8px 0px #00000052;
}
a {
    text-decoration: none;
}
.cursor-pointer {
    cursor: pointer !important;
}
.badge-custom {
    font-size: 0.80em;
    font-weight: 500;
}
.back-button-white {
    background-color: #ffffff;
    color: #212529;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 6px 1px #00000080;
}
.back-button-white i {
    margin-left: 7px;
    line-height: 1;
}
.btn-group-custom {
    border: 1px solid #d9d9d9;
    background-color: #2980b9;
    color: #fff;
    font-weight: 300;
}
.btn-group-custom:hover {
    background-color: #3498db;
    color: #fff;
}
.btn-group-custom::selection {
    background-color: #3498db;
    color: #fff;
}
.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}
.card-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.text-custom {
    color: #046B68 !important;
}
.btn-light {
    background-color: #6c6c6c !important;
    color: #fff !important;
}
.btn-light:hover, .btn-light:focus, .btn-light:active {
    color: #ffffff !important;
    background-color: #a1a1a1 !important;
    border-color: #999999 !important;
}

/*
 *******************
    Select2
 *******************
*/
.select2-container {
    display: block !important;
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    padding: .275rem 0 !important;
    line-height: 1.5 !important;
    height: 37.14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding: 0 .75rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37.14px !important;
}


/*
 *******************
    Index Page
 *******************
*/

.hero {
    position: relative;
    background-image: url('../images/bg-home.jpg'); /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero h1 {
    font-size: 2rem;
    margin: 0;
}
.hero p {
    font-size: 1.25rem;
    margin: 0;
}

/*  services */
.service-card {
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background-color: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-icon {
    font-size: 50px;
    color: #5cb85c;
    width: 4.8rem;
    height: 4.8rem;
    margin: 10px auto 20px;
}
.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}
.btn-service {
    background-color: #046B68;
    color: #fff;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
}
.btn-service:hover {
    background-color: #038783;
}
.btn-service-2 {
    background-color: #046B68;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
}
.btn-service-2:hover {
    background-color: #038783;
}
.btn-details {
    background-color: #f7f7f7;
    color: #666;
    padding: 8px 15px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-grow: 1;
}
.btn-details:hover {
    background-color: #e3e3e3;
}
.badge-service {
    padding: 7px 10px;
    background: #f7f7f7 !important;
    border-radius: 30px !important;
    font-size: .865rem;
    color: #282828 !important;
    font-weight: 500;
}

/*
 *******************
    Login Page
 *******************
*/

.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
}
.login-container h3 {
    text-align: center;
    margin-bottom: 20px;
}
.form-check-label {
    margin-right: 10px;
}
/*.otp-input {
    width: 50px;
    height: 50px;
    margin: 0 5px;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
}*/

/*
 *******************
    Register Page
 *******************
*/

.register-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
}
.register-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

/*
 *******************
    Account Page
 *******************
*/
.account-nav-pills .nav-link {
    border: 1px solid #c8c8c8;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #fff;
}
.account-nav-pills .nav-link.active {
    background-color: #046B68 !important;
    color: white !important;
    border-color: #046B68;
}
.account-nav-pills .nav-link i {
    margin-left: 10px;
    font-size: 18px;
}
.account-tab-content .tab-pane {
    margin-top: 0;
    border: 1px solid #c8c8c8 !important;
}
.account-tab-content {
    background-color: #fff;
}

/*
 *******************
    My Establishments Page
 *******************
*/

.my-establishment .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.my-establishment .header h1 {
    font-size: 1.5rem;
}
.my-establishment .establishment-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e3e3e3;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.my-establishment .establishment-card .arrow {
    font-size: 1.5rem;
}
.my-establishment .establishment-card .arrow a {
    color: #157773;
}
.add-button {
    display: flex;
    align-items: center;
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 6px 1px #00000080;
}
.add-button i {
    margin-left: 5px;
}
.hero-thump {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #157773;
    min-height: 150px;
    display: flex;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    margin-top: 74px;
    margin-bottom: 30px;
    box-shadow: 0 3px 5px 0px #cdcdcd;
}
.hero-thump .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-thump h1 {
    font-size: 1.5rem;
    margin: 0;
}
.hero-thump p {
    font-size: 1rem;
    margin: 0;
}

/*
 *******************
    Add New Establishment Page
 *******************
*/

.form-container {
    background-color: #fff;
    border-radius: 8px;
    width: 100%;
    display: inline-block;
    box-shadow: 0 5px 16px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
}
.form-container h2 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 25px;
}
.form-container h3 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 35px;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
.btn-left {
    float: left;
}

.custom-btn {
    background-color: #046B68; /* Default color for unvisited steps */
    color: white;
    border: 2px solid #046B68;
}

.custom-btn:hover {
    background-color: #018d87;
    color: white;
    /* border-color: #046B68; */
}


/*
 *******************
    FAQ Page
 *******************
*/


.table th, .table td {
    text-align: center;
}

.checkbox-item input {
    margin-right: 10px;
}
.light-green-class {
    background-color: #dfe8e8;
    border-radius: 6px !important;
    padding: 2rem 1.8rem;
}
.text-taheel {
    color: #016b68;
    font-weight: 600;
}

/* Change accordion header color when expanded */
.accordion-button:not(.collapsed) {
    background-color: #046B68; /* Light Green for expanded body */
    color: white; /* Dark Green text for header */
    border-color: #eaf6ea; /* Green border for expanded header */
}


/* Change color for collapsed accordion buttons */
.accordion-button {
    background-color: white; /* f1f1f1 Lighter gray for non-expanded */
    color: #5a5a5a; /* Dark gray text for collapsed */
    border-color: #ddd; /* Light gray border */
}

/* Change accordion body background color when expanded */
.accordion-collapse.show .accordion-body {
    background-color: white; /* #DFE8E8 #eaf6ea Light Green for body */
}


/*
 *******************
    Service Page
 *******************
*/

/* Optional: Add border and spacing between the steps */
.nav-tabs .nav-link {
    color: black;  /* Black text for inactive tabs */
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
}
.nav-tabs .nav-link.active {
    background-color: #046B68;  /* Green color for active tab */
    color: white;
    border-color: #046B68;  /* Green border for active tab */
}

.tab-pane {
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 0.375rem;
    margin-top: 15px;
}


/* Remove extra space from around the radio buttons */
.radio-column input {
    margin: 0;
}

.file-hidden {
    display: none;
}
.taheel-details {
    line-height: 30px;
}
.box-heading {
    display: flex;
    align-items: center;
}
.box-heading img {
    width: 30px;
    margin-left: 10px;
}
.box-heading h3 {
    color: #016b68;
    font-weight: 600;
    font-size: 1.15rem;
    margin: 0;
}
.small-box > p {
    color: #4e4e4e;
    text-align: center;
    font-size: 1.20rem;
    margin: 0;
}
.custom-accordion .accordion-item {
    box-shadow: 0px 0 4px 0px #00000042;
    overflow: hidden;
}

/*
 *******************
    Taheel Process Page
 *******************
*/

/* Custom Progress Bar Styles */
.progress-bar-nav {
    display: flex;
    justify-content: center;
    /*margin-bottom: 2rem;*/
    list-style: none;
    padding: 0;
}

.progress-bar-nav li {
    text-align: center;
    margin-right: 5px;
}

.progress-bar-nav li:last-child {
    margin-right: 5px;
}

.progress-bar-nav a {
    display: block;
    padding: 10px 15px;
    background-color: #f1f1f1; /* Light gray by default */
    color: #777;
    text-decoration: none;
    border: 2px solid #ddd;
}

/* Active step */
.progress-bar-nav .active a {
    background-color: #046B68; /* Green for active step */
    color: white;
    border-color: #046B68;
}

/* Completed steps (before the active one) */
.progress-bar-nav .completed a {
    background-color: #A8D5D5; /* Blue for completed steps */
    color: white;
    border-color: #A8D5D5;
}

/* Upcoming steps (after the active one) */
.progress-bar-nav .upcoming a {
    background-color: #f1f1f1;
    color: #777;
    border-color: #ddd;
}

/*.card {
    background-color: #0f513212;

}*/

.form-check-inline {
    padding-left: 15px;
    padding-right: 15px;
}

.border-line {
    border-left: 2px solid #046B68; /* Adjust color and width as needed */
    padding-left: 15px;
}

.two-in-a-row li {
    flex: 0 0 48%; /* Adjust to take up approximately half of the container */
    list-style: none; /* Optional: Removes bullet points */
}

.radio-column input {
    margin: 0;
}

.custom-file-label {
    display: inline-block;
    padding: 8px 15px;
    font-size: 16px;
    background-color: #046B68;
    color: white;
    border: 1px solid #046B68;
    border-radius: 5px;
    cursor: pointer;
}

.custom-file-label:hover {
    background-color: whitesmoke;
    color: black;
}

/* Style for checkbox selection */
.form-check-input:checked {
    background-color: #28a745; /* Green color when selected */
    border-color: #28a745;
}

.form-group {
    margin-bottom: 1.5rem;
}

.checkbox-item {
    flex: 0 0 48%; /* Two checkboxes per row */
    margin-bottom: 1rem;
}


/*
 *******************
    Establishment New Page
 *******************
*/

.colored-c {
    background-color: #0f513212;

}
/* Custom Border Color for All Input Elements */
input.form-control, select.form-control {
    /*border: 1.5px solid #046B68 !important;
    border-radius: 3px;*/
}

/* Change border color when focused */
input.form-control:focus, select.form-control:focus {
    /*border-color: #046B68 !important;
    box-shadow: 0 0 0 0.25rem rgba(4, 107, 104, 0.25);*/
}

/*
 *******************
    Service Start Page
 *******************
*/
.step-container {
    display: flex;
    justify-content: space-between;
    text-align: center;
    transform: translateY(-32%);
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #046B68;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}
.step-circle.active {
    background-color: #046B68;
    color: #fff;
}
.step-label {
    font-size: 14px;
    color: #333;
}
.progress-bar {
    transition: width 2s ease;
}
.step-progress {
    margin-right: 12px;
    margin-left: 12px;
}
.step-progress .progress-bar {
    background-color: #046B68;
}

/* First Step */

/* Radio Box */
.establishment-radio .box-radio {
    box-shadow: 0 0 0 0;
}
.establishment-radio label {
    cursor: pointer;
}
.establishment-radio label input[type=radio] {
    display: none;
}
.establishment-radio label .checkmark {
    display: block;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
    border: 1px solid #9d9d9d;
}
.establishment-radio label input[type=radio]:checked + .box-radio .checkmark {
    background-color: #007e90;
    color: #fff;
    border: 1px solid #3c3c3c;
    transition: background-color 0.3s ease-in-out;
}

.establishment-radio label input[type=radio]:checked + .box-radio {
    border-color: #005f6b;
    transition: background-color 0.3s ease-in-out;
}
.establishment-radio label .box-radio div:last-child p {
    margin-bottom: 4px !important;
}
.establishment-radio label .box-radio div:last-child p:last-child {
    font-size: 0.85rem;
    margin-bottom: 0px !important;
}

/* Second Step */
.balady_licenses-radio label {
    cursor: pointer;
}
.balady_licenses-radio label input[type=radio] {
    display: none;
}
.balady_licenses-radio .balady_licenses-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    background-color: #f8f9fa;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.balady_licenses-radio .balady_licenses-card:hover {
    border: 1px solid #147673;
    transition: transform 0.2s, border 0.2s;
}
.balady_licenses-radio .balady_licenses-card h5 {
    color: #147673;
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.balady_licenses-radio .balady_licenses-card p {
    margin-bottom: 2px;
    font-weight: bold;
}
.balady_licenses-radio label input[type=radio]:checked + .balady_licenses-card {
    border: 1px solid #147673;
    background-color: #14767321;
    transition: background-color 0.3s ease-in-out;
}

/* Third Step */
.engineer-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 var(--bs-card-spacer-x);
    font-weight: bold;
    color: #147673;
    margin: 8px 0;
}
.engineer-line > div {
    border-bottom: 2px solid #147673;
    width: 100%;
    margin-right: 7px;
}

/* Fourth Step */
.dropzone {
    border: var(--bs-border-width) solid #c5c5c5 !important;
    border-radius: var(--bs-border-radius) !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 6px 15px !important;
    cursor: pointer !important;
}
.dropzone .dz-message {
    margin: 6px 0 !important;
    text-align: right !important;
    color: #6c757d !important;
}
.dropzone .dz-preview {
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}
.dropzone .dz-preview.dz-file-preview .dz-image {
    border-radius: 5px !important;
    display: none !important;
}
.dropzone .dz-preview .dz-image {
    width: 37px !important;
    height: 36px !important;
    display: none !important;
}
.dropzone .dz-preview .dz-details {
    position: relative !important;
    padding: 0 !important;
    min-width: auto !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    font-size: 14px !important;
    opacity: 1 !important;
}
.dropzone .dz-preview .dz-details .dz-size {
    margin: 0 !important;
    font-size: 14px !important;
}
.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    flex: 1;
}
.dropzone .dz-preview .dz-error-mark {
    display: none !important;
}
.dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {
    width: 25px !important;
    height: 25px !important;
}


