.signup-body {
  margin: 0;
  background: url("admin_assets/images/signup/bg-signup.svg") no-repeat center top;
  background-size: cover;
  background-attachment: scroll;
  overflow-y: hidden; /* disable vertical scrolling */
  height: 100vh; /* lock to viewport */
}
/* Sidebar full height */
.sidebar {
  min-height: 100vh; /* Full viewport height */
  height: auto; /* In case content grows */
  flex-shrink: 0; /* Prevent sidebar from shrinking */
}
.font-poppins {
  font-family: "Poppins", sans-serif !important;
}
.bg-btn {
  background-color: #093378;
}
.borders {
  border: 1px solid #093378;
}

.bg-btn:hover {
  background-color: #093378 !important;
  color: #093378;
}

.text-small {
  font-size: x-small;
}


body {
  font-family: "Poppins", sans-serif;
}

.bg-btn {
  background-color: #093378;
}

.bg-btn:hover {
  background-color: #093378;
}

.form-control:focus {
  box-shadow: none;
  border-color: #093378;
}

.form-check-input:checked {
  background-color: #093378;
  border-color: #093378;
}

.text-hello {
  font-size: small;
}

.bg {
  background-color: #f2f2f2;
}
.bg-icon {
  background-color: #eff5fe;
}

.bg-icon-cards {
  background-color: #61c046;
}
.bg-referals {
  background-color: #f0ebd4;
  color: #6c0814;
  font-size: small;
}

.modal-backdrop.show {
  opacity: 0.8 !important; /* darker dim effect */
}

body {
  font-family: "Poppins", sans-serif;
}
.font-poppins {
  font-family: "Poppins", sans-serif;
}
.bg-icon-card {
  background-color: #6c757d;
}

/* Referral Insights Chart Styles */
.referral-insights {
  background: #ffffff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  height: 210px;
  width: 390px;
}

.referral-Generated {
  background: #ffffff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  height: 210px;
  width: 390px;
}

/* Doctor Card Styles */
.doctor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.wave-background {
  height: 120px;
  background: linear-gradient(135deg, #a8d8a8 0%, #c8e6c8 50%, #e8f5e8 100%);
  position: relative;
  overflow: hidden;
}

.wave-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-background svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
}

.edit-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-icon:hover {
  background: rgba(255, 255, 255, 0.3);
}

.profile-image-container {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid white;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: white;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 80px 24px 24px;
  text-align: center;
}

.doctor-specialty {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 24px;
  font-family: "Poppins", sans-serif;
}

.info-row {
  display: flex;
  align-items: center;
  margin: 4px 0; /* optional spacing */
}

.info-label {
  min-width: 140px; /* adjust based on your longest label */
  text-align: left;
}

.info-row span:nth-child(2) {
  margin: 0 8px; /* space around colon */
}

.info-value {
  flex: 1; /* makes sure values align neatly */
  text-align: left;
}

.refer-button {
  width: 100%;
  background: #0d2e72;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.refer-button:hover {
  background: #1e3d6f;
  transform: translateY(-1px);
}

.chart-content {
  display: flex;
  align-items: center;
  gap: 32px;
}

.legend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
}

.legend-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-indicator.under-process {
  background-color: #f1c40f;
}
.legend-indicator.resolved {
  background-color: #61c046;
}
.legend-indicator.pending-approval {
  background-color: #a8cc8c;
}
.legend-indicator.cancelled {
  background-color: #e70303;
}

.legend-text {
  color: black;
  font-size: small;
  flex: 1;
}

.legend-percentage {
  color: #2d3436;
  font-weight: 500;
  margin-left: auto;
  font-size: small;
}

.donut-chart {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.linechart {
  height: 90px;
}

.donut-segment {
  fill: none;
  stroke-width: 28;
}

.donut-segment.pending-approval {
  stroke: #704214;
}

.donut-segment.resolved {
  stroke: #a8cc8c;
}

.donut-segment.under-process {
  stroke: #f1c40f;
}

.donut-segment.cancelled {
  stroke: #e8a5a5;
}

/* Recent Referrals Styles */
.recent-referrals {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.recent-referrals h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.referral-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.referral-item:last-child {
  border-bottom: none;
}

.referral-id {
  color: #0d2e72;
  margin-bottom: px;
}

.referral-type {
  color: #666;
  margin-bottom: 5px;
}

.referral-details {
  color: #888;
  font-size: 14px;
}

/* Recent Activity Styles */
.recent-activity {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  height: 100%;
}

.recent-activity h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.activity-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-text {
  margin-bottom: 5px;
  color: #333;
}

.activity-time {
  color: #888;
  font-size: 14px;
}

@media (max-width: 768px) {
  .chart-content {
    flex-direction: column;
    gap: 24px;
  }

  .donut-chart {
    width: 120px;
    height: 120px;
  }
}

.btng-background {
  background-color: #eff5fe;
  color: #093378;
}
.btn-recieved {
  background-color: #f2f2f2;
}

.table-font {
  font-size: small;
}

.table-button {
  background-color: #f0ebd4;
  color: #90570c;
}

.table-send {
  background-color: #dffeff;
  color: #225460;
}

.btn-resolved {
  background-color: #e0f0d4;
  color: #43900c;
}

.circle-btn {
  width: 18px; /* circle size */
  height: 18px;
  border-radius: 50%; /* makes it round */
  border: 1px solid #6c757d; /* match Bootstrap secondary outline */
  background: transparent;
  color: #6c757d;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.circle-btn:hover {
  background: #6c757d;
  color: #fff;
}
.table tbody tr {
  height: 60px; /* fixed height for all rows */
  vertical-align: middle; /* centers content vertically */
}
.btn-personalinfo {
  background-color: #eff5fe;
  border: 1px solid #093378;
  color: #093378;
}
.circle {
  background-color: #093378;
}

.label-text {
  font-size: small;
  font-weight: 400;
}

.circle-confirm {
  background-color: #43900c;
}



.insurance-fields {
  transition: all 0.3s ease;
}
.btn-sent {
  background-color: #e9ffff;
  color: #225460;
}
.medical-text{
    font-size: small;
    font-weight: 400;
}

.bg-inputs {
  background-color: rgba(243, 243, 243, 0.5); /* 0.5 = 50% opacity */
}
@media (max-width: 992px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden by default */
    width: 250px;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 1050;
  }
  .sidebar.active {
    left: 0; /* Show sidebar */
  }
  .flex-grow-1 {
    margin-left: 0 !important; /* Content takes full width */
  }
}

/* === Dashboard Section Layout Fixes === */
.dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Row containing charts (Referral Insights + Generated) */
.dashboard-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-charts > div {
  flex: 1 1 350px; /* responsive grow/shrink with min width */
}

/* Recent Referrals & Doctor/Activity column */
.dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Desktop: two-column layout */
@media (min-width: 992px) {
  .dashboard-section {
    flex-direction: row;
    align-items: flex-start;
  }

  .dashboard-section > div {
    flex: 1;
  }

  .dashboard-main {
    flex: 1;
  }
}

/* Chart cards consistency */
.referral-insights,
.referral-Generated {
  width: 100%;     /* take full width of parent */
  min-height: 210px;
}

/* Recent Referrals & Activity should stretch full height */
.recent-referrals,
.recent-activity {
  flex: 1;
  width: 100%;
}

/* Doctor card alignment */
.doctor-card {
  width: 100%;
  max-width: 100%; /* prevent overflow */
}


/* Full-page background - Sign In Page */
.signup-bg {
  min-height: 100vh;
  background: url("../images/signup/bg-signup.svg") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 15px 50px;
  overflow-y: auto; /* Allow page-level scrolling */
}

/* Sign in form container */
.signup-bg .row {
  max-width: 850px;
  max-height: none; /* Remove height restriction */
  width: 100%;
  margin: auto;
}

/* Make the right form section scrollable for sign in */
.signup-bg .col-lg-7 {
  max-height: 85vh; /* Limit height to viewport */
  overflow-y: auto; /* Enable scrolling for form content */
  overflow-x: hidden;
  padding: 2rem 1.5rem;
}

/* Custom scrollbar for sign in form section */
.signup-bg .col-lg-7::-webkit-scrollbar {
  width: 8px;
}

.signup-bg .col-lg-7::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.signup-bg .col-lg-7::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.signup-bg .col-lg-7::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
  .signup-bg {
    padding: 80px 10px 30px;
    align-items: flex-start;
  }

  .signup-bg .row {
    max-width: 100% !important;
  }

  .signup-bg .col-lg-7 {
    max-height: calc(100vh - 100px);
  }
}

/* Handle small and medium height screens for sign in */
@media (max-height: 900px) {
  .signup-bg {
    align-items: flex-start;
    padding-top: 90px;
  }

  .signup-bg .col-lg-7 {
    max-height: calc(100vh - 120px);
  }
}

@media (max-height: 700px) {
  .signup-bg {
    padding-top: 80px;
    padding-bottom: 20px;
  }
  
  .signup-bg .col-lg-7 {
    max-height: calc(100vh - 50px);
    padding: 1.5rem 1.5rem;
  }

  .left-signup h6 {
    font-size: 1.2rem;
  }

  .left-signup p {
    font-size: 0.9rem;
  }
}

@media (max-height: 600px) {
  .signup-bg {
    padding-top: 70px;
    padding-bottom: 10px;
  }
  
  .signup-bg .col-lg-7 {
    max-height: calc(100vh - 80px);
    padding: 1rem 1.5rem;
  }
}

/* Mobile specific for sign in page */
@media (max-width: 576px) {
  .signup-bg .col-lg-7 {
    padding: 1.5rem 1rem;
    max-height: calc(100vh - 90px);
  }

  .signup-bg .col-lg-7::-webkit-scrollbar {
    width: 10px;
  }
}

@media (max-width: 400px) {
  .signup-bg {
    padding: 70px 5px 20px;
  }
  
  .signup-bg .row {
    border-radius: 0.5rem !important;
  }
  
  .signup-bg .col-lg-7 {
    padding: 1rem 0.75rem;
    max-height: calc(100vh - 85px);
  }
}

/* Registration page background - CRITICAL: Must allow scrolling */
.signup-bg-reg {
  min-height: 100vh;
  background: url("../images/signup/bg-signup.svg") no-repeat center top;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 15px 50px;
  overflow-y: auto; /* Allow page-level scrolling */
}

/* The form container - Add scrollbar when needed */
.signup-bg-reg .row {
  max-width: 850px;
  max-height: none; /* Remove height restriction */
  width: 100%;
  margin: auto;
}

/* Make the right form section scrollable */
.signup-bg-reg .col-lg-7 {
  max-height: 85vh; /* Limit height to viewport */
  overflow-y: auto; /* Enable scrolling for form content */
  overflow-x: hidden;
  padding: 2rem 1.5rem;
}

/* Custom scrollbar for form section */
.signup-bg-reg .col-lg-7::-webkit-scrollbar {
  width: 8px;
}

.signup-bg-reg .col-lg-7::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.signup-bg-reg .col-lg-7::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.signup-bg-reg .col-lg-7::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .signup-bg-reg {
    padding: 80px 10px 30px;
    align-items: flex-start; /* Align to top for better mobile experience */
  }
  
  .signup-bg-reg .row {
    max-width: 100% !important;
    margin: 0 auto;
  }

  .signup-bg-reg .col-lg-7 {
    max-height: calc(100vh - 100px); /* Leave space for navbar and padding */
  }
}

/* Handle small and medium height screens */
@media (max-height: 900px) {
  .signup-bg-reg {
    align-items: flex-start;
    padding-top: 90px;
  }

  .signup-bg-reg .col-lg-7 {
    max-height: calc(100vh - 120px);
  }
}

@media (max-height: 700px) {
  .signup-bg-reg {
    padding-top: 80px;
    padding-bottom: 20px;
  }
  
  .signup-bg-reg .col-lg-7 {
    max-height: calc(100vh - 50px);
  }

  /* Reduce padding for shorter screens */
  .signup-bg-reg .col-lg-7 {
    padding: 1.5rem 1.5rem;
  }

  /* Compact form elements slightly */
  .mb-1 {
    margin-bottom: 0.5rem !important;
  }
}

/* Extra small screens and very short viewports */
@media (max-height: 600px) {
  .signup-bg-reg {
    padding-top: 70px;
    padding-bottom: 10px;
  }
  
  .signup-bg-reg .col-lg-7 {
    max-height: calc(100vh - 80px);
    padding: 1rem 1.5rem;
  }

  /* Further compact spacing */
  .mb-1, .mb-2 {
    margin-bottom: 0.4rem !important;
  }

  .mt-3 {
    margin-top: 0.5rem !important;
  }
}

/* Mobile specific scrolling adjustments */
@media (max-width: 576px) {
  .signup-bg-reg .col-lg-7 {
    padding: 1.5rem 1rem;
    max-height: calc(100vh - 90px);
  }
  
  /* Adjust form elements for mobile */
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.3rem !important;
  }
  
  .form-control,
  .form-select {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
  
  /* Adjust heading sizes */
  h5 {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Make checkbox label more readable */
  .form-check-label {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Increase scrollbar size on mobile for better usability */
  .signup-bg-reg .col-lg-7::-webkit-scrollbar {
    width: 10px;
  }
}

/* Very small screens */
@media (max-width: 400px) {
  .signup-bg-reg {
    padding: 70px 5px 20px;
  }
  
  .signup-bg-reg .row {
    border-radius: 0.5rem !important;
  }
  
  .signup-bg-reg .col-lg-7 {
    padding: 1rem 0.75rem;
    max-height: calc(100vh - 85px);
  }
  
  h5 {
    font-size: 1.2rem !important;
  }
  
  .form-label,
  .form-check-label {
    font-size: 0.8rem;
  }
}


/* Left section */
.left-signup {
  background: url("../images/signup/left-signup.svg") no-repeat center center;
  background-size: cover;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.left-signup h6 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.left-signup p {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  line-height: 1.5;
}


/* Footer responsiveness */
@media (max-width: 768px) {
  footer .container-xxl {
    padding: 2rem 1rem;
  }
  
  footer .w-80 {
    width: 100% !important;
  }
  
  footer .fw-medium {
    font-size: 0.9rem;
  }
  
  footer .small {
    font-size: 0.8rem;
  }
}

/* Prevent horizontal scroll on entire page */
body {
  overflow-x: hidden;
  overflow-y: auto; /* Allow vertical scrolling */
}

/* Ensure container doesn't cause horizontal scroll */
.container-fluid,
.row {
  max-width: 100%;
  overflow-x: hidden;
}

/* Add smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Alert messages responsiveness */
@media (max-width: 576px) {
  .alert {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  
  .btn-close {
    font-size: 0.7rem;
  }
}

/* Ensure section doesn't add unwanted constraints */
section.position-relative {
  overflow: visible;
}

/* ---- stepper styles ---- */
    .stepper {
      cursor: pointer;
      display: flex;
      align-items: center;
      padding: 0.5rem 0.75rem;
      border-radius: 0.5rem;
      border: 1px solid #ccc;
      transition: 0.2s ease-in-out;
    }

    .stepper.active {
      border: 1px solid #eff5fe;
      background-color: #eff5fe;
      color: #093378;
      font-weight: 500;
      border: 1px solid #093378;
    }

    .stepper.active .circle {
      background-color: #0b5ed7;
      color: #fff;
    }

    .stepper.completed {
      border: 1px solid #198754;
      background-color: #fff;
      color: #000;
      font-weight: 500;
    }

    .stepper.completed .circle {
      background-color: #198754;
      color: #fff;
    }

    .stepper.inactive {
      border: 1px solid #ccc;
      background-color: #fff;
      color: #6c757d;
    }

    .stepper.inactive .circle {
      border: 1px solid #6c757d;
      color: #6c757d;
      background-color: #fff;
    }

    .circle {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ---- dynamic sections ---- */
    .insurance-fields,
    #radiologySection,
    #labSection,
    #consultationSection,
    #procedureSection {
      display: none;
    }


    /* Remove the green checkmark icon */
input.is-valid,
select.is-valid,
textarea.is-valid {
  background-image: none !important;
  padding-right: .75rem !important; /* reset padding since bootstrap adds space for the icon */
}

/* Keep the green border */
input.is-valid,
select.is-valid,
textarea.is-valid {
  border-color: #198754 !important; /* Bootstrap's green */
  box-shadow: none !important; /* remove glowing shadow if you don't want it */
}

/* Fix for invalid-feedback display when input is inside input-group */
.input-group .is-invalid ~ .invalid-feedback,
.input-group:has(.is-invalid) + .invalid-feedback {
    display: block;
}

/* Alternative approach for older browsers that don't support :has() */
.input-group + .invalid-feedback {
    display: none;
}

.input-group:has(.is-invalid) + .invalid-feedback,
.input-group .is-invalid ~ .invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

  .card .position-relative h5 {
    padding-right: 120px; /* prevents overlap with the link */
  }
  .card a.position-absolute {
    right: 0.5rem; /* closer or farther from edge */
  }

/* Active/selected style */
.dashboard-active {
  background-color: #e9f2ff; /* light blue background */
  border-right: 3px solid #33b864; /* green line */
  color: #000;
  margin-right: -16px; /* extend to the sidebar's right edge */
  margin-left: -16px;  /* extend to the sidebar's left edge */
  padding-left: 36px; /* adjust to align icon neatly after margin shift */
}

.table-responsive .table th
{
  font-weight: 500;
}


.page-title h4
{
  font-weight: 600;
  font-size: larger
}

.page-title h6
{
  font-weight: 200;
  font-size: small;
}

/* Enhanced Recent Activity Styling */
.recent-activity {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.recent-activity h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.activity-item {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background-color 0.2s ease;
}

.activity-item:hover {
  background-color: #f8f9fa;
}

.activity-item:last-child {
  margin-bottom: 0;
}

.activity-icon-wrapper {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e3f2fd;
  border-radius: 50%;
}

.activity-icon-wrapper i {
  font-size: 1.1rem;
}

.activity-content {
  flex: 1;
  min-width: 0;
}

.activity-text {
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 4px;
  line-height: 1.4;
}

.activity-text strong {
  color: #2c3e50;
  font-weight: 600;
}

.activity-time {
  font-size: 0.8rem;
  color: #6c757d;
}


/* allow dropdowns to escape scroll container by default */
.table-responsive {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* make sure dropdown sits above everything */
.table-responsive .dropdown-menu {
  position: absolute !important;
  z-index: 2050 !important; /* slightly above Bootstrap modals (1050) */
}

/* keep table layout intact */
.table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
}

/* small safety: don't force a vertical scrollbar */
.card-body {
  overflow-y: visible;
}

.dropdown,
.dropdown-center,
.dropend,
.dropstart,
.dropup,
.dropup-center {
    position: static !important;
}

.nav-link {
  color: #000000 !important;
  font-weight: 400;
}


