/* Mobody {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: url('/static/images/BCGR_BUBBLES.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;ypography and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: url("../images/BCGR_BUBBLES.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #495057;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Enhanced Card Design */
.jumbotron {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(139, 0, 81, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 48px;
  margin-bottom: 2rem;
  border: 1px solid rgba(139, 0, 81, 0.1);
  opacity: 1;
}

/* Modern Button Styles */
.btn {
  margin: 5px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px 24px;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%);
  color: white;
  border: 1px solid rgba(139, 0, 81, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a91464 0%, #c71876 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 0, 81, 0.3);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, #F0AB00 0%, #ffc107 100%);
  color: #212529;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #e09900 0%, #e0a800 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 171, 0, 0.3);
  color: #212529;
}

.btn-label {
  position: relative;
  left: -12px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px 0 0 3px;
}

/* Form Styling */
label, input, span.helptext {
   display: block;
}

span.helptext {
   display: none;
}

/* Enhanced Form Controls */
.form-control {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: white;
}

.form-control:focus {
  border-color: #8b0051;
  box-shadow: 0 0 0 0.2rem rgba(139, 0, 81, 0.15);
  outline: none;
}

.form_input_border {
  border: 1px solid #8b0051 !important;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.form_input_border:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 0, 81, 0.15);
  border-color: #a91464 !important;
}

/* Enhanced Navigation */
.navbar {
  border-bottom: 3px solid #8b0051;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Enhanced Tables */
table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 0, 81, 0.1);
}

.table-hover > tbody > tr:hover {
  background: linear-gradient(135deg, rgba(139, 0, 81, 0.05) 0%, rgba(169, 20, 100, 0.05) 100%);
  transform: scale(1.01);
  transition: all 0.3s ease;
}

/* Enhanced Cards and Containers */
.modal-content {
  border-radius: 16px;
  border: 1px solid rgba(139, 0, 81, 0.1);
  box-shadow: 0 20px 60px rgba(139, 0, 81, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

/* Enhanced Checkboxes and Radio Buttons */
.form-check-input {
  transform: scale(1.5) !important;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%);
  border-color: #8b0051 !important;
  background-color: #690041 !important;
  box-shadow: 0 4px 12px rgba(139, 0, 81, 0.3);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 0, 81, 0.15);
}

/* Enhanced Pagination */
.page-link {
  color: #8b0051;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 0 2px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.page-link:hover {
  background: linear-gradient(135deg, rgba(139, 0, 81, 0.1) 0%, rgba(169, 20, 100, 0.1) 100%);
  border-color: #8b0051;
  color: #8b0051;
  transform: translateY(-2px);
}

li.paginate_button.page-item.active .page-link {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%);
  border-color: #8b0051;
  color: white;
  box-shadow: 0 4px 12px rgba(139, 0, 81, 0.3);
}

/* Layout and Utility Classes */
.wrapper {
  margin-top: 5vh;
}

.content-margine {
  margin-left: 1em;
  margin-right: 1em;
}

.hidden {
  display: none;
}

.uneditable {
  pointer-events: none;
  opacity: 0.6;
}

.clicked {
  background: linear-gradient(135deg, #F0AB00 0%, #ffc107 100%);
  color: #212529;
  box-shadow: 0 4px 12px rgba(240, 171, 0, 0.3);
}

#center-logo {
  width: 15%;
}

/* Enhanced Offcanvas */
#offcanvas {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%);
  color: white;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Enhanced Menu Links */
#menu .nav-link,
#menu .nav-link:hover,
#menu .nav-link:active {
   color: white;
   transition: all 0.3s ease;
}

#menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transform: translateX(4px);
}

/* Enhanced Radio Button Groups */
.scrorring_radio {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.scrorring_radio_popup {
  margin-right: 2em;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.scrorring_radio_popup:checked {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%) !important;
  border-color: #8b0051 !important;
  box-shadow: 0 4px 12px rgba(139, 0, 81, 0.3);
}

/* Enhanced Date Picker */
.datepicker .day.active, .datepicker .month.active, .datepicker .year.active {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%) !important;
  border-color: #8b0051 !important;
}

/* Enhanced Date Input */
#id_InitiativeNameDescriptionForm-project_completion_date {
  width: 20%;
}

input[type="date"] {
  width: 180px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  padding: 12px 16px;
}

/* Enhanced Modal and Interactive Elements */
.custom-modal-width {
  width: 80%;
}

.hover-row:hover {
  cursor: pointer;
  border-color: #8b0051;
  background: linear-gradient(135deg, rgba(139, 0, 81, 0.05) 0%, rgba(169, 20, 100, 0.05) 100%);
  transform: translateY(-2px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(139, 0, 81, 0.15);
}

.add_comment:hover, .add_file:hover {
  cursor: pointer;
  color: #8b0051;
  transition: all 0.3s ease;
}

/* Enhanced Icons and Visual Elements */
#vh-icon {
  height: 1.5em;
  width: auto;
  aspect-ratio: auto;
  margin-right: 6.5em !important;
  padding-bottom: 8px !important;
  filter: drop-shadow(0 2px 4px rgba(139, 0, 81, 0.2));
  background-color: transparent !important;
}

/* Enhanced Background Colors */
.bg-primary {
  background: linear-gradient(135deg, #8b0051 0%, #a91464 100%) !important;
}

/* Enhanced Tables and Data Display */
.initiative_implementations_table {
  display: none;
}

.dataTables_filter {
  float: right;
}

.dataTables_wrapper table.dataTable tbody td:nth-child(2) {
  min-width: 95px;
}

/* Enhanced Button Collections */
.dt-button {
  position: relative;
  z-index: 1;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Enhanced DataTable Button Collections */
.dt-button-collection .dt-button {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #495057;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin: 4px;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.dt-button-collection .dt-button:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dt-button-collection .dt-button.active {
  background: linear-gradient(135deg, #F0AB00 0%, #ffc107 100%);
  color: #212529;
  box-shadow: 0 4px 12px rgba(240, 171, 0, 0.3);
}

.dt-button-collection {
  position: relative;
  background: white;
  border: 1px solid rgba(139, 0, 81, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 16px;
  z-index: 2;
}

/* Enhanced Image Display */
#img-implementations-types {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#img-implementations-types:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Enhanced Status Background Colors */
.purple_background {
  background: linear-gradient(135deg, #420028 0%, #5a0038 100%) !important;
  width: 250px;
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(66, 0, 40, 0.3);
}

.purple_yellow_background {
  background: linear-gradient(135deg, #830051 0%, #a50063 100%) !important;
  width: 250px;
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(131, 0, 81, 0.3);
}

.magenta_background {
  background: linear-gradient(135deg, #D0006F 0%, #e6007e 100%) !important;
  width: 250px;
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(208, 0, 111, 0.3);
}

.teal_background {
  background: linear-gradient(135deg, #9DB0AC 0%, #b3c4c0 100%) !important;
  width: 250px;
  border-radius: 12px;
  padding: 12px 16px;
  color: #2d3436;
  box-shadow: 0 4px 12px rgba(157, 176, 172, 0.3);
}

.gray_green_background {
  background: linear-gradient(135deg, #6F8A85 0%, #7d9691 100%) !important;
  width: 250px;
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  box-shadow: 0 4px 12px rgba(111, 138, 133, 0.3);
}

/* Enhanced Form Elements */
.saving_form_label {
  display: inline;
  font-weight: 600;
  color: #495057;
}

.input-required {
  border: 2px solid #dc3545 !important;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Enhanced Loading Spinner */
.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
  box-sizing: border-box;
}

.lds-spinner {
  color: #8b0051;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #8b0051;
}

@keyframes lds-spinner {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

/* Enhanced Charts and Graphs */
#idea_basic_graph {
  background: linear-gradient(135deg, #F8DC9A 0%, #f5d784 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(248, 220, 154, 0.3);
}

#in-progress_basic_graph {
  background: linear-gradient(135deg, #D0006F 0%, #e6007e 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(208, 0, 111, 0.3);
}

#completed_basic_graph {
  background: linear-gradient(135deg, #9DB0AC 0%, #b3c4c0 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(157, 176, 172, 0.3);
}

#basic_stats_jumbotron {
  max-height: 17em;
}

.chart-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.lds-spinner div:after {
  box-sizing: border-box;
}
.lds-spinner {
  color: currentColor;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3.2px;
  left: 36.8px;
  width: 6.4px;
  height: 17.6px;
  border-radius: 20%;
  background: currentColor;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#update_ss_popup {
  width: 10em;
  margin-left: 45% !important;
  margin-top: 15% !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  }

.bi-list{
  padding-left: 0.4em;
}

#btn-close-manu{
  color: #fff !important;
}

.nav-pills {
  padding-left: 1em;
}

.underline-text {
  text-decoration: underline;
}

.bold-label {
  font-weight: bold;
}

.none-border-input {
  border: none;
}

.saving_form_input {
  border-bottom: 1px solid #000 !important;
}

.saving_value_input{
  max-width: 3em;
}

.saving_table_tr {
  padding-top: 3em !important;
}

.custom-modal {
  width: auto;
  max-width: 95%; /* Adjust this value as needed */
  margin: 1.75rem auto;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.custom-modal .modal-content {
  width: auto;
  max-width: none;
}

#saving_form {
  overflow-x: auto; /* Ensure horizontal scrolling if content overflows */
}

.text-center {
  text-align: center;
}

.green_input {
  background-color: #DAEDE1 !important;
  max-width: 3em;
  border: 1px solid lightgray !important;
}

.green_input_data {
  border: 1px solid lightgray !important;
  background-color: #DAEDE1 !important;
  max-width: 9em;
}

.modal-header{
  text-align: center !important;
}

.modal-body{
  text-align: center !important;
}

.training_video {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid #ededed;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  margin: 1em;
  max-width: 25em;
  border-radius: 5px;
}
.training_video img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}

.help_page_pics{
  margin: 3em;
}

.keys_help_page{
  color: #D52C86 !important;
}

.element_centered {
  text-align: center;
}

#overdue_basic_graph{
  background-color: #F0AB00;
}

#idea_basic_graph{
  background-color: #F8DC9A;
}

#in-progress_basic_graph{
  background-color: #D0006F;
}

#completed_basic_graph{
  background-color: #9DB0AC;
}

#basic_stats_jumbotron{
  max-height: 17em;
}

.chart-container {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Enhanced Container Layout */
#search-container {
  text-align: left;
  margin-bottom: 16px;
  padding-right: 16px;
}

#buttons-container {
  text-align: right;
  margin-bottom: 16px;
}

#buttons-container button {
  margin-left: 8px;
}

#info-container {
  text-align: left;
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#pagination-container {
  text-align: right;
  position: sticky;
  bottom: 0;
  right: 0;
  background: white;
  z-index: 1000;
  padding: 16px;
  margin-top: 16px;
  border-radius: 12px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced DataTable Elements */
.dataTables_paginate {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.dataTables_info {
  display: block;
  margin-top: 16px;
  color: #6c757d;
  font-weight: 500;
}

/* Enhanced Filter Elements */
.filter-issue.selected {
  background: linear-gradient(135deg, #F0AB00 0%, #ffc107 100%);
  color: #212529;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(240, 171, 0, 0.3);
  transition: all 0.3s ease;
}

.filter-issue {
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.filter-issue:hover {
  background: linear-gradient(135deg, rgba(139, 0, 81, 0.1) 0%, rgba(169, 20, 100, 0.1) 100%);
  border-color: #8b0051;
  transform: translateY(-2px);
}

/* Enhanced Specific Buttons */
#update_checklist_review {
  background: linear-gradient(135deg, #F0AB00 0%, #ffc107 100%);
  color: #212529;
  border: 1px solid rgba(240, 171, 0, 0.2);
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#update_checklist_review:hover {
  background: linear-gradient(135deg, #e09900 0%, #e0a800 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 171, 0, 0.3);
}

/* Enhanced Modal Centering */
.centered-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center !important;
  background: rgba(139, 0, 81, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
  .jumbotron {
    padding: 24px;
    margin: 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .form-control, .form_input_border {
    padding: 10px 14px;
    font-size: 14px;
  }

  .modal-content {
    padding: 16px;
  }
}

#close_manu_x{
  float: right;
}

.datepicker .day.active, .datepicker .month.active, .datepicker .year.active {
  background-color: #690041 !important;
}

.plot{
  flex: 1;
  margin-right: 10px;
  min-width: 0;
}

.plot_row {
  background: white;
  display: flex;
  justify-content: space-between;
}

#test_env_banner {
  background: red;
  color: white;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  width: 100%;
  text-align: center;
}

/* Navigation List Styling */
.nav-list-item {
  list-style-type: none;
}

.nav-list-subitem {
  list-style-type: none;
  margin-left: 15px;
}

.nav-list-negative-margin {
  list-style-type: none;
  margin-left: -30px;
}

.site_menu_disp_none {
  display: none;
  margin-left: 20px;
}

#dash{
  height:100%;
  width:100%;
  padding:0px;
}

.progress_update_btn{
  display: flex;
  align-items: center;
}

#dash_container{
  top: 6em;
}

/* Enhanced Table Responsiveness and Overflow Handling */
/* DataTable Container Overflow Handling */
#get_all_initiatives_table_container {
  overflow-x: auto;
  margin: 0 -15px; /* Negative margin to use full jumbotron width */
  padding: 0 15px; /* Restore padding */
}

/* DataTable Wrapper Responsive Settings */
.dataTables_wrapper {
  overflow-x: auto;
}

/* Ensure table doesn't break layout */
#all_initiatives_read {
  min-width: 100%;
  width: max-content; /* Allow table to expand beyond container */
}

/* Table cell minimum widths for readability */
#all_initiatives_read th,
#all_initiatives_read td {
  white-space: nowrap;
  min-width: 80px;
}

/* Specific column widths for better layout */
#all_initiatives_read th:nth-child(1),
#all_initiatives_read td:nth-child(1) { /* Show details */
  min-width: 120px;
}

#all_initiatives_read th:nth-child(2),
#all_initiatives_read td:nth-child(2) { /* ID */
  min-width: 80px;
}

#all_initiatives_read th:nth-child(3),
#all_initiatives_read td:nth-child(3) { /* Initiative name */
  min-width: 200px;
  white-space: normal;
}
  .date-range-container {
    display: flex;
    gap: 4px;
  }

  .date-filter {
    padding: 2px 4px;
    font-size: 12px;
    height: 30px; /* Match the height of regular inputs */
  }
