* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: 'Varela', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: #f2f2f2;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 400;
}

h1:has(+ table),
h2:has(+ table),
h3:has(+ table),
h4:has(+ table) {
    margin: 0 0 0.6rem;
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 24px;
}

.k-overlay {
    z-index: 99999;
}

.k-window .k-dialog {
    z-index: 999999;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
}

.public-container {
    max-width: 1200px;
    margin: 0 auto;
}

.public-container-1 {
    max-width: 1400px;
    margin: 0 auto;
}


.public-mt-20 {
    margin-top: 20px;
}

.public-mb-20 {
    margin-bottom: 20px;
}

/* General table styling */
div:has(> table:not(.k-grid-table)) {
    max-width: 100%;
    overflow: auto;
}

.styled-table {
    width: 60%;
    margin-left: 20px;
    /* Align table to the left */
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

/* Styling for table cells and headers */
.styled-table td,
.styled-table th {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Header row styling */
.styled-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/* Alternate row background colors */
.styled-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Optional: Row hover effect */
.styled-table tr:hover {
    background-color: #f1f1f1;
}

/* First column (header) specific styling */
.table-header {
    color: #333;
}

/* First column (value) specific styling */
.table-value {
    color: #555;
}

/* Optional: Set a minimum width for the first column */
.table-header-cell {
    width: 200px;
}

.clear-after::after {
    content: "";
    clear: both;
    display: block;
}

.width-25 {
    width: 22.75%;
    margin-right: 3%;
    float: left;
}

.width-25:last-child {
    margin-right: 0;
}

.width-33 {
    width: 31.333%;
    margin-right: 3%;
    float: left;
}

.width-33:last-child {
    margin-right: 0;
}

.width-50 {
    float: left;
    width: 48.5%;
    margin-right: 3%;
}

.width-50:last-child {
    margin-right: 0;
}

.number-style {
    margin-top: 25%;
    margin-bottom: 25%;
}

#ai-editor {
    height: 300px;
    /* Increased height for the editor */
    border: 1px solid #ccc;
    border-radius: 8px;
}

.ai-text-area {
    height: 225px !important;
}

.number-percentage {
    font-size: 36px;
    font-weight: bold;
    color: #e96a50;
}

.number-label {
    font-size: 14px;
    font-weight: bold;
    color: #666;
}

.stretch {
    width: 100%;
}

.chart-container {
    background-color: #f7f7f7;
    border-radius: 20px;
    height: 300px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-container canvas {
    height: 100%;
    padding: 15px;
}

.chart-title {
    text-align: left;
    font-size: 18px;
    /* Set font size */
    font-weight: bold;
    /* Make the title bold */
    color: #333;
    /* Darker font color */
}

hr {
    margin: 1.8rem 0;
    height: 10px;
    background: #e8e8e8;
    border: 0;
}

hr.small {
    margin: 12px 0;
    height: 1px;
}

.margin-vert-30 {
    margin: 1.8rem 0;
}

.margin-bot-30 {
    margin-bottom: 1.8rem;
}

.border-bottom {
    border-bottom: 1px solid #ccc;
}

body.no-scroll {
    overflow: hidden;
}

/*Form Elements*/

.form-section-title {
    background: #0A2240;
    color: #fff;
    font-size: 24px;
    padding: 20px;
    margin-bottom: 0;
}

.form-section-content {
    border: 1px solid #0A2240;
    padding: 1.8rem;
    margin-bottom: 1.8rem;
}

.form-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-item {
    margin-bottom: 20px;
}

.form-item label {
    margin-bottom: 8px;
    display: block;
}

.form-item label.cb {
    display: inline-block;
}

.form-item label.cb-fw {
    display: block;
}

.form-item.required label::before,
label.required::before {
    content: "*";
    display: inline-block;
    margin-right: 3px;
    color: red;
}

.form-item .question-comment label::before {
    content: ""
}

.form-item.required label.cb::before,
.form-item.required label.cb-fw::before {
    display: none;
}

.form-subsection {
    margin-left: 20px;
    margin-bottom: 12px;
}

input[type=text],
input[type=search],
input[type=date],
input[type=number],
input[type=email],
input[type=password],
input[type=datetime-local],
input[type=tel],
select {
    font-size: 1em;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}

textarea {
    font-size: 1em;
    padding: 10px;
    width: 100%;
    height: 125px;
    border: 1px solid #ccc;
}

.form-container input[type=text],
.form-container input[type=number],
.form-container input[type=email],
.form-container input[type=password],
.form-container input[type=datetime-local],
.form-container select,
.form-container textarea {
    border: 1px solid #ccc;
    background: #f5f6f7;
    -webkit-box-shadow: inset 5px 5px 10px 0 rgba(0, 0, 0, .05);
    box-shadow: inset 5px 5px 10px 0 rgba(0, 0, 0, .05);
}

textarea {
    font-size: 1em;
    padding: 10px;
    width: 100%;
    height: 125px;
}

.btn {
    display: inline-block;
    background: #de6326;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    border: none;
}

.btnai {
    color: blue;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.btn:hover {
    background: #c7571f;
}

.btn-right {
    margin-left: auto;
}

.btnai:hover {
    background: whitesmoke;
}

.k-grid td .btn {
    padding: 4px 10px;
}

.k-multiselect.k-input-md {
    font-size: 1em;
}

.k-multiselect.k-input-md .k-input-values {
    padding: 10px;
}

.k-multiselect.k-input-md .k-input-inner {
    padding: 1px;
}

.k-multiselect-select-all {
    padding: 4px 8px;
    cursor: pointer;
}

/* Layout styles */
.flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

header {
    background: #fff;
}

#main-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 1.8rem;
}

header ul {
    display: none
}

.header-col-1 {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    gap: 24px;
    margin-right: 1.8rem;
}

.header-col-1 img {
    display: block;
    height: 40px;
}

.header-col-1 #logo-text {
    font-size: clamp(1rem, 0.709rem + 1.45vw, 1.8rem);
    line-height: 1em;
}

.header-col-2 {
    width: 100%;
    text-align: right;
    border-right: 1px solid #ccc;
    padding-right: 1.8rem;
}

.header-col-3 {
    text-align: right;
    width: 500px;
    padding-left: 1.8rem
}

.header-col-3 input {
    padding: 20px;
    border: 1px solid #ccc;
}

header .num-id, header .num-id-reviewer, header .num-todo-sbd {
    margin-left: 8px;
    padding: 5px 10px;
    background: #c7571f;
    color: #fff;
    border-radius: 5px;
    font-size: .8em;
}


header .num-id-lgd, header .num-id-fir {
    margin-left: 8px;
    padding: 5px 10px;
    background: #c7571f;
    color: #fff;
    border-radius: 5px;
    font-size: .8em;
}

.num-id-1 {
    padding: 5px 10px;
    background: #c7571f;
    color: #fff;
    border-radius: 5px;
    font-size: .8em;
}

.platform-nav {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.platform-nav i {
    margin-right: 10px;
    /* Space between icon and text */
    font-size: 20px;
    color: #c7571f;
}

.platform-nav:hover {
    background-color: #e0e0e0;
    color: #000;
}

.disabled-link {
    pointer-events: none;
    /* Disable clicks */
    opacity: 0.5;
    /* Optional: makes the link look visually disabled */
}

#platform-navigation {
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    background: #f4f4f4;
    display: none;
}

.nav-module-container {
    width: 100%;
    margin: 0 auto;
}

.nav-module-row {
    display: flex;
    flex-wrap: wrap;
}

.nav-module {
    flex: 1 0 25%;
    max-width: 25%;
    padding: 1.8rem;
    box-sizing: border-box;
    background-color: #f4f4f4;
    text-align: left;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.nav-module:hover {
    background: #fff;
}

.nav-module a {
    display: inline-block;
    background: #c7571f;
    color: #fff;
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 5px;
}


.empty-nav-module {
    border: 0;
}




header nav {
    width: 100%;
    background: #093d3d;
    padding: 10px 15px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    padding: 7px 15px;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
    display: block;
    border-radius: 5px;
}

header nav ul li a:hover {
    background: #135e5d;
}

header nav ul li:last-child:not(.fcd) {
    border-left: 1px solid #135e5d;
    padding-left: 15px;
}

header nav ul li:last-child:not(.fcd) a {
    background: #de6326;
    color: #fff;
}

.page-title {
    background: rgb(15, 79, 78);
    background: linear-gradient(90deg, rgba(15, 79, 78, 1) 0%, rgba(19, 94, 93, 1) 100%);
    padding: 1.8rem;
    color: #fff;
    font-size: clamp(1.4rem, 1.255rem + 0.73vw, 1.8rem);
}

/*Login Styles*/

.login-container {
    max-width: 500px;
    margin: 100px auto;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
}

.login-container header {
    background: #fff;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.login-container .header-col-1 {
    display: inline-block;
    width: 100%;
    margin: 0 auto;
    padding: 1.8rem;
    border-right: 0 solid #ccc;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.login-container .header-col-1 img {
    width: 300px;
    height: auto;
}

/* Map */

#map-container {
    height: 650px;
    max-height: 80vh;
    width: 100%;
    border-bottom: 1px solid #ddd;
    position: relative;
}

#map-options {
    display: flex;
    flex-flow: column;
    position: absolute;
    z-index: 999;
    top: 2vw;
    right: 2vw;
    width: 250px;
    padding: 1.8vw;
    background:#fff;
    font-size: 1rem;
    line-height: 1.5;
}

.main-content .project-popup {
    font-size: 0.9rem;
    line-height: 1.4em;
}

.main-content .project-popup h3 {
    margin: 0 0 10px 0;
    color: rgb(15, 79, 78);
    font-size: 1.2em;
}

.main-content .project-popup p {
    margin: 5px 0;
}

.main-content .project-popup a.btn {
    width: 100%;
    margin-top: 0.6rem;
    color: #fff;
}

/*Big Number Styles */
.dash-item {
    background: #fff;
    font-size: 1.8rem;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.dash-item:last-child {
    border-right: 0;
}

.dash-item span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.dash-item-16 {
    width: 16.66%;
    padding: 1.8rem;
}

.dash-item-20 {
    width: 20%;
    padding: 1.8rem;
}

.dash-item-25 {
    width: 25%;
    padding: 1.8rem;
}

.dash-item-33 {
    width: 33.333%;
    padding: 1.8rem;
}

.dash-item-50 {
    width: 50%;
    padding: 1.8rem;
}

.dash-item input {
    background: #fff !important;
    border: 0 !important;
    padding: 0 !important;
}

/*Filter Styles*/
.grid-filters {
    margin: 25px 0;
}

.filter-container {
    flex-flow: row wrap;
    background: #f2f2f2;
    padding: 5px;
}

.filter-container div {
    margin-right: 10px;
}

.filter-container div select {
    min-width: 200px;
    max-width: 300px;
}

.clear-filters {
    font-size: .8em;
    color: #666;
    text-decoration: none;
    padding: 13px;
    border: 5px;
    display: inline-block;
    white-space: nowrap;
}

.clear-filters:hover {
    background: rgba(0, 0, 0, .05)
}

/*Main Content Styles*/
.main-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    background: #fff;
}

.main-item {
    flex: 1 1 500px;
    max-width: 100%;
    padding: 1.8rem;
    border-right: 1px solid #ccc;
}

.main-item:last-child {
    border-right: 0;
}

.main-item-25 {
    flex: 1 1 400px;
}

.main-item-50 {
    flex: 1 1 500px;
}

.main-item-75 {
    flex: 1 1 75%;
}

.main-item-100 {
    width: 100%;
}

/*Breadcrumbs */
.breadcrumbs {
    padding-bottom: 1.8rem;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.8rem;
}

.breadcrumbs a {
    font-size: .8em;
    text-transform: uppercase;
    color: #0e0d1b;
    text-decoration: none;
}

.profile-meta {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.profile-meta li {
    display: inline-block;
    margin-right: 10px;
    border-right: 1px solid #ccc;
    padding-right: 10px;
}

.profile-meta li:last-child {
    border-right: 0;
}

/*Sub Navigation*/
.side-title {
    text-transform: uppercase;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid #ccc;
}

.side-title span {
    display: inline-block;
    border-bottom: 3px solid #de6326;
    padding-bottom: 5px;
}

.sub-navigation {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sub-navigation li {
    border-bottom: 1px solid #ccc;
}

.sub-navigation li a {
    padding: 15px 0;
    display: block;
    text-decoration: none;
    color: #2c65b9;
}

.sub-navigation li a:hover {
    background: #f2f2f2;
    padding: 15px
}

/*Grid Styles */
.main-table {
    width: 100%;
    border-collapse: collapse;
}

.main-table th {
    text-align: left;
    font-size: .8em;
    padding: 10px;
    border-bottom: 3px solid #0e0d1b;
}

.main-table tbody tr:hover {
    background: #f2f2f2;
}

.main-table.small td {
    padding: 10px 5px;
}

.main-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #ccc;
}


.main-table-action-bar,
tfoot td {
    background: #f2f2f2;
    padding: 5px;
    margin: 15px 0;
}

.grid-currency,
th.grid-currency {
    text-align: right;
}

td.grid-currency {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.invalid {
    border: 2px solid red !important;
}

.admin {
    display: none !important;
}

.complete {
    color: rgb(33, 203, 33)
}

.incomplete {
    color: red
}

.main-table .priority {
    background: #c7571f37
}

.main-table tr.priority:hover {
    background: #de6326;
}

.main-table .priority:hover td,
.main-table .priority:hover td a {
    color: #fff;
}

/* Tabs */

.tabs {
    list-style: none;
    margin: 0 0 1.8rem 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

.tabs li {
    display: inline-block;
}

.tabs li a {
    display: block;
    padding: 15px 0;
    margin-right: 15px;
    text-decoration: none;
    font-size: 1em;
    border-bottom: 5px solid rgba(0, 102, 191, 0);
    color: #135e5d;
}

.tabs li a.active {
    border-bottom: 5px solid #c7571f;
    color: #c7571f;
}

.tab-content {
    display: none;
}

.tab-content-1 {
    display: block;
}


/*Project Profile*/
.project-profile-item {
    margin-right: 1.8rem;
}

.project-details-title {
    text-transform: uppercase;
    text-transform: uppercase;
    font-size: .8em;
}

.project-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.project-details-list li:last-child {
    border-bottom: 0;
}

.project-grant-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-grant-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.project-grant-list li:last-child {
    border-bottom: 0;
}

/*ICIP Styles */
.ai-btn-create {
    margin: 1em 0;
}

.btn-outline {
    border: 2px solid #135e5d;
    padding: .5em 1em;
    border-radius: 5px;
    text-decoration: none;
    color: #135e5d;
    background: #fff;
    display: inline-block;
}

.btn-outline:hover {
    color: #fff;
    background: #135e5d;
}


.icip-section-container {
    display: flex;
    flex-wrap: wrap;
}

.icip-section {
    flex: 0 0 31.333333%;
    margin-right: 2%;
    box-sizing: border-box;
    text-align: center;
}

.icip-section:last-child {
    margin-right: 0;
}

.icip-section a {
    text-decoration: none;
    color: #333;
    padding: 60px 15px 15px 15px;
    font-size: 16px;
    display: block;
    height: 100%;
    border: 1px solid #ccc;
    position: relative;
    border-radius: 5px;
}

.icip-section a:hover {
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
}

.icip-section a::before {
    display: block;
    position: absolute;
    top: 15px;
    left: 50%;
    margin-left: -15px;
    content: '';
    width: 1.8rem;
    height: 1.8rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% auto;
    border-radius: 50px;
    -moz-border-radius: 50px;
}

.icip-section a.approve::before {
    background-image: url(../images/icon-approve.png);
    background-color: #135e5d;
}

.icip-section a.pending::before {
    background-image: url(../images/icon-pendng.png);
    background-color: rgba(246, 171, 27, 1);
}

.icip-section a.deny::before {
    background-image: url(../images/icon-deny.png);
}


.survey-section {display:none;}
#suvey-section-1 {display:block;}

.survey-question-container {padding: 1rem; position: relative; border: 1px solid #cccccc81; border-radius: 5px; overflow:hidden; -webkit-box-shadow: 0 0 50px 0 rgba(0,0,0,.05); box-shadow: 0 0 50px 0 rgba(0,0,0,.05); margin-bottom: 15px;}
.survey-question-container legend {position:absolute; top: 0; left: 0; padding: .5rem 1rem; background:#093d3d; color:#fff; font-size: .8em;}
.dependent-question-container {position: relative; padding-left: calc(var(--dependency-depth, 0) * 24px);}
.survey-question-call-out {border: 5px solid #de6326; padding: 1rem; margin-bottom: 20px;}

.form-logic {border: 1px solid #ccc; background:#f2f2f2; padding: 1rem; font-size: .8em; font-style: italic;}
.form-logic::before {content:"Form Logic:"; display:inline-block; padding-right: 7px;}

.questionnaire-lnks li a {position:relative; padding-left: 1.8rem;}
.questionnaire-lnks li a::before {display:block; position:absolute; top: 15px; left: 0; margin-left:0px; content:''; width: 20px; height: 20px; background-repeat: no-repeat; background-position: center center; background-size: 50% auto; border-radius: 50px; -moz-border-radius: 50px;}
.questionnaire-lnks li a.complete::before {background-image:url(../images/icon-approve.png); background-color: #135e5d;}
.questionnaire-lnks li a.pending::before {background-image:url(../images/icon-pendng.png); background-color: rgba(246,171,27,1);}



/*Modal Styles */

.btnai.smallai,
body .input-container .btn.small {
    padding: 7px 15px;
    border: 2px solid var(--color-dark-blue);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.4em;
}

.btnai.smallai:hover,
body .btn.small:hover,
.btnai.smallai:focus,
body .btn.small:focus {
    border: 2px solid var(--color-red);
}

.btnai.smallai .tally {
    margin: -4px 0 -4px 2px;
    padding: 0.1rem 0.3rem;
    border-top: 1px solid var(--color-light-grey);
    border-left: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius-small);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2) inset;
    background: linear-gradient(135deg, #eee, #fff);
    font-size: 0.8rem;
}

.btnai.ai-generator {
    align-self: flex-start;
    gap: 0.3rem;
    width: auto;
    padding: 3px 15px 3px 7px;
}

.btnai.ai-generator img {
    width: 1.6rem;
}

.modal {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 200;
}

.modal-content {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}

.modal-content {
    display: none;
}

.modal-unpaid {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 200;
}

.modal-content-unpaid {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}

.modal-content-unpaid {
    display: none;
}

.reversion-modal {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 200;
}

.reversion-modal-content {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}

.bill-modal {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 200;
}

.bill-modal-content {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}


.correction-modal {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 200;
}

.correction-modal-content {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}

.modal-entity {
    background: #0e0d1ba7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.modal-content-entity {
    background: #fff;
    width: 1000px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -1000px;
    padding: 1.8rem;
    -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, .1);
    overflow: auto;
}

.modal-content-entity {
    display: none;
}

.onboarding-content {
    display: none;
}

.admin {
    display: none !important;
}

/* Sorry for lazy tab classes. */
.tab-header {
    display: flex;
}

.tab-tab {
    flex: 1 0 0;
    padding: 10px;
    background-color: #e8e8e8;
    border: 1px solid #ffffff;
    text-align: center;
    cursor: pointer;
}

.tab-active {
    background-color: #ffffff;
    border-color: #e8e8e8;
}

/* Marking form items not relevant to the current configuration, because just using 'display: none' can be ambiguous in tabbed/modal/etc. contexts. */
.inapplicable {
    display: none;
}

.signer-info-container {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.signer-info {
    padding: 5px 0;
    color: #555;
}

.signer-info.error {
    color: #d9534f;
    font-weight: bold;
}

.container > .tabs {
    display: flex;
    justify-content: flex-start;
    background-color: #f2f2f2;
    padding: 0;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

.container > .tabs a {
    padding: 15px 1.8rem;
    text-decoration: none;
    color: #333;
    display: block;
    border-bottom: 3px solid transparent;
}

.container > .tabs a:hover,
.container > .tabs a.active {
    background-color: #fff;
    border-bottom: 3px solid #c7571f;
}



/* Add these styles for the phase tabs */
.phase-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.phase-tabs a {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 3px solid transparent;
    margin-right: 10px;
}

.phase-tabs a.active {
    border-bottom: 3px solid #c7571f;
    font-weight: bold;
}

.phase-details {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.checkboxes-container div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.checkbox input {
    margin-right: 5px;
}

.budget-table .btn {
    padding: 5px 10px;
    font-size: 16px;
}

/* Update these styles for the stacked phases */
.phase-section {
    margin-bottom: 1.8rem;
    border: 2px solid #555;
    border-radius: 5px;
    box-shadow: none;
    overflow: hidden;
}

.phase-header {
    padding: 15px 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.phase-actions {
    display: flex;
    align-items: center;
    min-height: 36px; /* Fixed height to prevent layout shifts */
}

.phase-details {
    margin-bottom: 0;
    border-top: none !important;
    border-radius: 0 !important;
    padding: 20px;
    background-color: #fff;
}

.budget-items {
    margin-top: 0;
    border-top: none;
    padding: 0 20px 20px 20px;
}

.add-phase {
    margin-bottom: 20px;
    display: inline-block;
}

.remove-phase {
    padding: 5px 10px !important;
    font-size: 14px !important;
}

/* Clean up table styling */
.budget-table {
    margin-top: 15px;
}

.budget-table th {
    background-color: #f5f5f5;
}

.budget-table .btn {
    padding: 5px 10px;
    font-size: 14px;
}

/* Fix forms inside phases */
.phase-section .form-item {
    margin-bottom: 15px;
}

.phase-section .form-item:last-child {
    margin-bottom: 0;
}

/* Simplify checkboxes container */
.checkboxes-container div {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}

.checkbox {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.checkbox input {
    margin-right: 5px;
}

/* ICIP Project details specific tab styling - this won't affect other pages */
#icip-project-details > .tabs {
    display: flex;
    justify-content: flex-start;
    background-color: #f2f2f2;
    padding: 0;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

#icip-project-details > .tabs a {
    padding: 15px 1.8rem;
    text-decoration: none;
    color: #333;
    display: block;
    border-bottom: 3px solid transparent;
}

#icip-project-details > .tabs a:hover,
#icip-project-details > .tabs a.active {
    background-color: #fff;
    border-bottom: 3px solid #c7571f;
}

#icip-project-details .main-item-100 .tabs {
    display: flex;
    flex-direction: column;
    width: 200px;
    float: left;
    border-bottom: none;
    border-right: 1px solid #ccc;
    padding: 0;
    margin: 0;
    margin-right: 20px;
}

#icip-project-details .main-item-100 .tabs li {
    display: block;
    width: 100%;
}

#icip-project-details .main-item-100 .tabs li a {
    display: block;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #ccc;
    border-left: 5px solid transparent;
}

#icip-project-details .main-item-100 .tabs li a.active {
    border-bottom: 1px solid #ccc;
    border-left: 5px solid #c7571f;
    background-color: #f9f9f9;
}

#icip-project-details .main-item-100 > .tab-content {
    margin-left: 220px;
    padding: 15px 15px 15px 0;
}

/* Add these styles for the request info panel */
#request-details {
    margin-bottom: 20px;
}

.read-only-field {
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #ddd;
    min-height: 20px;
    margin-top: 5px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Match the style from the other page */
.side-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    position: relative;
}

#request-diff .changed {
    background-color: #ffff00;
}

a.clicked {
  color: purple !important;
}

.notes-container {
    border: 1px solid black; 
    background-color: lightyellow; 
    width: 100%; 
    padding: 1em; 
    margin-bottom: 1em; 
    display: none;
}


input[type="date"],
input[type="time"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.notes-container {
    border: 1px solid black; 
    background-color: lightyellow; 
    width: 100%; 
    padding: 1em; 
    margin-bottom: 1em; 
    display: none;
}


.tab-header-new {
    display: flex;
    justify-content: space-between; /* puts them on opposite corners */
    align-items: center; /* vertically centers */
    margin-bottom: 15px; /* some spacing before filters */
}

.tab-header-new h2 {
    margin: 0;
    font-size: 1.5em;
}

.sbd-report-title {
    text-align: center;
    width: 100%;
}

.sbd-report-desc {
    text-align: center;
    width: 100%;
}

.sbd-chart-container {
    background-color: #f7f7f7;
    border-radius: 20px;
    height: 500px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sbd-chart-container-tall {
    background-color: #f7f7f7;
    border-radius: 20px;
    height: 920px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sbd-chart-title {
    height: 50px;
    text-align: center;
    font-size: 18px;
    /* Set font size */
    font-weight: bold;
    /* Make the title bold */
    color: #333;
    /* Darker font color */
}

.sbd-chart-footer {
    margin-top: 10px;
    font-size: 10px;
}
