﻿/************** IMPORT FONT FACE *****************/
@font-face {
    font-family: Tajawal;
    src: url('../fonts/tajawal/Tajawal-Medium.ttf');
}

@font-face {
    font-family: TajawalBold;
    src: url('../fonts/tajawal/Tajawal-Bold.ttf');
}

body, html {
    height: 100%;
    font-family: Tajawal, sans-serif;
    font-size: 14px;
    background-color: #f5f5f5;
    color: #435058;
}

/*---------------------------------------------*/
a {
    font-family: Tajawal, sans-serif;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
}

    a:focus {
        outline: none !important;
    }

    a:hover {
        text-decoration: none;
        /*color: #fff;*/
    }

/*---------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    margin: 0px;
}

h2 {
    font-size: 20px;
    color: #435058;
    font-family: TajawalBold, sans-serif;
}


.underline {
    position:relative;
}

.underline::after {
  content : "";
  display:block;
  width : 1.5rem;
  height : 0.25rem;
  background-color: #c6974b;
  border-radius:1rem;
  left: 0;
}   

p {
    font-family: Tajawal, sans-serif;
    line-height: 1.7;
    color: #435058;
    margin: 0px;
}

ul, li {
    margin: 0px;
    list-style-type: none;
}


/*---------------------------------------------*/
input {
    outline: none;
    border: none;
}

textarea {
    outline: none;
    border: none;
}

    textarea:focus, input:focus {
        border-color: transparent !important;
    }

        input:focus::-webkit-input-placeholder {
            color: transparent;
        }

        input:focus:-moz-placeholder {
            color: transparent;
        }

        input:focus::-moz-placeholder {
            color: transparent;
        }

        input:focus:-ms-input-placeholder {
            color: transparent;
        }

        textarea:focus::-webkit-input-placeholder {
            color: transparent;
        }

        textarea:focus:-moz-placeholder {
            color: transparent;
        }

        textarea:focus::-moz-placeholder {
            color: transparent;
        }

        textarea:focus:-ms-input-placeholder {
            color: transparent;
        }

input::-webkit-input-placeholder {
    color: #555555;
}

input:-moz-placeholder {
    color: #555555;
}

input::-moz-placeholder {
    color: #555555;
}

input:-ms-input-placeholder {
    color: #555555;
}

textarea::-webkit-input-placeholder {
    color: #555555;
}

textarea:-moz-placeholder {
    color: #555555;
}

textarea::-moz-placeholder {
    color: #555555;
}

textarea:-ms-input-placeholder {
    color: #555555;
}

label {
    margin: 0;
    /*display: block;*/
    display: inline;
}

/*---------------------------------------------*/
button {
    outline: none !important;
    border: none;
    background: transparent;
}

    button:hover {
        cursor: pointer;
    }

iframe {
    border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login100 {
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

/*.container-login100::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.65);
}*/

.wrap-login100 {
    width: 450px;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}


/*------------------------------------------------------------------
[ Form ]*/

.login100-form {
    width: 100%;
    /*border-radius: 10px;*/
    /*background-color: #fff;*/
    background-color: #f5f5f5;
}

.login100-form-logo {
    font-size: 60px;
    color: #333333;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 auto;
}

.login100-form-title {
    font-family: TajawalBold, sans-serif;
    font-size: 25px;
    color: #fff;
    /*color: #435058;*/
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    display: block;
}


/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
    width: 100%;
    position: relative;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 0;
}

.input100 {
    font-family: Tajawal, sans-serif;
    color: #555555;
    line-height: 1.2;
    display: block;
    width: 100%;
    height: 50px;
    background: transparent;
    padding: 0 10px 0 80px;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/*---------------------------------------------*/
.focus-input100 {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

    .focus-input100::before {
        content: "";
        display: block;
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 0;
        height: 1px;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        background: #c6974b;
        background: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
        background: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
        background: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);
        background: linear-gradient(left, #c6974b, #c6974b, #c6974b);
    }

    .focus-input100::after {
        font-family: Linearicons-Free;
        font-size: 18px;
        color: #999999;
        content: attr(data-placeholder);
        display: block;
        width: 100%;
        position: absolute;
        top: 22px;
        left: 35px;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }

.input100:focus {
    padding-left: 60px;
}

    .input100:focus + .focus-input100::after {
        left: 23px;
        color: #c6974b;
    }

    .input100:focus + .focus-input100::before {
        width: 100%;
    }

.has-val.input100 + .focus-input100::after {
    left: 23px;
    color: #c6974b;
}

.has-val.input100 + .focus-input100::before {
    width: 100%;
}

.has-val.input100 {
    padding-left: 60px;
}


/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.login100-form-btn {
    font-family: Tajawal, sans-serif;
    color: #fff;
    line-height: 1.2;
    /*text-transform: uppercase;*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    min-width: 160px;
    height: calc(1.5em + .75rem + 2px);
    /*border-radius: 21px !important;*/
    background-color: #c6974b;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    /*background-color: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);*/
}
    /*background-color: linear-gradient(left, #c6974b, #c6974b, #c6974b);
	position: relative;
	z-index: 1;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;*/

    .login100-form-btn:hover,
    .login100-form-btn:focus {
        background-color: #4d4d4d;
        opacity: 1;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        cursor: pointer;
    }


/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #f5f5f5;
    border: 1px solid #c80000;
    border-radius: 2px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 10px;
    pointer-events: none;
    font-family: Tajawal, sans-serif;
    color: #c80000;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "\f12a";
    font-family: FontAwesome;
    color: #c80000;
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 15px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}

input[type=submit].rounded {
    background: #c6974b;
    color: #fff;
    padding-left: 50px;
    padding-right: 50px;
    line-height: 1.5;
    border: 0;
    /*border-radius: 21px;*/
    height: calc(1.5em + .75rem + 2px);
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    input[type=submit].rounded:hover {
        background: #4d4d4d;
    }

input[type=checkbox], input[type=radio] {
    vertical-align: middle;
    margin-right: 5px;
}

.ui-datepicker-header {
    background-color: #c6974b;
}

.ui-datepicker {
    color: #c6974b;
}

/* DATA TABLES TABLE AND PAGING STYLING + TEXT BOX AND DROPDOWN HOVER/FOCUS COLOR */

.table {
    color: #435058;
}

table.dataTable thead th {
   background-color: var(--primary-color);
    color: #FFF;
    border: none;
    font-size: inherit;
    font-weight: 400;
}

/*table.dataTable tr.odd {
	background-color: #F5EDE0;
}

table.dataTable tr.even {
	background-color: #F0E4D1;
}

table.dataTable tr:hover {
	background-color: #E1C9A3;
}

table.dataTable tr td {
	border-color: #E1C9A3;
}*/

table.dataTable tfoot tr {
    background-color: #c6974b;
    color: #fff;
}

.pagination > li > a, .pagination > li > span {
    color: #c6974b;
}

.pagination > li.active > a, .pagination > li.active > a:hover, .pagination > li.active > a:focus, .pagination > li.active > span {
    border-color: #c6974b;
    background-color: #c6974b;
}

.form-control:focus {
    border-color: #c6974b;
    box-shadow: 0 0 0 0.1rem rgb(200,150,75);
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(1, 0, 0, 0.1);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    
}

.page-link:hover {
    color: #c6974b;
}

.page-link:focus {
    box-shadow: 0 0 0 0.1rem rgb(200,150,75);
}

.table td {
    vertical-align: middle !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before {
    background-color: #c6974b;
}

.content100-form-btn-green {
    font-family: Tajawal, sans-serif;
    color: #fff;
    line-height: 1.2;
    padding: 0 20px;
    min-width: 150px;
    height: calc(1.5em + .75rem + 2px);
    /*border-radius: 21px;*/
    background-color: #4c7F58;
    /*background-color: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);*/
    margin: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.content100-form-btn-red {
    font-family: Tajawal, sans-serif;
    color: #fff;
    line-height: 1.2;
    padding: 0 20px;
    min-width: 150px;
    height: calc(1.5em + .75rem + 2px);
    /*border-radius: 21px;*/
    background-color: #a31621;
    /*background-color: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
	background-color: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);*/
    margin: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.content100-form-btn {
    font-family: Tajawal, sans-serif;
    color: #fff;
    line-height: 1.2;
    padding: 0 20px;
    min-width: 150px;
    height: calc(1.5em + .75rem + 2px);
    /*border-radius: 21px;*/
    background-color: #c6974b;
    background-color: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    background-color: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    background-color: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    margin: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    .content100-form-btn:hover,
    .content100-form-btn:focus,
    .content100-form-btn-green:hover,
    .content100-form-btn-green:focus,
    .content100-form-btn-red:hover,
    .content100-form-btn-red:focus {
        background-color: #4d4d4d;
        opacity: 1;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        cursor: pointer;
    }

.filter-btn {
    font-family: Tajawal, sans-serif;
    color: #fff;
    line-height: 1.2;
    padding: 0 20px;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    /*border-radius: 21px;*/
    background-color: #c6974b;
    background-color: -webkit-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    background-color: -o-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    background-color: -moz-linear-gradient(left, #c6974b, #c6974b, #c6974b);
    margin: 0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    .filter-btn:hover,
    .filter-btn:focus {
        background-color: #4d4d4d;
        opacity: 1;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        -moz-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        cursor: pointer;
    }

/**** Alerts *****/
.alert {
    color: #fff;
    border: none;
    /*border-radius: 10px;*/
}

.alert-secondary {
    background-color: #133a5b;
}

.alert-primary {
    background-color: #c6974b;
}

.alert-success {
    background-color: #4c7F58;
}

.alert-danger {
    background-color: #a31621;
}

/**** Nav *****/
.nav {
    width: 100%;
}

.nav-tabs .nav-link {
    color: #435058;
}

   /* .nav-tabs .nav-link.active {
        color: #fff;
        background-color: #c6974b;
        border-color: #c6974b;
    }

    .nav-tabs .nav-link:hover {
        color: #c6974b;
    }

    .nav-tabs .nav-link.active:hover {
        color: #fff;
    }*/

/**** Anchor *****/
a {
    outline: none !important;
    text-decoration: none !important;
    color: #c6974b;
    /*color: #fff;*/
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    a.active,
    a:focus,
    a:hover {
        /*color: #2a2a2a;*/
        color: #c6974b;
        outline: none !important;
        text-decoration: none !important;
    }

/**** bootstrap-select *****/
.btn-light {
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
}

    .btn-light:hover {
        color: #495057;
        background-color: #fff;
        border-color: #ced4da;
    }

    .btn-light:not(:disabled):not(.disabled):active,
    .show > .btn-light.dropdown-toggle {
        color: #495057;
        background-color: #fff;
        border-color: #c6974b;
    }

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
    border-color: transparent;
    box-shadow: 0 0 0 0.15rem rgb(200,150,75);
}

.bootstrap-select .dropdown-toggle:active {
    outline: none !important;
    border-color: transparent;
    box-shadow: 0 0 0 0.1rem rgb(200,150,75);
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 100%;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #c6974b;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: #435058;
}

/**** footer *****/
.footer {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    /*background-color: #f0f0f0;*/
    background-color: #435058;
    /*color: #2a2a2a;*/
    color: #fff;
    font-size: 0.9rem;
    z-index: 10;
}

.sp-lh-2 {
    line-height: 2.5rem;
}

.btn-light.disabled {
    border: 1px solid #ced4da;
    background-color: #e9ecef;
    opacity: 1;
    color: #495057;
}

.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 0px;
}

.table td, .table th {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: none;
}

.table-bordered,
.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
}

.modal-header {
    font-size: 1.25rem;
    font-weight: bold;
}

table.dataTable tr:hover {
    background-color: #F5EDE0;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.nav-tabs {
    border-bottom: 1px solid #c6974b;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

    .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
        border-color: #c6974b;
    }

.ui-widget,
.ui-widget select {
    font-family: Tajawal, sans-serif;
}

.card-title {
    font-family: TajawalBold;
    color: #435058;
}

.card-footer {
    border-top: none;
}

.badge {
    font-weight: normal;
    font-size: 90%;
    border-radius: 0px;
}

.badge-dark {
    background-color: #435058;
}

.preloader {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #435058;
    text-align: center;
    opacity: 0.95;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    visibility: hidden;
}

.preloader_wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.preloader_box {
    padding: 50px 20px;
    background-color: #000;
    opacity: 1;
    width: 15%;
    margin: 0 auto;
    margin-top: 15%;
}

.preloader_content {
    font-size: 18px;
    color: #fff;
}

.card-body,
.alert,
.form-control,
.btn,
.rounded,
.nav-tabs .nav-link,
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0px;
}

.font-weight-bold {
    font-family: TajawalBold, sans-serif;
}

.report-label {
    font-family: TajawalBold, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 2.5px solid #c6974b;
    width: 50px;
}


.topnav a {
    float: left;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    padding-right: 55px;
    padding-left: 55px;
    background-color: #f0f0f0;
    color: black;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

    .topnav a.active {
        background-color: #435058;
        color: white;
    }

/*.dashboard-box {
    margin-bottom: 15px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #fbfbfb;
}*/
.dashboard-box {
    margin-bottom: 15px;
    border-radius: 12px; /* slightly more rounded for modern feel */
    background-color: #ffffff; /* pure white looks cleaner */
    /* Subtle shadow for depth */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Optional smooth gradient overlay for premium feel */
    background: linear-gradient(145deg, #ffffff, #f9f9f9);
    /* Slight lift on hover */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    /* Hover effect for modern interactive feel */
    .dashboard-box:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    }

.dashboard-box-head {
    color: #333;
    height: 40px;
    line-height: 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: #F4F4F4;
    background-color: #f1f1f1;
    background: linear-gradient(#e6e6e6, #d9d9d9, #d5d5d5, #d5d5d5);
    border-bottom: 1px solid #d5d5d5;
    margin-top: auto;
    margin-bottom: auto;
    padding: 10px;
}
/*.section-heading {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    display: inline-flex;*/ /* change from flex to inline-flex */
    /*align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 4px;*/ /* smaller padding for short line */
/*}

    .section-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;*/ /* full width of the heading text, not card */
        /*height: 2px;
        background: #c6974b;
    }*/
.section-heading {
    /*font-size: 20px;
    font-weight: 600;
    color: #222;*/
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
 .section-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px; /* thinner */
        background: #c6974b;
 }
 
.col-lg-4, .col-lg-7 {
    display: inline-grid;
}

#a_pending.active, #a_completed.active, #a_pending.active:hover {
    background-color: steelblue;
    border-color: steelblue;
}

.separator {
    width: 100%;
    min-height: 10px;
    margin-top: 5px;
    text-align: center;
    line-height: 0;
    position: relative;
    border-top: 1px solid #ddd;
    font-size: 25px;
    color: #999999;
    font-weight: bold;
}

.pg_headline h1 {
    padding: 0;
    margin: 0;
    font-size: 20px;
    color: #c5964a;
    text-transform: capitalize;
    display: inline-block;
}

.dv_tow_form .dv_tow_form_header {
    background-color: #c6974b;
    padding: 6px 10px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.dv_tow_form_body {
    background-color: #f2f2f2;
    padding: 2px;
}

.dv_tow_label {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    margin-left: 10px;
}

.dv_tow_label_ar {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    margin-right: 10px;
}

.dv_tow_dv {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
}

.dv_tow_dv_ar {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
}

.form-control-sm {
    height: calc(1.5em + .5rem + 2px);
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.tw-text-blue-500 {
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity));
}

.content-page {
    margin-left: 10%;
    min-height: 70vh;
    margin-right: 10%;
    overflow: hidden;
    padding: 10px 15px 65px 15px;
    /*min-height: 80vh;*/
    padding-top: 10px;
    padding-bottom: 65px;
}


/*.highlight {
    background: #ebc4c7;
    border: 1px solid black;
}*/

.modal-header .close {
    top: 0;
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;
    background-color: #323a46;
    opacity: 1;
    border: 2px solid #ebf0f3;
    text-shadow: none;
    color: #ebf0f3;
    border-radius: 50%;
    padding: 0;
}

.search {
    margin-top: 19px;
}

.notification {
    background-color: #555;
    color: white;
    text-decoration: none;
    position: relative;
}

    .notification .badge {
        position: absolute;
        top: -10px;
        border-radius: 50%;
        background-color: red;
        color: white;
    }

.tile-stats.tile-red {
    background: #0895aa;
}

.tile-stats.tile-green {
    background: #4c7f58;
}

.tile-stats.tile-aqua {
    background: #ce7141;
    ​
}

.tile-stats.tile-blue {
    background: #133a5b;
}


.tile-stats {
    position: relative;
    display: block;
    background: #303641;
    padding: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background-clip: padding-box;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}


    .tile-stats.tile-green .num, .tile-stats.tile-green h3, .tile-stats.tile-green p {
        color: #fff;
    }

    .tile-stats .num {
        font-size: 38px;
        font-weight: bold;
    }

    .tile-stats .num, .tile-stats h3, .tile-stats p {
        position: relative;
        color: #fff;
        z-index: 5;
        margin: 0;
        padding: 0;
    }

.clear {
    clear: both;
}

.visible-xs, .visible-sm, .visible-md, .visible-lg {
    display: none !important;
}


.tile-stats.tile-aqua .num, .tile-stats.tile-aqua h3, .tile-stats.tile-aqua p {
    color: #fff;
}

.tile-stats h3 {
    font-size: 18px;
    margin-top: 5px;
}

.tile-stats p {
    font-size: 15px;
    margin-top: 5px;
}


.tile-stats.tile-blue .num, .tile-stats.tile-blue h3, .tile-stats.tile-blue p {
    color: #fff;
}

.num sub {
    font-size: 12PX;
    color: #fff;
}

.topnav a {
    float: left;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    padding-right: 55px;
    padding-left: 55px;
    background-color: #f0f0f0;
    color: black;
}

    .topnav a:hover {
        background-color: #ddd;
        color: black;
    }

    /*.topnav a.active {
        background-color: #435058;
        color: white;
    }*/
    .topnav a.active {
        background-color: var(--primary-color);
        color: white;
    }
.dashboard-box {
    margin-bottom: 15px;
    /* border: 1px solid #e2e2e2;*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #fbfbfb;
}

.dashboard-box-head {
    color: #333;
    height: 40px;
    line-height: 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: #F4F4F4;
    background-color: #f1f1f1;
    background: linear-gradient(#e6e6e6, #d9d9d9, #d5d5d5, #d5d5d5);
    border-bottom: 1px solid #d5d5d5;
    margin-top: auto;
    margin-bottom: auto;
    padding: 10px;
}

.col-lg-4, .col-lg-7 {
    display: inline-grid;
}

#a_pending.active, #a_completed.active, #a_pending.active:hover {
    background-color: steelblue;
    border-color: steelblue;
}

.separator {
    width: 100%;
    min-height: 10px;
    margin-top: 5px;
    text-align: center;
    line-height: 0;
    position: relative;
    border-top: 1px solid #ddd;
    font-size: 25px;
    color: #999999;
    font-weight: bold;
}

.pg_headline h1 {
    padding: 0;
    margin: 0;
    font-size: 20px;
    color: #c5964a;
    text-transform: capitalize;
    display: inline-block;
}

.dv_tow_form .dv_tow_form_header {
    background-color: #c6974b;
    padding: 6px 10px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}

.dv_tow_form_body {
    background-color: #f2f2f2;
    padding: 2px;
}

.dv_tow_label {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    margin-left: 10px;
}

.dv_tow_label_ar {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    margin-right: 10px;
}

.dv_tow_dv {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    /* margin-left: 10px;*/
}

.dv_tow_dv_ar {
    font-size: 15px;
    font-weight: bold;
    color: #616161;
    /*margin-right: 10px;*/
}

.form-control-sm {
    height: calc(1.5em + .5rem + 2px);
    /*padding: .25rem .5rem;*/
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.tw-text-blue-500 {
    --tw-text-opacity: 1;
    color: rgb(59 130 246 / var(--tw-text-opacity));
}

.content-page {
    margin-left: 10%;
    min-height: 70vh;
    margin-right: 10%;
    overflow: hidden;
    padding: 10px 15px 65px 15px;
    /*min-height: 80vh;*/
    padding-top: 10px;
    padding-bottom: 65px;
}

.highlight {
    background: #ebc4c7;
    border: 1px solid black;
    max-width: 200px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
}

.modal-header .close {
    top: 0;
    position: absolute;
    right: 0;
    height: 36px;
    width: 36px;
    background-color: #323a46;
    opacity: 1;
    border: 2px solid #ebf0f3;
    text-shadow: none;
    color: #ebf0f3;
    border-radius: 50%;
    padding: 0;
}

.search {
    margin-top: 19px;
}

.notification {
    background-color: #555;
    color: white;
    text-decoration: none;
    position: relative;
}

    .notification .badge {
        position: absolute;
        top: -10px;
        border-radius: 50%;
        background-color: red;
        color: white;
    }

.tile-stats.tile-red {
    background: #0895aa;
}

.tile-stats.tile-green {
    background: #4c7f58;
}

.tile-stats.tile-aqua {
    background: #ce7141;
}

.tile-stats.tile-blue {
    background: #133a5b;
}


.tile-stats {
    position: relative;
    display: block;
    background: #303641;
    padding: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 5px;
    -moz-background-clip: padding;
    border-radius: 5px;
    background-clip: padding-box;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}


    .tile-stats.tile-green .num, .tile-stats.tile-green h3, .tile-stats.tile-green p {
        color: #fff;
    }

    .tile-stats .num {
        font-size: 38px;
        font-weight: bold;
    }

    .tile-stats .num, .tile-stats h3, .tile-stats p {
        position: relative;
        color: #fff;
        z-index: 5;
        margin: 0;
        padding: 0;
    }

.clear {
    clear: both;
}

.visible-xs, .visible-sm, .visible-md, .visible-lg {
    display: none !important;
}


.tile-stats.tile-aqua .num, .tile-stats.tile-aqua h3, .tile-stats.tile-aqua p {
    color: #fff;
}

.tile-stats h3 {
    font-size: 18px;
    margin-top: 5px;
}

.tile-stats p {
    font-size: 15px;
    margin-top: 5px;
}


.tile-stats.tile-blue .num, .tile-stats.tile-blue h3, .tile-stats.tile-blue p {
    color: #fff;
}

.num sub {
    font-size: 12PX;
    color: #fff;
}

#main-container {
    width: 100%;
    overflow-x: auto;
}

body {
    min-width: 1200px;
}
/*-----------Dashboard Themes---------------*/
/*:root {*/
    /* Core Colors */
    /*--primary-color: #435058;
    --primary-hover: #2f3a40;
     --primary-light: rgba(67, 80, 88, 0.08);
    --tab-color: #7c909c;*/
    /* Text */
    /*--text-color: #2a2a2a;
    --text-light: #ffffff;
    --nav-text: #435058;*/
    /* Navbar */
    /*--nav-bg: #ffffff;
    --nav-shadow: rgba(0, 0, 0, 0.08);*/
    /* Effects */
    /*--transition: all 0.3s ease;
    --border-radius: 8px;*/
    /* Banner */
    /* --banner: url('/Content/images/common-banner.png');*/
    /*--banner: url('/Content/images/banner-common.png');
}

.theme-common {
    --primary-color: #435058;
    --primary-hover: #2f3a40;
    --primary-light: rgba(67, 80, 88, 0.08);*/
    /* --banner: url('/Content/images/common-banner.png');*/
    /*--banner: url('/Content/images/banner-common.png');
}

.theme-xstream {
    --primary-color: #c6974b;
    --primary-hover: #a77d3a;
    --primary-light: rgba(198, 151, 75, 0.08);
    --banner: url('/Content/images/banner-xstream.jpg');
}

.theme-eqlipse {
    --primary-color: #9a7df4;
    --primary-hover: #7d63d4;
    --primary-light: rgba(154, 125, 244, 0.08);
    --banner: url('/Content/images/picture1.jpeg');
}*/


:root {
    /* Core Colors */
    --primary-color: #c6974b;
    --primary-hover: #a77d3a;
    --primary-light: rgba(198, 151, 75, 0.08);
    --banner: url('/Content/images/hero-banner.jpg');
    --tab-color: #7c909c;
    --sidebar-color: #f9f4ec;
    --sidebar-hover: #e7d3b1;
    --sidebar-active: #f3e9d8;
    /* Text */
    --text-color: #2a2a2a;
    --text-light: #ffffff;
    --nav-text: #435058;
    /* Navbar */
    --nav-bg: #ffffff;
    --nav-shadow: rgba(0, 0, 0, 0.08);
    /* Effects */
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

.theme-common {
    --primary-color: #c6974b;
    --primary-hover: #a77d3a;
    --primary-light: rgba(198, 151, 75, 0.08);
    --banner: url('/Content/images/hero-banner.jpg');
    /*  --banner: url('/Content/images/banner-xstream.jpg');*/
    --sidebar-color: #f9f4ec;
}

/*.theme-xstream {
    --primary-color: #c6974b;
    --primary-hover: #a77d3a;
    --primary-light: rgba(198, 151, 75, 0.08);
    --banner: url('/Content/images/banner-xstream.jpg');
}

.theme-eqlipse {
    --primary-color: #9a7df4;
    --primary-hover: #7d63d4;
    --primary-light: rgba(154, 125, 244, 0.08);
    --banner: url('/Content/images/picture1.jpeg');
}*/
/*-----------banner styling---------------*/
.sub_header {
    background-image: var(--banner);
    background-color: #eae9df;
    background-size: 100%;
    background-repeat: no-repeat;
}
.topbar-dropdown .btn {
    font-size: 12px;
    /* padding: 3px 8px;*/ /* small padding */
    padding: 0 8px;
    height: 100%;
    border-radius: 4px;
    min-width: auto; /* remove default large min-width */
   
}
.topbar-dropdown .dropdown-toggle-split {
    padding: 0 6px; /* no vertical padding */
    height: 100%;
    display: flex;
    align-items: center;
}
.topbar-dropdown .dropdown-toggle-split::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
   /* vertical-align: 0.255em;*/
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}
/* Dropdown menu */
.topbar-dropdown .dropdown-menu {
    /*min-width: 150px;
    max-width: 400px;*/ /* optional max width */
    min-width: auto;
    width: auto;
    border-radius: 6px;
    padding: 4px 0;
    font-size: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    white-space: nowrap; /* force all text on one line */
}

/* Dropdown items */
.topbar-dropdown .dropdown-item {
    padding: 5px 12px;
    margin-bottom: 4px;
    white-space: nowrap; /* prevent wrapping at spaces */
    overflow: hidden; /* hide overflow if too long */
    text-overflow: ellipsis; /* show ... for overflow text */
    display: block;
    max-width: 100%;
}
.topbar-dropdown .dropdown-item:hover {
        background: #f1f3f5;
        color: black;
 }
    .topbar-dropdown .dropdown-item:last-child {
        margin-bottom: 0; /* no extra gap after last item */
    }
/* Optional: remove dropdown-menu wrapping scrollbar */
.topbar-dropdown .dropdown-menu::-webkit-scrollbar {
    height: 5px;
}
.topbar-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}
.role-option {
    white-space: nowrap; /* keep text in single line */
    overflow: hidden; /* hide overflow */
    text-overflow: ellipsis; /* show ... if too long */
    max-width: 200px; /* optional: max width of dropdown item */
    display: block;
    margin-bottom: 4px;
}
    .role-option:last-child {
        margin-bottom: 0;
    }

/* Logout Button */
.logout-btn {
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 5px;
    background: #555; /* red logout button */
    color: #fff;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .logout-btn i {
        font-size: 14px;
    }

    .logout-btn:hover {
        background: #333333; /* darker red on hover */
        color: #fff;
    }

/* Margin between dropdown and logout */
.me-3 {
    margin-right: 1rem !important;
}
/*-----------Dashboard Card styling---------------*/
/* Card styling */
.dashboard-card {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: none;
    transition: 0.3s ease;
}


/* Modern Card Header for Participant Documents */
.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3b47 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px 15px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color); /* dynamic accent based on theme */
}



    .card-header i {
        font-size: 20px;
    }

.dashboard-card .card-body {
    background: #f8f9fa; /* soft gray for dashboard */
    padding: 18px;
}

/*-----------Dashboard tab buttons (x-stream ,eqlipse)---------------*/

/* Button styles */
/* Container to push buttons down */
.btn-group-container {
    margin-top: 30px; /* Push buttons down from top */
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.btn-filter {
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    color: #555;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

 .btn-filter:hover {
    background-color: #e0e0e0;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
 }
 .btn-filter.active {
     background-color: var(--primary-color);
     color: #fff;
     box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        /* box-shadow: 0 6px 15px rgba(0,0,0,0.25);*/
     transform: translateY(-2px);
 }
        /* Active button hover effect */
   .btn-filter.active:hover {
       filter: brightness(1.1); /* slightly brighter */
       transform: translateY(-1px);
       box-shadow: 0 6px 18px rgba(0,0,0,0.3);
     }

.btn-group .btn-filter + .btn-filter {
    margin-left: 10px;
}

/* Smooth transition for body theme changes */
body {
    transition: all 0.3s ease-in-out;
}
/* ===============================
   PAGE BACKGROUND (Professional Look)
================================= */
body {
    background-color: #f5f7fa;
}


/* ===============================
   CARD STRUCTURE IMPROVEMENT
================================= */
.dashboard-card {
    margin-bottom: 24px;
    border-radius: 12px;
}

.card-body {
    padding: 20px 22px;
}

.card-header {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    background: #ffffff;
    border-bottom: 1px solid #eef1f4;
}


/* ===============================
   METADATA (Muted Professional Text)
================================= */
.mr-doc-meta,
.announcement-text .mr-doc-meta {
    font-size: 12px;
    color: #8c98a4;
}


/* ===============================
   SUMMARY BOXES (Top Section Stats)
================================= */
.summary-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #eef1f4;
    transition: 0.2s ease;
}

    .summary-box h4 {
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .summary-box span {
        font-size: 12px;
        color: #8c98a4;
    }


/* ===============================
   WELCOME HEADER
================================= */
.dashboard-welcome h3 {
    font-weight: 600;
    margin-bottom: 4px;
}

.dashboard-welcome p {
    color: #8c98a4;
    margin: 0;
}


/* ===============================
   CONSISTENT BORDER RADIUS
================================= */
.announcement-item,
.mr-document-item,
.btn-view,
.mr-download-btn {
    border-radius: 12px;
}


/* Clean Flex Header */
.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #eef1f4;
}

/* Left Section */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .header-left i {
        font-size: 18px;
        color: #ffffff;
    }

/* Title Group */
.header-title-group {
    display: flex;
    flex-direction: column;
}

.header-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.header-subtitle {
    font-size: 11px;
    color: #8c98a4;
}

/* Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Stats */
.header-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

    .header-stat i {
        font-size: 13px;
    }

.new-stat {
    color: #ffffff;
    font-weight: 600;
}

/* View All */
.view-all-link {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
}

    .view-all-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }


.announcement-item {
    background-color: #fff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}
    /*Hover like document card*/
 .announcement-item:hover {
     background: #f0f3f7; /* same hover as document items */
     transform: translateY(-2px);
     box-shadow: 0 6px 18px rgba(0,0,0,0.15);
 }
/* Optional NEW badge */
.announcement-badge {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color);
    text-transform: uppercase;
}

.announcement-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 12px;
    position: relative; /* important for badge positioning */
}

.announcement-item:hover .announcement-icon {
    background: var(--primary-color);
    color: #fff;
}
/*NEW badge on top of icon */
.announcement-icon .announcement-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}


.announcement-text h6 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: #435058;
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.announcement-text small {
    color: #888;
}

.btn-view {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

 .btn-view:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.25);
 }


.btn-view {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .btn-view:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    }


/*MR TABS*/
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-tabs .nav-link.active:hover {
    color: #fff;
}

#tblMRfiles th {
    background: var(--primary-color);
}

a {
    color: #435058;
}

    a:hover {
        color: var(--primary-color);
    }



/* Card styling - upgraded */
.dashboard-card {
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
}

    .dashboard-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

    .dashboard-card .card-header {
        background: var(--primary-color);
        color: white;
        font-weight: 600;
        font-size: 1.05rem;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        letter-spacing: 0.3px;
    }

     .dashboard-card .card-header i {
            margin-right: 8px;
            /*font-size: 1rem;*/
     }
/* MR Documents Table Modern Look */
#tblMRfiles {
    border-radius: 12px;
    overflow: hidden;
}

    #tblMRfiles th {
        background: var(--primary-color);
        color: #fff;
        font-weight: 500;
        font-size: 0.9rem;
        border: none;
    }

    #tblMRfiles td {
        vertical-align: middle;
        font-size: 0.9rem;
        padding: 12px 10px;
    }

    #tblMRfiles tbody tr {
        transition: all 0.2s ease;
    }

        #tblMRfiles tbody tr:hover {
            background-color: rgba(0,0,0,0.03);
            transform: scale(1.01);
        }


.env-badge {
    background-color: rgba(0,0,0,0.05);
    /* color: var(--primary-color);*/
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.no-data-box {
    text-align: center;
    padding: 30px;
    border-radius: 14px;
    background: #f9fafc;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    color: #777;
}

    .no-data-box i {
        font-size: 28px;
        margin-bottom: 8px;
        color: var(--primary-color);
    }

a {
    color: var(--primary-color);
    font-weight: 500;
    transition: 0.2s ease;
}

 a:hover {
        color: #000;
        text-decoration: underline;
 }
/* ===============================
   Participant Documents Panel
  =============================== */

/* Card body */
.dashboard-card .card-body {
    background: #f8f9fa; /* light gray for dashboard */
    padding: 18px;
}

/* Card header */
.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a3b47 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px 15px 0 0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color); /* dynamic accent line */
}

/* Document list container (scrollable if needed) */
/*.mr-document-list-container {
    max-height: 450px;*/ /* adjust if needed for top 10 */
    /*overflow-y: auto;
}
#announcementList {
    max-height: 490px;
    overflow-y: auto;
}*/


/* Document items */
.mr-document-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* compact spacing */
}

.mr-document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ffffff; /* white for cards */
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: all 0.25s ease;
}

    .mr-document-item:hover {
        background: #f0f3f7; /* subtle hover */
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

/* Left section: icon + title */
.mr-doc-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* File icon */
.mr-doc-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0,0,0,0.035);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    transition: 0.2s ease;
}

.mr-document-item:hover .mr-doc-icon {
    background: var(--primary-color);
    color: #fff;
}

/* Title + meta */
.mr-doc-content .mr-doc-title {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #435058; /* default text color */
    font-weight: 600;
    font-size: 14px;
    /* color: #2f3e46;*/
    text-decoration: none;
}

    .mr-doc-content .mr-doc-title:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }

.mr-doc-meta {
    font-size: 0.85rem; /* slightly larger for better readability */
    color: #6c757d;
    margin-top: 2px;
}


/* Right section: badge + download */
.mr-doc-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mr-env-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0,0,0,0.05);
    /*  color: var(--primary-color);*/
    border: 1px solid rgba(0,0,0,0.08);
}

.badge-xstream {
    color: #c6974b;
}

.badge-eqlipse {
    color: #0092ba;
}

.mr-download-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .mr-download-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

/* No data box */
.no-data-box {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #555;
}

    .no-data-box i {
        font-size: 36px;
        margin-bottom: 12px;
        color: var(--primary-color);
    }
/* Minimal "NEW" badge for top-left corner */
.mr-document-item .mr-new-badge {
    position: absolute;
    top: 8px;
    left: 8px; /* top-left, avoids overlapping download button */
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.mr-document-item:hover .mr-new-badge {
    transform: translateY(-1px);
    opacity: 1;
}
/* ===============================
   PAGE BACKGROUND (Professional Look)
================================= */
body {
    background-color: #f5f7fa;
}


/* ===============================
   CARD STRUCTURE IMPROVEMENT
================================= */
.dashboard-card {
    margin-bottom: 24px;
    border-radius: 12px;
}

.card-body {
    padding: 20px 22px;
}

.card-header {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    background: #ffffff;
    border-bottom: 1px solid #eef1f4;
}


/* ===============================
  Top Bar style
  =============================== */
.topnav {
    display: flex;
    gap: 8px;
    height: 30px;
    /* align-items: center;*/
    align-items: stretch;
    flex-wrap: nowrap;
    /* height: 50px;*/
}
    .topnav a,
    .topnav .btn {
        display: flex;
        align-items: center;
        border-radius: 10px;
        font-weight: 500;
        /*color: #555;*/
        text-decoration: none;
        transition: all 0.25s ease;
        position: relative;
        white-space: nowrap;
        height: 100%;
    }
    .topnav a {
        color: #555;
    }
        .topbar-dropdown {
            display: flex;
            align-items: center;
        }
.main-btn {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background-color: #555;
}
    /*.topnav a, topnav .btn {
        display: flex;
        align-items: center;*/
        /*  padding: 10px 18px;*/
        /*border-radius: 10px;
        font-weight: 500;
        color: #555;
        text-decoration: none;
        transition: all 0.25s ease;
        position: relative;
        white-space: nowrap;
        height: 100%;
    }*/


   /* .topnav a,
    .topnav .btn {
        display: flex;
        align-items: center;
        height: 100%;
        white-space: nowrap;
    }*/

/* Icon styling */
.nav-icon {
    margin-right: 8px;
    font-size: 18px;
    transition: transform 0.25s ease;
}

/* Hover effect */
.topnav a:hover {
    background-color: rgba(0,0,0,0.05);
    color: #000;
    transform: translateY(-2px);
}

    /* Slight icon lift on hover */
    .topnav a:hover .nav-icon {
        transform: scale(1.1);
    }


/* Active state */
.topnav a.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

    /* Hover effect on active link */
    .topnav a.active:hover {
        background-color: var(--primary-hover); /* Slightly lighter overlay */
        filter: brightness(1.05); /* Optional: slightly brighter */
        transform: translateY(-1px); /* Slight lift */
        box-shadow: 0 5px 14px rgba(0,0,0,0.15);
    }

    /* Active icon color */
    .topnav a.active .nav-icon {
        color: #fff;
    }

/* Global font and text style for the entire dashboard */
body, .dashboard-card {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: #435058; /* default text color */
    /* line-height: 1.4;
            letter-spacing: 0.2px;*/
}
/* ===============================
    POPUP Form styles
 =============================== */

/* Modal base improvements */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

/* Modal Content Shape */
.modal-content {
    border: none;
    border-radius: 16px; /* softer modern shape */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: var(--transition);
    background: #fff;
}

.modal.fade .modal-dialog {
    transform: translateY(-30px);
    transition: transform 0.4s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

/* Close button */
.btncloseModal {
    font-size: 1.4rem;
    border: none;
    background: transparent;
    color: #fff;
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}


    .btncloseModal:hover {
        color: #c5964a;
        transform: scale(1.1); /* slightly enlarge instead of rotate */
    }



.modal-header {
    background: linear-gradient( 135deg, var(--primary-color), var(--primary-hover) );
    color: var(--text-light);
    padding: 1.2rem 1.8rem;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    position: relative;
}
/* Top row (title + date) */
.header-top {
    width: 100%;
    display: flex;
    justify-content: space-between; /* pushes date right */
    align-items: center;
}
/* Date styling */
.announcement-date {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.85;
}



.modal-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

    /* Golden / Accent Dot becomes primary-light */
    .modal-header h4 .fa-circle {
        color: var(--primary-light);
    }

/* Announcement Date */
.modal-header .announcement-date {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.4rem;
}

.modal-body {
    padding: 2rem;
    background-color: #fafafa;
}

    .modal-body .card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        padding: 1.5rem;
    }

#Vdescription {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

#VfilesCollection a {
    display: inline-block;
    margin: 6px 8px 0 0;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

    #VfilesCollection a:hover {
        background: var(--primary-color);
        color: #fff;
        transform: translateY(-2px);
    }

#divSts span#Vsts {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.85rem;
}
/* ===============================
    tool tip styles
 =============================== */
.tooltip {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .tooltip.show {
        transform: translateY(-6px);
    }

    .tooltip .arrow {
        display: none; /* removes sharp triangle */
    }

.tooltip-inner {
    background: var(--primary-color) !important;
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px !important;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 6px;
}
        
/*-----------Announcements---------------*/

/* Sidebar Container */
.leftbar-div {
    /*background-color: #fff;*/ /* White background */
    border-radius: 12px;
    /* background-color: #b6c1c8;*/
    background-color: var(--sidebar-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
}

 /*Remove default list style */
.leftbar-ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    /* Sidebar items */
    .leftbar-ul li {
        padding: 12px 20px;
        margin: 5px 10px;
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--primary-color);  /*Text = primary color */
        font-weight: 500;
        position: relative;
        background-color: #fff;  /*default white */
    }

         /*Hover effect */
        .leftbar-ul li:hover {
            background-color: var(--sidebar-hover);
            color:black;
        }
        .leftbar-ul li.active {
            background-color: var(--sidebar-active);
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }
        
       /*  Active border animation */
        .leftbar-ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .leftbar-ul li.active::before {
            opacity: 1;
        }

         /*Link inside item */
        .leftbar-ul li a {
            color: inherit;
            text-decoration: none;
            display: flex;
            align-items: center;
            width: 100%;
            transition: all 0.3s ease;
        }
        .leftbar-ul li span {
            color: grey; /* normal state */
            font-size: 0.9em;
        }
        /* Hover state */
        /*.leftbar-ul li:hover span,*/
        /*.leftbar-ul li.active span {
            color: #ffffff;
            
        }*/
        /*.leftbar-ul li a {
            display: flex;
            flex-direction: column;*/ /* stack children vertically */
            /*width: 100%;
            color: inherit;
            text-decoration: none;
            transition: all 0.3s ease;
        }*/

            /* Icon inside Sidebar */
            .leftbar-ul li a i {
                margin-right: 10px;
                font-size: 16px;
                transition: transform 0.3s ease;
            }

        /* Hover icon effect */
        .leftbar-ul li:hover a i {
            transform: scale(1.2);
            /*color: #fff;*/
        }

       /*  Badge styling */
        .leftbar-ul li .badge {
            background-color: var(--primary-color);
            color: #fff;
            font-size: 12px;
            font-weight: 600;
            border-radius: 50px;
            padding: 2px 8px;
            transition: all 0.3s ease;
        }

         /*Text inside li */
        .leftbar-ul li b {
            font-weight: 600;
        }

/* Arrow icon styling */
.arrow-icon {
    font-size: 12px;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect for arrow */
.leftbar-ul li:hover .arrow-icon {
    transform: translateX(4px);
    /*color: #fff;*/
}

 /*Active arrow color */
/*.leftbar-ul li.active .arrow-icon {
    color: #fff;
}*/
 

/* Table Header for #participantFilesTable only */
#participantFilesTable thead th {
    background-color: var(--primary-color); /* primary theme color */
    color: #fff; /* text color white */
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #ccc;
    padding: 10px;
}

/* Optional: hover effect for rows in this table only */
#participantFilesTable tbody tr:hover {
    background-color: var(--primary-light);
    transition: all 0.2s ease-in-out;
}


/* Container for modern tabs */
.modern-env-tabs {
    display: flex;
    justify-content: center; /* center aligned */
    gap: 12px; /* space between buttons */
    margin-bottom: 30px; /* spacing above table */
}

/* Tab buttons */
.modern-tab-btn {
    border-radius: 50px; /* pill shape */
    padding: 10px 25px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    color: #555;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

    /* Hover effect */
    .modern-tab-btn:hover {
        background-color: #e0e0e0;
        color: #222;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    }

    /* Active tab style */
    .modern-tab-btn.active {
        background-color: var(--primary-color);
        color: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

        /* Active tab hover */
        .modern-tab-btn.active:hover {
            filter: brightness(1.1);
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.3);
        }

/* Links inside this table only */
#participantFilesTable td a {
    color: var(--primary-color);
    text-decoration: none;
}

    #participantFilesTable td a:hover {
        text-decoration: underline;
    }

#div_details {
    margin-bottom: 20px;
}

html, body {
    height: auto;
    overflow-y: auto;
}

#description ul {
    list-style: none !important;
    padding-left: 0;
}

#description li {
    position: relative;
    padding-left: 20px;
}

 #description li::before {
        content: "■";
        position: absolute;
        left: 0;
        color: #000;
  }

b {
    color: inherit !important;
}

/*-----------Announcements---------------*/

/* ================== FAQ STYLES ================== */

/* FAQ Card */
.faq-card {
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* Container */
.faq-container {
    max-width: 100%;
    width: 100%;
}

/* FAQ Item */
.faq-item {
    border-bottom: 1px solid #eee;
    padding: 14px 12px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

    /* Hover background */
    .faq-item:hover {
        background-color: #faf7f2; /* light highlight */
        transform: translateY(-1px);
    }

/* Question */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    gap: 10px;
    user-select: none; /* prevent text selection on click */
}

/* Question text – ALWAYS highlight color */
.faq-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.6;
    color: #c6974b; /* highlight color */
}

/* Icon */
.faq-icon {
    font-size: 22px;
    font-weight: bold;
    color: #c6974b;
    min-width: 24px;
    text-align: center;
    transition: transform 0.2s ease;
}

/* Answer */
.faq-answer {
    margin-top: 12px;
    padding-left: 4px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    display: none; /* hidden by default */
    transition: all 0.3s ease;
}

/* Show answer when active */
.faq-item.active .faq-answer {
    display: block;
}

/* Rotate icon for active */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
/* ================== FAQ STYLES ================== */


/* ================== Profile STYLES ================== */
.my-account {
    position: relative;
    padding-bottom: 6px;
}

 .my-account::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 30px;
        height: 2px;
        background: #c4954a;
  }

.bg-cgold {
    background-color: #c6974b !important;
}

.card-header i {
    font-size: 18px;
}

.card {
    border-radius: 6px;
}


.password-info {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}
.btn.btn-primary {
    background-color: #c6974b !important; /* button background */
    border-color: #c6974b !important; /* button border */
    color: #fff !important; /* text color */
}

    .btn.btn-primary:hover,
    .btn.btn-primary:focus,
    .btn.btn-primary:active,
    .btn.btn-primary:focus-visible {
        background-color: #b48844 !important; /* slightly darker on hover/focus/active */
        border-color: #b48844 !important;
        color: #fff !important;
        box-shadow: none !important; /* remove Bootstrap focus shadow if desired */
    }


/* ================== Profile STYLES ================== */

/* ================== Forgotpassword STYLES ================== */
.forgotpwd-form {
    width: 100%;
    background-color: #f5f5f5;
}

.container-forgotpwd-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.text-center.mt-2 {
    margin-top: 15px; /* a bit of space from the Sign In button */
}

 .text-center.mt-2 a {
   color: #555555;
   text-decoration: none;
   font-size: 0.9rem;
 }

  .text-center.mt-2 a:hover {
      text-decoration: underline;
      color: #c6974b;
    }

.forgot-tooltip {
    position: relative;
    color: #007bff; /* link color */
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

 .forgot-tooltip:hover {
     text-decoration: underline;
 }

    /* Tooltip card below the link */
 .forgot-tooltip .tooltip-text {
        visibility: hidden;
        width: 200px; /* card width */
        background-color: #ffffff; /* white background */
        color: #555555; /* modern grey text */
        text-align: center;
        padding: 8px 12px; /* inner spacing */
        border-radius: 8px; /* rounded corners */
        font-size: 0.85rem; /* smaller text */
        position: absolute;
        z-index: 1000;
        top: 125%; /* below the link */
        left: 50%;
        transform: translateX(-50%); /* center horizontally */
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* modern subtle shadow */
        border: 1px solid #e0e0e0; /* thin border for card feel */
  }

 /* Arrow pointing up toward the link */
 .forgot-tooltip .tooltip-text::after {
     content: '';
     position: absolute;
     bottom: 100%; /* arrow at top of tooltip */
     left: 50%;
     transform: translateX(-50%);
     border-width: 6px;
     border-style: solid;
     border-color: transparent transparent #ffffff transparent; /* matches tooltip background */
   }

    /* Show tooltip on hover */
    .forgot-tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(8px); /* smooth slide-down effect */
    }
/* ================== Forgotpassword STYLES ================== */
/* Sidebar card */
.env-sidebar {
    border-radius: 12px;
    overflow: hidden;
}

    .env-sidebar .card-header {
        font-weight: 600;
        background: #fff;
        border-bottom: 1px solid #eef1f4;
    }

.env-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

    .env-item:hover, .env-item.active {
        background-color: var(--primary-color);
        color: #fff;
    }

/* DataTable adjustments */
#participantFilesTable_wrapper {
    width: 100%;
}

#participantFilesTable th, #participantFilesTable td {
    font-size: 13px;
}

    #participantFilesTable td a {
        color: var(--primary-color);
        text-decoration: none;
    }

        #participantFilesTable td a:hover {
            text-decoration: underline;
        }
/* Modern dropdown style */
.modern-select {
    width: 100%;
    padding: 8px 12px; /* vertical + horizontal padding */
    height: auto; /* let padding control the height */
    line-height: 1.5; /* ensures text is vertically centered */
    font-size: 0.95em; /* your font size */
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    appearance: none; /* custom arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #333;
}

    /* Focus style */
    .modern-select:focus {
        border-color: #c5964a;
        box-shadow: 0 0 5px rgba(197, 150, 74, 0.5);
        outline: none;
    }

    /* Option hover and selected background color */
    .modern-select option:hover {
        background-color: #c5964a !important; /* Primary theme color on hover */
        color: #fff;
    }

    .modern-select option:checked {
        background-color: #c5964a; /* Primary theme color when selected */
        color: #fff;
    }

    /* Optional: add a small arrow */
    .modern-select::-ms-expand {
        display: none; /* hide default arrow in IE/Edge */
    }
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
   /* max-width: 300px;*/
}

.custom-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* arrow doesn’t block clicks */
    font-size: 0.9em;
    color: #333;
}

/* Optional: match arrow color when focused */
.select-wrapper select:focus + .custom-arrow {
    color: #c5964a;
}

/* ===============================
   DASHBOARD WRAPPER
================================= */
.dashboard-wrapper {
    background: #f6f8fb;
    padding: 24px;
    min-height: 100vh;
}

/* ===============================
   STATS CARDS
================================= */

.stats-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 18px rgba(0,0,0,0.05);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: transform .2s ease;
}

.stats-value {
    font-size: 22px;
    font-weight: 700;
}

.stats-label {
    font-size: 13px;
    color: #777;
}

.stats-card-modernized {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px 18px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all .25s ease;
    cursor: pointer;
    border: 1px solid #f1f5f9;
}

    .stats-card-modernized:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    }

        .stats-card-modernized:hover .stats-icon {
            transform: scale(1.08);
        }

.stats-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bg-common {
    background: var(--primary-color);
}

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-title {
    font-weight: 700;
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.stats-badges {
    display: flex;
    gap: 10px;
}

.badge {
    position: relative; /* necessary for tooltip positioning */
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: default;
    transition: transform 0.2s ease;
    background: #fff3e8;
    color: var(--primary-color);
    z-index: 1; /* ensure above background */
}

    /* Tooltip box */
    .badge::after {
        content: attr(data-title);
        position: absolute;
        top: 110%;
        left: 50%;
        transform: translateX(-50%) translateY(0);
        background: #f0f0f0;
        color: #435058;
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 8px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        z-index: 999; /* very high to stay on top */
    }

    /* Arrow */
    .badge::before {
        content: "";
        position: absolute;
        top: 100%; /* right below the badge */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent; /* increase width */
        border-right: 10px solid transparent; /* increase width */
        border-top: 10px solid #f0f0f0; /* increase height for bigger arrow */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 999;
    }

    /* Show tooltip + arrow on hover */
    .badge:hover::after,
    .badge:hover::before {
        opacity: 1;
        transform: translateX(-50%) translateY(5px); /* adjust spacing for bigger arrow */
    }
   
    .badge.total {
        background: #fff3e8;
        color: var(--primary-color);
    }

    .badge.new {
        background: #fff3e8;
        color: var(--primary-color);
    }

.stats-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}


/* =========================
   Modern Button Tooltip
========================= */
/* =========================
   Modern Button Tooltip (Compact)
========================= */

/* Tooltip wrapper */
/* Tooltip box - global */
.tooltip-text {
    position: fixed; /* now it’s relative to viewport */
    background: #f0f0f0; /* light dashboard color */
    color: #435058; /* text color */
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

    /* Tooltip arrow */
    .tooltip-text::before {
        content: "";
        position: absolute;
        top: -8px; /* arrow above tooltip */
        left: 50%;
        transform: translateX(-60%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #f0f0f0; /* same as tooltip background */
    }
.announcement-card, .document-row {
    position: relative; /* for tooltip relative to card */
    z-index: 1;
}

.tooltip-text {
    z-index: 9999; /* above everything */
}
.stats-card-modernized,
.news-card,
.announcement-card {
    overflow: visible; /* allow tooltips to show outside */

}
/* ===============================
   MAIN CARD
================================= */

.news-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

/* ===============================
   CARD HEADER
================================= */

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    background: #fafafa;
}

    .news-header i {
        color: var(--primary-color);
        margin-right: 8px;
    }

.view-all {
    font-size: 13px;
    color: #435058;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .view-all:hover {
        text-decoration: underline;
    }

    .view-all i {
        transition: 0.2s;
    }

    .view-all:hover i {
        transform: translateX(4px);
    }

/* ===============================
   ANNOUNCEMENT CARD
================================= */

.announcement-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f1f1;
    transition: transform .2s ease, background .2s ease;
}

    .announcement-card:hover {
        background: #f8fafc;
        transform: translateX(4px);
    }

/* ===============================
   ANNOUNCEMENT LEFT
================================= */

.announcement-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.announce-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff3e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all .2s ease;
}

.announcement-card:hover .announce-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.announce-title {
    font-weight: 600;
    font-size: 14px;
}

.announce-meta {
    font-size: 12px;
    color: #777;
}

/* ===============================
   ANNOUNCEMENT RIGHT
================================= */

.announcement-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-view {
    border: none;
    background: #fff3e8;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
    transition: all .2s ease;
}

    .btn-view:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }

/* ===============================
   DOCUMENT ROW
================================= */

.document-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f1f1;
    transition: all .25s ease;
}

    .document-row:hover {
        background: #f8fafc;
        transform: translateX(3px);
    }

/* ===============================
   DOCUMENT LEFT
================================= */

.doc-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff3e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all .2s ease;
}

.document-row:hover .doc-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.doc-title {
    font-size: 13px;
    font-weight: 600;
}

.doc-meta {
    font-size: 11px;
    color: #888;
}

/* ===============================
   DOWNLOAD BUTTON
================================= */

.download-btn {
    background: #fff3e8;
    padding: 7px 9px;
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all .2s ease;
}

    .download-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }

/* ===============================
   SCROLLBAR STYLE
================================= */

.news-feed::-webkit-scrollbar,
.documents-feed::-webkit-scrollbar {
    width: 6px;
}

.news-feed::-webkit-scrollbar-thumb,
.documents-feed::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* ===============================
   SEARCH
================================= */

.news-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-search-box {
    position: relative;
    width: 260px;
}

    .news-search-box i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        font-size: 13px;
    }

.news-search {
    width: 100%;
    border: 1px solid #f9f4ec;
    border-radius: 10px;
    padding: 8px 10px 8px 32px;
    font-size: 13px;
    transition: all .2s ease;
}

    .news-search:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    }

    .news-search::placeholder {
        color: #9ca3af;
        font-size: 12px;
    }

/* icon wrapper */
.doc-icon {
    position: relative;
}

/* NEW badge */
.doc-new-icon::after {
    content: "NEW";
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 6px;
    background: #ffedd5;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.announce-icon {
    position: relative;
}
/* NEW badge */
.announce-new-icon
::after {
    content: "NEW";
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 6px;
    background: #ffedd5;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
