﻿@font-face {
    font-family: 'font-bold';
    src: url('../fonts/droid/droidkufi-bold.eot');
    src: url('../fonts/droid/droidkufi-bold.eot?#iefix') format('embedded-opentype'),url('../fonts/droid/droidkufi-bold.woff') format('woff'),url('../fonts/droid/droidkufi-bold.ttf') format('truetype')
}

@font-face {
    font-family: 'font-regular';
    src: url('../fonts/droid/droidkufi-regular.eot');
    src: url('../fonts/droid/droidkufi-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/droid/droidkufi-regular.woff') format('woff'),url('../fonts/droid/droidkufi-regular.ttf') format('truetype')
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/droid/droidkufi-regular.eot');
    src: url('../fonts/droid/droidkufi-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/droid/droidkufi-regular.woff') format('woff'),url('../fonts/droid/droidkufi-regular.ttf') format('truetype')
}

:root {
    --primary: #ED2024;
    --primary-red: #ED2024;
    --secondary: #ED2024;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-bg: #f1f5f9;
    --dark-gray: #585858;
    --primary-gr: #ED2024;
    --dark-red: #b71c1c;
    --light-red: #ff6659;
    --accent-red: #f44336;
    --light-gray: #f5f5f5;
    --accent: #f44336;
    --medium-gray: #666;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --danger: #dc3545;
    --card-radius: 12px;
    --accepted: #28a745;
    --rejected: #dc3545;
    --cancelled: #dc3545;
    --light-text: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--light-bg);
    color: var(--dark);
    overflow-x: hidden;
}

body, h1, h2, h3, p, span, div {
    font-family: 'font-regular', sans-serif !important;
}

a {
    color: var(--primary);
    text-decoration: underline;
}

/* Header & Navigation */
.top-nav {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-left {
    display: flex;
    align-items: center;
}

.nav-icons a {
    color: white;
    /*  margin-left: 15px; */
    transition: all 0.3s;
}

    .nav-icons a:hover {
        color: white;
    }

.language-selector .dropdown-toggle::after {
    display: none;
}

.user-dropdown .btn {
    padding: 5px 12px;
    font-size: 0.9rem;
}

.main-navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-buttons .btn {
    margin-left: 10px;
    border-radius: 30px;
    padding: 8px 20px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 15px;
    font-weight: 500;
    transition: all 0.3s;
}

    .dropdown-item:hover {
        background-color: var(--primary);
        color: white;
    }

.dropdown-divider {
    margin: 5px 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-outline-primary:hover {
    background-color: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: #fff !important;
}

.btn-custom {
    border: 1px solid #ddd;
}
/*************** Home ************/

.dvHomeContainer .page-content {
    padding: 0 !important;
}

.dvHomeContainer .section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

    .dvHomeContainer .section-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--accent-gold);
    }

.dvHomeContainer .pathway-card {
    border: 1px solid rgba(139, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.dvHomeContainer .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

    .dvHomeContainer .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }

.section-title-home {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

    .section-title-home:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: var(--accent-gold);
    }
/*************** Home End ********/

/* Page Content Styles */
.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-header {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .page-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--primary);
    }

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: none;
    transition: all 0.3s;
}

    .card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* Login & Registration Forms */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.form-label {
    font-weight: 600;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem #ed202440;
    }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Search Results */
.search-results {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-count {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 60px 0 20px;
    background-image: url('../images/footer-png.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 630px auto;
    border-radius: 1rem 1rem 0rem 0rem;
    margin-top: 2rem;
}

    .footer a {
        text-decoration: none !important;
    }

    .footer h5 {
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        color: var(--secondary) !important;
    }

.footer-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s;
}

    .footer-links a:hover {
        color: var(--primary);
        transform: translateX(5px);
    }

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: #fff;
}

    .footer-contact li i {
        margin-right: 15px;
        color: white;
        font-size: 1.2rem;
    }

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

    .social-links a:hover {
        background: var(--primary);
        transform: translateY(-5px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 60px;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary) !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

    .scroll-top.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top:hover {
        background: var(--primary);
        transform: translateY(-3px);
    }

/* =====================
   Spinner & Loading
   ===================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(237, 32, 36, 0.2);
    border-top: 5px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar-brand img {
    width: 8rem !important
}

footer img {
    width: 10rem !important
}

.oacpa-card {
    border-left: 4px solid var(--primary);
    overflow: visible !important
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}


.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background-color: var(--primary);
        opacity: .7;
    }

.admin-panel {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /*padding: 30px;*/
    margin-bottom: 30px;
}

table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after, table.dataTable > thead .sorting_asc:before, table.dataTable > thead .sorting_asc:after, table.dataTable > thead .sorting_desc:before, table.dataTable > thead .sorting_desc:after, table.dataTable > thead .sorting_asc_disabled:before, table.dataTable > thead .sorting_asc_disabled:after, table.dataTable > thead .sorting_desc_disabled:before, table.dataTable > thead .sorting_desc_disabled:after
Specificity: (0,2,3) {
    position: absolute;
    bottom: .5em;
    display: block;
    opacity: .6;
    font-size: .8rem;
    font-weight: 700;
}


.active > .page-link, .page-link.active {
    z-index: 3;
    color: white;
    background-color: var(--primary-gr);
    border-color: var(--dark-red);
}

.form-select, .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3a86ff 0%, #8338ec 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-img {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Page Content Styles */
.page-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-header {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

    .page-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--primary);
    }

footer img {
    width: 10rem !important
}

.oacpa-card {
    border-left: 4px solid var(--primary);
}

.bg-white {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

    .btn-primary:hover {
        background-color: var(--primary);
        opacity: .7;
    }

.admin-panel {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /*padding: 30px;*/
    margin-bottom: 30px;
}

table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after, table.dataTable > thead .sorting_asc:before, table.dataTable > thead .sorting_asc:after, table.dataTable > thead .sorting_desc:before, table.dataTable > thead .sorting_desc:after, table.dataTable > thead .sorting_asc_disabled:before, table.dataTable > thead .sorting_asc_disabled:after, table.dataTable > thead .sorting_desc_disabled:before, table.dataTable > thead .sorting_desc_disabled:after
Specificity: (0,2,3) {
    position: absolute;
    bottom: .5em;
    display: block;
    opacity: .6;
    font-size: .8rem;
    font-weight: 700;
}


.active > .page-link, .page-link.active {
    z-index: 3;
    color: white;
    background-color: var(--primary-gr);
    border-color: var(--dark-red);
}

.form-select, .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

/* Custom Select2 Styling */
.select2-container {
    width: 100% !important;
    margin-bottom: 20px;
}

.select2-container--default .select2-selection--single {
    height: 43px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background: white;
}

    .select2-container--default .select2-selection--single:hover {
        border-color: var(--light-red);
    }

    .select2-container--default .select2-selection--single:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
        outline: none;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 26px;
        color: var(--dark-gray);
        font-size: 16px;
        padding-left: 5px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 46px;
        width: 40px;
    }

        .select2-container--default .select2-selection--single .select2-selection__arrow b {
            border-color: var(--dark-gray) transparent transparent transparent;
            border-width: 6px 6px 0 6px;
        }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--dark-gray) transparent;
    border-width: 0 6px 6px 6px;
}

.select2-container--default .select2-results__option {
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--light-red);
    color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--primary);
    color: white;
}

.select2-dropdown {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

.select2-search--dropdown {
    padding: 10px;
}

    .select2-search--dropdown .select2-search__field {
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        padding: 8px 12px;
        font-size: 15px;
    }

        .select2-search--dropdown .select2-search__field:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
        }

/* Multi-select styling */
.select2-container--default .select2-selection--multiple {
    min-height: 48px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .select2-container--default .select2-selection--multiple:hover {
        border-color: var(--light-red);
    }

    .select2-container--default .select2-selection--multiple:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
        outline: none;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background: var(--primary);
        border: none;
        border-radius: 4px;
        color: white;
        padding: 5px 10px;
        margin-top: 8px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        color: white;
        margin-right: 5px;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        padding-right: 8px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__rendered {
        padding: 5px 10px;
    }

    .select2-container--default .select2-selection--multiple .select2-search__field {
        margin-top: 10px;
        height: 30px;
    }

.dateSeperator {
    background: var(--primary);
    color: white;
    text-align: center
}

.form-section {
    /*margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;*/
}

.form-section-title {
    font-size: 22px;
    color: var(--dark-red);
    margin-bottom: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-red);
    display: flex;
    align-items: center;
}

    .form-section-title i {
        margin-right: 12px;
        font-size: 26px;
    }

.loader_box {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.63);
    background-image: url(/assets/images/loader2.gif);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 15%;
    z-index: 6;
    display: none
}

.current .wz_circle {
    background-color: #6daea9 !important
}

.validation-error {
    font-size: 13px;
    color: #f44336;
    bottom: 0;
    right: 5px;
    width: 100%;
    text-align: left;
    float: left;
    margin-top: .4rem
}

.body-ar .validation-error {
    text-align: right;
    float: right;
}

.body-ar .form-select {
    background-position: left .75rem center;
}

.starspan {
    color: #f44336
}

.dateElem .starspan {
    display: none !important
}

.skipRequired .starspan {
    display: none !important
}

.modal-header .close {
    margin: -1rem auto -1rem -1rem !important;
}

.modal_sty .modal-body {
    padding: 30px 10px;
}

.modal-header {
    background: #efefef;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #00a05a !important;
    border-color: #00a05a;
    height: 100%
}

.swal2-popup .swal2-styled.swal2-confirm {
    background-color: #29504d !important;
    border-color: #29504d !important;
}

.idx {
    background: #00a159;
    text-align: center;
    color: #fff;
    font-size: .7rem;
    border-radius: 5px;
    width: 25px !important;
    display: inline-block;
    text-align: center;
    height: 28px;
}

.idx2 {
    background: #ff9800;
    padding: 0px 5px 0px 5px;
    text-align: center;
    color: #fff;
    font-size: .6rem;
    float: right;
    margin: 5px 0px 0 5px;
    border-radius: 50%;
}

.idx3 {
    background: #ff9800;
    padding: 0px 5px 0px 5px;
    text-align: center;
    color: #fff;
    font-size: .6rem;
    margin: 5px 0px 0 5px;
    border-radius: 50%;
}


.dateSeperator {
    background: var(--primary);
    color: white;
    /*border: none;
    border-radius: 4px;
    color: white;
    padding: 5px 10px;
    margin-top: 8px;
    text-align: center*/
}

.form-section {
    /*margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;*/
}

/*.form-section-title {
    font-size: 22px;
    color: var(--dark-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-red);
    display: flex;
    align-items: center;
}*/

/*  .form-section-title i {
        margin-right: 12px;
        font-size: 26px;
    }*/

.loader_box {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.63);
    background-image: url(/assets/images/loader2.gif);
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 6;
    display: none
}

.current .wz_circle {
    background-color: #6daea9 !important
}

.validation-error {
    font-size: 13px;
    color: #f44336;
    bottom: 0;
    right: 5px;
    width: 100%;
    text-align: left;
    float: left;
    margin-top: .4rem
}

.starspan {
    color: #f44336
}

.dateElem .starspan {
    display: none !important
}

.skipRequired .starspan {
    display: none !important
}

.modal-header .close {
    margin: -1rem auto -1rem -1rem !important;
}

.modal_sty .modal-body {
    padding: 30px 10px;
}

.modal-header {
    background: #efefef;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #00a05a !important;
    border-color: #00a05a;
    height: 100%
}

.swal2-popup .swal2-styled.swal2-confirm {
    background-color: #29504d !important;
    border-color: #29504d !important;
}

.idx {
    background: #00a159;
    text-align: center;
    color: #fff;
    font-size: .7rem;
    border-radius: 5px;
    width: 25px !important;
    display: inline-block;
    text-align: center;
    height: 28px;
}

.idx2 {
    background: #ff9800;
    padding: 0px 5px 0px 5px;
    text-align: center;
    color: #fff;
    font-size: .6rem;
    float: right;
    margin: 5px 0px 0 5px;
    border-radius: 50%;
}

.idx3 {
    background: #ff9800;
    padding: 0px 5px 0px 5px;
    text-align: center;
    color: #fff;
    font-size: .6rem;
    margin: 5px 0px 0 5px;
    border-radius: 50%;
}

.lnkVerCodeEmail {
    display: block;
    width: 100%;
    background: white;
    color: var(--primary-red);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.form-check-input:checked {
    border-color: var(--dark-red);
    background-color: var(--primary-red);
}

.form-select-sm {
    padding: 3px 30px;
}

.dt-action-buttons, .dataTables_length {
    margin-top: 1rem;
}

.action-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: var(--light-gray);
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.credential .certificateName {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 18px;
}

.credential .authority {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.credential .dateRange {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.credential-header {
    background: var(--light-gray) !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid #eee !important;
    display: flex !important;
    align-items: center !important;
    color: #333 !important;
}

.credential-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin-right: 15px;*/
    font-size: 18px;
}

.action-icon {
    text-decoration: none !important;
}

#review-container .card-header {
    background: linear-gradient(to right, var(--primary-red), var(--accent));
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
    padding: 15px 20px;
    font-size: 1.2rem;
}

#review-container .section-title {
    color: var(--dark-red);
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

#review-container .certificate-badge {
    background-color: var(--light-red);
    color: var(--dark-red);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
    margin: 5px;
}

#review-container .membership-details {
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
}

#review-container .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

#review-container. .detail-item:last-child {
    border-bottom: none;
}

#review-container .payment-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

    #review-container .payment-form .form-control:focus {
        border-color: var(--primary-red);
        box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25);
    }

#review-container .payment-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    #review-container .payment-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary-red), var(--accent));
    }

#review-container .btn-pay {
    background: linear-gradient(to right, #2e7d32, #4caf50);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

    #review-container .btn-pay:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
    }

#review-container .total-box {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

#review-container .total-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
}

#review-container .secure-payment {
    text-align: center;
    color: #666;
    margin-top: 20px;
    font-size: 0.9rem;
}

#review-container .certificate-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

#review-container .certificate-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

    #review-container .certificate-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: var(--primary-red);
    }

#review-container .certificate-title {
    color: var(--dark-red);
    font-weight: 600;
    margin-bottom: 10px;
}

#review-container .divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 25px 0;
}

.summary-row {
    margin-bottom: .75rem;
}

.summary-label {
    font-weight: 500;
    color: #6c757d;
}

.summary-value {
    font-weight: 600;
}

.text-primary {
    color: var(--primary) !important;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: #ffebee;
    color: var(--primary-red);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.skill-tag i {
    margin-left: 5px;
    margin-right: 5px;
}

/* Profile Sidebar Styles */
.profile-sidebar {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.profile-title {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
    text-align: center;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

    .profile-header h1 {
        color: var(--dark-red);
        font-size: 32px;
    }

.member-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-weight: 600;
}

.sidebar-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

    .sidebar-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 10px;
    }

        .sidebar-section h3 i {
            margin-left: 10px;
            margin-right: 10px;
        }

.body-ar .sidebar-section h3 i {
    margin-left: 10px;
    margin-right: 0;
}

.detail-item {
    margin-bottom: 15px;
    display: flex;
}

.detail-label {
    width: 40%;
    opacity: 0.8;
    font-size: 14px;
}

.detail-value {
    width: 60%;
    font-weight: 500;
}


/* Buttons */
.btn-primary {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--dark-red);
        border-color: var(--dark-red);
    }

.btn-outline-primary {
    color: var(--primary-red);
    border-color: var(--primary-red);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-red);
        border-color: var(--primary-red);
        color: white;
    }

#lnkVerCodeEmail {
    font-size: .8rem !important;
    font-weight: 600;
    padding: 10px 15px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--dark-red) !important;
    font-weight: 600 !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #ddd !important;
}

/* Home */
body.body-ar {
    text-align: right;
}

.body-ar .dropdown-menu {
    text-align: right !important;
}

/*.breadcrumb {
    background-color: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 30px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 20px 0;
    border-radius: 0 0 10px 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}*/

.body-ar .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: .5rem;
    padding-right: .5rem;
    content: "\\";
}

.breadcrumb a {
    text-decoration: none;
}

.body-ar .form-section-title i {
    margin-left: 12px !important;
}

.body-ar .bs-stepper-label {
    margin-right: 1rem !important;
}

.body-ar .btn-close {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .modal-header .btn-close {
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) auto calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x));
}

[dir="rtl"] .modal-body {
    text-align: right;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

.text-red {
    color: var(--primary-red) !important;
}

.btn-red {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

    .btn-red:hover {
        background-color: var(--dark-red);
        border-color: var(--dark-red);
        color: white;
    }

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/hero-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.card-header {
    background-color: var(--primary-red);
    color: white;
    font-weight: 600;
}

.classification-card {
    border-left: 5px solid var(--primary-red);
}

.highlight-box {
    background-color: rgba(139, 0, 0, 0.05);
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

    .highlight-box h5 {
        font-weight: 600 !important
    }

.requirement-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    list-style-type: none;
}

    .requirement-list li:before {
        content: "✓";
        color: var(--primary-red);
        position: absolute;
        left: 0;
        top: 0;
        font-weight: bold;
    }

.step-box {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    height: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}



.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}

    .social-icon:hover {
        background-color: var(--accent-gold);
    }

.badge-level {
    background-color: var(--light-red);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: normal;
}

.ar-content {
    line-height: 1.8;
}

.ar-heading {
    font-weight: 700;
}


.ar-content li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
    list-style: none;
}

    .ar-content li:before {
        content: "✓";
        color: var(--primary-red);
        position: absolute;
        right: 0;
        top: 0;
        font-weight: bold;
    }

.d-noneExt {
    display: none !important;
}

.avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%; /* Makes it circular */
    border: 2px solid #dee2e6; /* Optional: light border */
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-lg {
    width: 96px;
    height: 96px;
}

.swal2-confirm {
    margin: 1rem;
}

.consent-section {
    background: var(--light-red);
    padding: 10px;
    text-align: center;
    margin-top: 40px;
    border-radius: 10px;
}

.bg-light-success {
    background: rgba(40, 199, 111, 0.12) !important;
    color: #28C76F !important;
}

.bg-light-danger {
    background: rgba(255, 0, 0, 0.12) !important;
    color: #FF0000 !important;
}

.bg-light-warning {
    background: rgba(255, 193, 7, 0.12) !important;
    color: #FFC107 !important;
}

.bg-primary {
    background: var(--primary-red) !important;    
}

.bg-light-primary {
    background: rgba(0, 123, 255, 0.12) !important;
    color: #007BFF !important;
}

.bg-light-secondary {
    background: rgba(108, 117, 125, 0.12) !important;
    color: #6C757D !important;
}

.section-title {
    font-weight: 600;
    color: #dc3545;
    border-bottom: 2px solid #ffcdd2;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/************* Dashboard ************/
.card-highlight {
    border-top: 4px solid var(--primary);
}

.form-filter {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    padding: 2rem 1rem;
}

    .form-filter .card-header {
        background: white;
        border-bottom: 2px solid var(--primary-red);
        padding: 15px 20px;
        font-weight: 600;
        color: var(--dark-red);
    }

.date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--secondary);
}

.avatar-dashboard {
    white-space: nowrap;
    background-color: #C3C3C3;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    color: #FFFFFF;
    display: inline-flex;
    font-size: 1rem;
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
}

    .avatar-dashboard .avatar-content {
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        font-size: 0.857rem;
    }

.match-height > [class*='col'] {
    display: flex;
    flex-flow: column;
}

    .match-height > [class*='col'] > .card {
        flex: 1 1 auto;
    }

.congratulation-medal {
    position: absolute;
    top: 0;
    left: 37px;
}

.h-50 {
    height: 50% !important;
}

#dvDashboard .card-statistics {
    /* padding: 1rem */
}

#dvDashboard .card-header {
    /*  background: white;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            padding: 18px 25px;
            font-weight: 600;
            color: var(--primary);
            font-size: 1.15rem;
            display: flex;
            align-items: center; */
}

#dvDashboard .row {
    margin-bottom: 2rem
}

.border-right {
    border-right: 1px solid #dee2e6 !important;
}

.border-left {
    border-right: 1px solid #dee2e6 !important;
}

.summary-card {
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-top: 4px solid var(--primary);
}

.status-container {
    background: white;
    border-radius: var(--card-radius);
    padding: 20px;
    height: 100%;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

.status-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-top: 4px solid transparent;
    display: flex;
    flex-direction: column;
}

.status-card:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.status-icon {
    font-size: 2.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    align-self: flex-start;
}

.status-card.complete {
    border-top-color: var(--success);
}

.complete .status-icon {
    color: var(--success);
}

.complete .progress-bar {
    background: var(--success);
}

/* DRAFT (drf) */
.status-card.drf {
    border-top-color: #9e9e9e;
}

.drf .status-icon {
    color: #9e9e9e;
}

.drf .progress-bar {
    background: #9e9e9e;
}

.status-card.primary {
    border-top-color: var(--primary);
}

/* NEW (new) */
.status-card.new {
    border-top-color: #81c784;
}

.new .status-icon {
    color: #81c784;
}

.new .progress-bar {
    background: #81c784;
}

/* IN PROGRESS (wip) */
.status-card.wip {
    border-top-color: #e09f78;
}

.wip .status-icon {
    color: #e09f78;
}

.wip .progress-bar {
    background: #e09f78;
}

/* PENDING (isf) */
.status-card.isf {
    border-top-color: #ffa500;
}

.isf .status-icon {
    color: #ffa500;
}

.isf .progress-bar {
    background: #ffa500;
}

/* RESUBMITTED (rip) */
.status-card.rip {
    border-top-color: #b75e87;
}

.rip .status-icon {
    color: #b75e87;
}

.rip .progress-bar {
    background: #b75e87;
}

/* ACCEPTED (acc) */
.status-card.acc {
    border-top-color: #28a745;
}

.acc .status-icon {
    color: #28a745;
}

.acc .progress-bar {
    background: #28a745;
}

/* REJECTED (rej) */
.status-card.rej {
    border-top-color: #dc3545;
}

.rej .status-icon {
    color: #dc3545;
}

.rej .progress-bar {
    background: #dc3545;
}

/* CANCELLED (cnl) */
.status-card.cnl {
    border-top-color: #8e221a;
}

.cnl .status-icon {
    color: #8e221a;
}

.cnl .progress-bar {
    background: #8e221a;
}

/* Status-specific styles */

.row-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.status-value {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 5px 0;
    line-height: 1.2;
}

.status-description {
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    /* color: var(--secondary); */
    margin-bottom: 5px;
    font-weight: 600
}

.summary-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.candidate-stat {
    text-align: center;
    padding: 0 10px;
}

.candidates-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0 30px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.dvChart .card-header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: .8rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
}
/************* Dashboard End ************/

.dataTables_wrapper .header-actions {
    margin: 1rem 0 !important
}

.badge-outline-primary {
    color: var(--primary);
    border: 1px solid #dc3545;
    background-color: transparent;
}

.badge-outline-success {
    color: #198754;
    border: 1px solid #198754;
    background-color: transparent;
}

.badge-outline-danger {
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: transparent;
}

/* تغليف الجدول داخل البطاقة */
.card-datatable {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1rem;
}

.table-responsive {
    border-radius: 10px;
    overflow-x: scroll;
}

.table {
    margin-bottom: 0;
}

    .table thead th {
        background: var(--primary);
        color: white;
        border: none;
        padding: 15px;
        font-size: .7rem;
        font-weight: 600;
    }

    .table tbody td {
        vertical-align: middle;
        padding: 15px;
        border-top: 1px solid #f0f0f0;
        font-size: .8rem;
    }

.table-hover tbody tr:hover {
    background-color: rgba(58, 134, 255, 0.05);
}

/* رأس الجدول */
table.dataTable thead th {
    font-weight: 600;
    text-align: center;
    padding: 0.75rem;
}

/* صفوف الجدول */
table.dataTable tbody tr {
    transition: background 0.2s ease-in-out;
}

    table.dataTable tbody tr:hover {
        background: #f1f3f5;
    }

/* خلايا الجدول */
table.dataTable td {
    text-align: center;
    vertical-align: middle;
    padding: 0.65rem;
}

/* أزرار الأكشن */
.btn-flat-primary {
    background: #f1e1e2;
    border: none;
    border-radius: 0.5rem;
    padding: 0.35rem 0.6rem;
    transition: 0.2s;
}

    .btn-flat-primary:hover {
        background: #e3ccce;
    }

/* البادجات */
.badge {
    font-size: 0.65rem;
    border-radius: 0.5rem;
    padding: 0.35rem 0.55rem;
}

table.dataTable > thead .sorting:after {
    font-size: 1.2rem;
    font-weight: 600
}

table.dataTable > thead .sorting:before {
    font-size: 1.2rem;
    font-weight: 600
}

.tblAttachments {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .tblAttachments th {
        background-color: var(--primary-red);
        color: white;
        font-weight: 600;
        padding: 15px;
        text-align: left;
    }

.body-ar .tblAttachments th {
    text-align: right;
}

.tblAttachments td {
    padding: 15px;
    vertical-align: middle;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
}

.tblAttachments tr:last-child td {
    border-bottom: none;
}

.tblAttachments tr:hover td {
    background-color: #fffafa;
}

.action-icon {
    transition: all 0.3s;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-red);
    color: var(--dark-red);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

    .download-btn:hover {
        background: var(--primary-red);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2);
    }

.warning-icon {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.file-upload {
    position: relative;
    display: block;
}

    .file-upload input[type="file"] {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.file-upload-label {
    display: block;
    padding: 12px 20px;
    background: var(--light-red);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px dashed var(--primary-red);
}

    .file-upload-label:hover {
        background: var(--primary-red);
        color: white;
    }

    .file-upload-label i {
        margin-right: 8px;
    }

/********* Request Form **********/

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--light-red);
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.instructions {
    background: #fff8f8;
    border-left: 4px solid var(--primary-red);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
}

    .instructions h3 {
        color: var(--dark-red);
        margin-bottom: 15px;
    }

    .instructions ul {
        padding-left: 20px;
    }

    .instructions li {
        margin-bottom: 10px;
        line-height: 1.6;
    }

        .instructions li::marker {
            color: var(--primary-red);
        }

.badge-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-gold);
    color: var(--dark-bg);
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

/* Stepper container */
.step-indicator {
    position: relative;
    flex: 1;
    padding: 10px 15px;
    font-weight: 500;
    color: #6c757d; /* Default grey */
    border-bottom: 3px solid #dee2e6; /* Light grey line */
    transition: all 0.3s ease;
}

    /* Active step */
    .step-indicator.active {
        color: #dc3545; /* Red text */
        border-bottom-color: #dc3545; /* Red underline */
    }

    /* Step number highlight */
    .step-indicator span {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 50px;
        background-color: #f8f9fa;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .step-indicator.active span {
        border-color: #dc3545;
        background-color: #fff5f5;
    }

    /* Connector line between steps */
    .step-indicator:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -50%;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        height: 3px;
        background-color: #dee2e6;
        z-index: -1;
    }

    .step-indicator.active:not(:last-child)::after {
        background-color: #dc3545;
    }

.d-flex.justify-content-between.align-items-center.mb-4 {
    justify-content: flex-start !important; /* Align steps to right */
}

..step-indicator {
    text-align: left; /* Align text right */
    direction: ltr; /* Ensure RTL layout */
    position: relative;
    flex: 1;
    padding: 10px 15px;
    font-weight: 500;
    color: #6c757d; /* Default grey */
    border-bottom: 3px solid #dee2e6; /* Light grey line */
    transition: all 0.3s ease;
}

.body-ar .d-flex.justify-content-between.align-items-center.mb-4 {
    justify-content: flex-end !important; /* Align steps to right */
    overflow: hidden !important
}

/* Stepper container flex direction RTL */
.body-ar .step-indicator {
    text-align: right; /* Align text right */
    direction: rtl; /* Ensure RTL layout */
    position: relative;
    flex: 1;
    padding: 10px 15px;
    font-weight: 500;
    color: #6c757d; /* Default grey */
    border-bottom: 3px solid #dee2e6; /* Light grey line */
    transition: all 0.3s ease;
}

    .body-ar .step-indicator.active span {
        border-color: #dc3545 !important;
        background-color: #fff5f5 !important;
    }

    .body-ar .step-indicator.active {
        color: #dc3545 !important;
        border-bottom-color: #dc3545 !important;
    }

.table tbody td {
    font-size: .9rem;
}

    .table tbody td span {
        font-size: .9rem;
    }

/************** Request Form End ******************/

/************** Card Info ************************/

.welcome-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

    .welcome-container .card-header {
        background: transparent;
        border: none;
        padding: 2rem 2rem 1rem;
        text-align: center;
    }

.welcome-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(195, 35, 51, 0.15);
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

    .welcome-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
        z-index: -1;
    }

.card-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

    .card-icon i {
        font-size: 3.5rem;
    }

h2.welcome-title {
    font-weight: 700;
    color: var(--dark-red);
    margin-bottom: 0;
    font-size: 2.2rem;
}

.user-name {
    /* color: #ffd700; */
    font-weight: 700;
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: center;
}
/********** Card Info End */


/************* My Account ***********/

.account-wrapper {
    max-width: 960px !important;
    margin: 3rem auto;
}

.account-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--dark-red), var(--accent-red));
    color: #fff;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-right: 1.5rem;
}

.card-body-custom {
    padding: 2rem;
}

.info-item {
    margin-bottom: 0.75rem;
}

.action-btn {
    width: 100%;
    transition: all 0.3s ease;
}

    .action-btn:hover {
        transform: translateY(-2px);
    }

.bi {
    margin-right: 6px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.body-ar .contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

.contact-info {
    flex: 1;
}

.contact-type {
    font-weight: 600;
    color: var(--dark-red);
    margin-bottom: 3px;
}

.body-ar .profile-img {
    margin-left: 1.5rem;
}

/************* My Account End ********/

/************* Static Content *********/

.dvStaticContentContainer h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dvStaticContentContainer .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.dvStaticContentContainer .content-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.dvStaticContentContainer .section-title {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--light-red);
    position: relative;
}

    .dvStaticContentContainer .section-title::after {
        content: "";
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 100px;
        height: 3px;
        background: var(--primary-red);
    }

.dvStaticContentContainer .section-content {
    background: var(--light-gray);
    padding: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.dvStaticContentContainer .arabic-section {
    padding: 25px;
    background: #fff;
    /* border-left: 4px solid var(--dark-red); */
    border-radius: 8px;
}

.dvStaticContentContainer .english-section {
    padding: 25px;
    background: #fff;
    /* border-left: 4px solid var(--dark-red); */
    border-radius: 8px;
}

.dvStaticContentContainer .terms-list {
    padding-left: 25px;
    margin: 20px 0;
}

.dvStaticContentContainer .content-list li {
    margin-bottom: 15px;
}

    .dvStaticContentContainer .content-list li::marker {
        color: var(--primary-red);
        font-weight: bold;
    }

.dvStaticContentContainer .consent-section {
    background: var(--light-red);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    border-radius: 10px;
}

.dvStaticContentContainer .consent-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-red);
}

.dvStaticContentContainer .consent-link {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.3);
}

    .dvStaticContentContainer .consent-link:hover {
        background: var(--dark-red);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(183, 28, 28, 0.4);
    }

.dvStaticContentContainer h1, .dvStaticContentContainer h2, .dvStaticContentContainer h3, .dvStaticContentContainer h4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: bolder;
}
/************** Static Conetn End *****/

.body-ar .input-group .form-control {
    text-align: right;
    border-radius: 0 0.375rem 0.375rem 0;
}

.input-group-text {
    border-radius: 0.375rem 0 0 0.375rem;
}
    
.input-group-text i {
    margin-left: 0;
    margin-right: 5px;
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1440px !important;
    }
}

@media (min-width: 1400px) {
    .container-xxxl {
        max-width: 1840px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-buttons .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}


@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-actions {
        margin-top: 15px;
    }

    .top-nav-content {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-left {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }

    .form-control {
        font-size: 16px; /* Larger touch targets */
        padding: 12px;
    }

    .btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .table-responsive {
        border: 1px solid #dee2e6;
    }

    .user-dropdown .btn {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .nav-icons a {
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
    }

        .form-row .col {
            width: 100%;
            margin-bottom: 15px;
        }
}

@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        /* Fix for form elements in Safari */
        .form-control {
            -webkit-appearance: none;
            border-radius: 4px;
        }
        /* Fix for button rendering */
        .btn {
            -webkit-appearance: none;
            position: relative;
            overflow: hidden;
        }
        /* Prevent zoom on input focus */
        @media (max-width: 980px) {
            input[type="text"],
            input[type="password"],
            input[type="email"] {
                font-size: 16px;
            }
        }
    }
}

/* Safari margin fixes */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        body, .card, .table {
            -webkit-margin-before: 0;
            -webkit-margin-after: 0;
        }

        .page-content, .hero-section {
            -webkit-margin-before: 0;
            -webkit-margin-after: 0;
        }
    }
}

/* Safari-specific margin fixes */
@supports (-webkit-touch-callout: none) {
    .card, .table, .form-control {
        margin-bottom: 1px; /* Fixes extra margin in Safari */
    }
}

input, button, select, textarea {
    -webkit-appearance: none;
    border-radius: 8px;
}

.dataTables_paginate .pagination .page-item .page-link {
    border-radius: 0.5rem;
    margin: 0 2px;
    color: var(--light-red);
}

.dataTables_paginate .pagination .page-item.active .page-link {
    background: var(--light-red);
    color: #fff;
    border: none;
}

.dataTables_paginate .pagination .page-item .page-link:hover {
    background: var(--dark-red);
}

body.modal-open {
    overflow: auto !important;
    padding-right: 0 !important; /* Prevents layout shift from scrollbar removal */
}

#search-form .dvCalendar{
    position: relative
}

.form-control:disabled, .form-control[readonly] {
    background-color: #eee !important;
}

.swal2-title {
    font-size: 1.2em !important;
    line-height: 1.8rem !important;
}


.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s;
}

    .otp-input.filled {
        border-color: var(--primary-red);
        background-color: #fef2f2;
    }
