.panel-header-bg-card {
  background-image: url("../img/icons/spot-illustrations/corner-4.e9bba510874b.png");
}

div.dt-buttons {
  float: right;
}

.errorlist {
  color: red;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* .col-form-label::after {
    content: "*";
    color: red;
    padding-right: 4px;
  } */

#table-profiling-questions td:nth-child(1) {
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* #table-profiling-questions td:nth-child(2) {
  max-width: 30ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} */

#id_new_qualification_modal_window_answers_container {
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  border: 1px solid #d8e2ef;
  position: relative;
}
/* #survey-qualification-answers li {
  list-style-type: none;
}
.age-ranges li > div {
  display: inline-block;
}

.age-ranges-fixed-bottom-button {
  position: absolute;
  bottom: 0;
  right: 0;
} */

#id_new_qualification_modal_window_answers_container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#id_new_qualification_modal_window_answers_container label {
  margin-left: 5px;
}

#id_table_surveys tbody tr.no-sampling {
  background-color: rgba(245, 122, 110, 0.3) !important;
}

#id_survey_qualifications_table tbody td.panel-qualification-ellipsis {
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-w-10 {
  width: 10% !important;
}
.panel-w-30 {
  width: 30% !important;
}
.panel-w-60 {
  width: 60% !important;
}

.panel-white-space-normal {
  white-space: normal !important;
}

.select2-container
  .select2-results__option.select2-results__option--highlighted:not(
    .select2-results__option--selected
  ) {
  background-color: #0d6efd !important;
  color: #fff !important;
}

.download-report-icon {
  color: rgb(180, 177, 177);
}

/* Center all td elements in the table with the ID "id_table_surveys" */
#id_table_surveys td {
  text-align: center;
}

/* Align the contents of the second, third, and fourteenth column of the table with the ID "id_table_surveys" to the left */
#id_table_surveys td:nth-child(2),
#id_table_surveys td:nth-child(3),
#id_table_surveys td:nth-child(14) {
  text-align: left;
}

.dataTable {
  width: 100% !important;
}

.pagination {
  --falcon-pagination-padding-x: 0.5rem;
  --falcon-pagination-padding-y: 0.25rem;
  --falcon-pagination-font-size: 0.875rem;
  --falcon-pagination-border-radius: 0.25rem;
}

.panel_combobox_default_option {
  color: rgb(180, 177, 177);
}

.panel_reports_options_spacing {
  margin-right: 30px;
}

.panel_reports_label_from_option_spacing {
  margin-right: 2px;
}

.panel-filters-horizontal-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.select2-selection.select2-selection--single {
  padding-right: 56px !important;
}

.panel-reports-legend {
  font-size: calc(1rem + 0.3vw);
}

.tnr_panel_font_size_09 {
  font-size: 0.9rem !important;
}

.tnr_panel_font_size_08 {
  font-size: 0.8rem !important;
}

#survey_exclusion_div_container_element {
  width: 100%;
  /* border: 1px solid #ccc; */
  padding: 10px;
}

#survey_exclusion_list_element {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
  justify-content: flex-start;
}

#survey_exclusion_list_element li {
  flex: 1 1 300px;
  margin: 5px;
  /* background: #f8f8f8; */
  /* background: #f3d1c920; */
  background: #ffffff;
  text-align: center;
  font-size: 0.9rem;
  /* color: #2c7be5; */
  color: #cf3925;
  /* border: 1px solid #ddd; */
  border: 1px solid #e0bbb660;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); */
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.1);
}

.survey-exclusions-remove-btn {
  margin-left: 10px;
  /* color: #999698; */
  /* color: #e08787; */
  color: #dfa3a3;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
}

.panel-download-report-icon-email-template {
  color: #f5803e;
  font-size: 1.2em;
  margin-right: 8px;
}

.panel-btn-xs {
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 0.2rem;
}

.panel-fs--2 {
  font-size: 0.75rem !important;
}

/*New login (captcha, OTP) page styles*/
/* ==========================================================================
   AUTHENTICATION MODULE STYLING
   ISO 27001 Control A.8.5 (Secure Authentication)
   ISO 27001 Control A.8.9 (Configuration Management)
   ========================================================================== */
/**

* @section Authentication Isolation
* ENFORCE ISOLATION: 
* Using high-specificity selectors to ensure these styles only trigger within 
* the 'flex-center' auth context. This prevents UI cross-contamination with 
* internal dashboard components or data tables.
*/

main#top .container-fluid .row.min-vh-100.flex-center {
  background-color: #f1f4f9 !important;
  font-family: "Poppins", "Open Sans", sans-serif !important;
}

/**
* @section Card Architecture
* SECURITY BY DESIGN: 
* Enforcing specific card geometry to maintain a consistent administrative 
* focal point. Integrity of the authentication viewport is maintained by 
* limiting the max-width and centering the asset.
*/

main#top .row.min-vh-100.flex-center .card.overflow-hidden {
  border-radius: 1rem !important;
  border: none !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  max-width: 850px;
  margin: auto;}

/**
* @section Brand Identity
* BRAND INTEGRITY: 
* Standardizing the branding header to comply with corporate visual identity 
* requirements while maintaining a compact vertical footprint for high
* visibility on mobile administrative devices.
*/

main#top .row.min-vh-100.flex-center .bg-card-gradient {
  background-image: linear-gradient(
    135deg,
    #4285f4 0%,
    #2a69d4 100%
  ) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  min-height: 60px !important;
}

main#top .row.min-vh-100.flex-center .bg-card-gradient .link-light {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin: 0 !important;
  color: #ffffff !important;
}

/* UI DE-CLUTTERING: 
 Removing decorative background shapes that impact the critical 
 authentication path on low-resolution mobile viewports. 
*/

main#top .row.min-vh-100.flex-center .bg-auth-card-shape,
main#top .row.min-vh-100.flex-center .bg-auth-circle-shape,
main#top .row.min-vh-100.flex-center .bg-auth-circle-shape-2 {
  display: none !important;
}

/**
* @section UI Elements & Visual Hierarchy
* USER EXPERIENCE (UX) HARDENING: 
* Softening the title typography and standardizing input heights to provide 
* a professional, low-friction entry point for authorized users.
*/

main#top .row.min-vh-100.flex-center .p-4.p-md-5 {
  padding: 1.5rem !important;
}

/* Semi-bold Slate Gray header to distinguish authentication level */

main#top .row.min-vh-100.flex-center .h3 {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  margin-bottom: 0.75rem !important;
  text-align: left;
}

/* Form field standardization */

main#top .row.min-vh-100.flex-center .mb-3 {
  margin-bottom: 0.6rem !important;
}

main#top .row.min-vh-100.flex-center .form-label {
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  margin-bottom: 0.2rem !important;
  color: #475467 !important;
}

main#top .row.min-vh-100.flex-center .form-control {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.9rem !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 6px !important;
  background-color: #ffffff !important;
}

/**
* @section MFA / Bot Mitigation
* THIRD-PARTY INTEGRATION: 
* Scaling Cloudflare Turnstile to ensure the security challenge is 
* fully visible and interactive without viewport truncation on small devices.
*/

main#top .row.min-vh-100.flex-center .cf-turnstile {
  display: flex !important;
  justify-content: center !important;
  margin: 0.5rem 0 !important;
  transform: scale(0.8);
}

/* Primary Authentication Action Button */

main#top .row.min-vh-100.flex-center .btn-primary {
  background-color: #2f7cf6 !important;
  border: none !important;
  padding: 0.6rem !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  margin-top: 0.5rem !important;
  width: 100% !important;
}

/**

* @section Mobile-Specific Adaptation & Traceability
* RESPONSIVE UI CONTROLS: 
* Optimizing vertical space to ensure 'Sign In' button visibility 
* above the fold on mobile administrative interfaces.
*/

@media (max-width: 768px) {
  main#top .row.min-vh-100.flex-center .bg-card-gradient {
    min-height: 50px !important;
    padding: 0.75rem !important;
  }

  main#top .row.min-vh-100.flex-center .card.overflow-hidden {
    margin-top: 10px !important;
  }

  /**
   * TRACEABILITY: 
   * Styling for system version identifier to support software asset 
   * inventory and security update tracking within the footer.
   */

  #id_panel_version {
    padding-top: 20px !important;
    padding-bottom: 10px !important;
    display: block !important;
    text-align: center !important;
    opacity: 0.8;
    font-size: 0.7rem !important;
  }
}

@media (min-width: 1200px) {
  .panel-reports-legend {
    font-size: 1rem;
  }
}
