/* dashboard css */

*,
body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3,
th,
.nunito {
  font-family: "Nunito", sans-serif;
}

:root {
  --orange: #f97316;
  --orange2: #ea580c;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  --text: #1f2937;
  --sub: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 40px;
}

/* Page Title */
.page-title {
  font-family: "Nunito", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.3px;
}

.page-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 24px;
}

.page-sub-line {
  height: 1.5px;
  width: 120px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-border),
    transparent
  );
}

.page-sub-text {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sub);

  /* Responsive font */
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* Tablet */
@media (min-width: 640px) {
  .page-sub-text {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .page-sub-text {
    font-size: 12px;
    letter-spacing: 0.25em;
  }
}

/* Toggle */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.toggle-group {
  display: flex;
  background: #fff;
  border: 1.5px solid var(--orange-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

.toggle-btn {
  padding: 10px 52px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #9ca3af;
  text-decoration: none;
  display: block;
}

.toggle-btn.active {
  background: var(--orange);
  color: white;
}

.toggle-btn:hover:not(.active) {
  background: #fff7ed;
  color: var(--orange2);
}

/* Action buttons row */
.action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff7ed, #fff3e4, #fff7ed);
  border: 2px solid var(--orange-border);
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.08);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  cursor: pointer;
}

.action-btn svg {
  color: var(--orange);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.action-btn:hover {
  border-color: var(--orange);
  color: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.18);
}

/* Nav buttons grid */
.nav-grid-wrap {
  background: linear-gradient(135deg, #fff7ed, #fff3e4, #fff7ed);
  border: 2px solid var(--orange-border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 18px;
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.06);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.nav-grid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 10px;
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  line-height: 1.45;
  transition: all 0.25s;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-grid-btn:hover {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.15);
}

/* Brand Select */
.brand-select {
  width: 100%;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  appearance: none;
}

.brand-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

/* Table */
.tbl-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 60%, #fdba74 100%);
}

thead th {
  font-family: "Nunito", sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: white;
  padding: 17px 18px;
  text-align: center;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}

tbody tr:hover {
  background: #fff7f0;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 15px 18px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
}

.pob-num {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--orange);
  font-size: 17px;
}

.empty-state td {
  padding: 48px;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  color: #9ca3af;
  font-size: 14px;
}

/* Pagination */
.pg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}

.pg-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  background: white;
  text-decoration: none;
  transition: all 0.15s;
}

.pg-btn:hover:not(.active):not(.disabled) {
  background: #fff7ed;
  border-color: var(--orange-border);
  color: var(--orange2);
}

.pg-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

.pg-btn.disabled {
  color: #d1d5db;
  pointer-events: none;
}

/* add blade css */

*,
body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #000000;
  --orange: #f07c35;
  --orange2: #e8692a;
  --orange-light: #fff5ee;
  --orange-border: #fde0c4;
  --border: #e2e8ef;
  --border-dashed: #d1d9e6;
  --text: #2d3a4a;
  --sub: #8a9bb0;
  --gray: #f7f8fa;
}

html,
body {
  background: #f4f6fa;
  min-height: 100%;
}

body {
  background: linear-gradient(
    135deg,
    #fff8f0 0%,
    #fff3e8 20%,
    #fef6ec 40%,
    #fff9f2 60%,
    #fef0e0 80%,
    #fff5ea 100%
  );
  min-height: 100vh;
}

/* Subtle radial warmth overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 10% 0%,
      rgba(251, 146, 60, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 100%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 60% at 50% 50%,
      rgba(255, 237, 213, 0.3) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.page-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* Card */
.form-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-card-header {
  padding: 26px 36px 20px;
  border-bottom: 1px solid var(--border);
}

.form-card-title {
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.form-card-title-line {
  width: 52px;
  height: 3px;
  background: var(--orange);
  border-radius: 4px;
  margin-top: 7px;
}

.form-body {
  padding: 24px 36px 32px;
}

/* Field rows */
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.form-label-col {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-arrow {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  font-family: "Nunito", sans-serif;
  flex-shrink: 0;
}

.form-label {
  font-family: "Nunito", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}

.form-req {
  color: #ef4444;
}

/* Inputs */
.fi {
  width: 100%;
  background: white;
  border: 1.5px dashed var(--border-dashed);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
  font-family: "Inter", sans-serif;
}

.fi::placeholder {
  color: #b0bec9;
  font-weight: 400;
}

.fi:focus {
  border-color: var(--orange);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(240, 124, 53, 0.1);
  background: white;
}

select.fi {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: white;
  padding-right: 36px;
}

.select-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.not-list-btn {
  padding: 10px 18px;
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange2);
  background: white;
  border: 1.5px solid var(--orange-border);
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}

.not-list-btn:hover {
  background: var(--orange-light);
}

/* File input */
.file-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px dashed var(--border-dashed);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.file-choose-btn {
  padding: 10px 16px;
  background: #f1f3f6;
  border-right: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-family: "Nunito", sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.file-name {
  padding: 10px 16px;
  font-size: 13px;
  color: #b0bec9;
  font-weight: 400;
}

.file-wrap input[type="file"] {
  display: none;
}

/* Calendar */
.cal-wrap {
  position: relative;
}

.cal-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sub);
  font-size: 13px;
  pointer-events: none;
}

.calendar-popup {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  background: white;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  width: 250px;
}

.calendar-popup.active {
  display: block;
}

.calendar-header {
  background: var(--orange);
  color: white;
  padding: 12px;
  text-align: center;
}

.calendar-header h3 {
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  font-weight: 800;
  margin: 0;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--gray);
}

.calendar-nav button {
  background: white;
  border: 1.5px solid var(--border);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: var(--navy);
}

.calendar-nav button:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.calendar-nav span {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--navy);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 10px 4px;
  background: var(--gray);
}

.calendar-weekdays span {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--sub);
  font-family: "Nunito", sans-serif;
  padding: 4px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 8px 10px 12px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  transition: all 0.15s;
  color: var(--text);
}

.calendar-day:hover:not(.disabled):not(.other-month) {
  background: var(--orange-light);
}

.calendar-day.other-month {
  color: #d1d9e6;
  cursor: default;
}

.calendar-day.disabled {
  color: #e2e8ef;
  cursor: not-allowed;
}

.calendar-day.selected {
  background: var(--orange);
  color: white;
}

.calendar-day.today {
  border: 2px solid var(--orange);
  font-weight: 800;
}

.calendar-footer {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  background: var(--gray);
}

.calendar-footer button {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-today {
  background: white;
  color: var(--orange);
  border: 1.5px solid var(--orange-border);
}

.btn-today:hover {
  background: var(--orange-light);
}

.btn-confirm {
  background: var(--orange);
  color: white;
  border: none;
}

.btn-confirm:hover {
  background: var(--orange2);
}

/* Submit */
.submit-row {
  text-align: center;
  margin-top: 24px;
}

.submit-btn {
  padding: 13px 56px;
  background: var(--orange);
  color: white;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(240, 124, 53, 0.35);
  transition: all 0.2s;
}

.submit-btn:hover {
  background: var(--orange2);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(240, 124, 53, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

/* Select2 overrides */
.select2-container--default .select2-selection--single {
  background: white !important;
  border: 1.5px dashed var(--border-dashed) !important;
  border-radius: 10px !important;
  height: 44px !important;
  padding: 6px 12px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 30px !important;
  color: var(--text) !important;
  font-size: 13.5px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 44px !important;
}

.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: var(--orange) !important;
  border-style: solid !important;
  box-shadow: 0 0 0 3px rgba(240, 124, 53, 0.1) !important;
}

.select2-dropdown {
  border-radius: 10px !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.select2-results__option--highlighted {
  background: var(--orange-light) !important;
  color: var(--orange2) !important;
}

/* Keep desktop same */
.doctor-responsive {
  display: flex;
  gap: 10px;
  align-items: center;
}

.select-flex {
  flex: 1;
}

.not-list-btn.active {
  color: white;
  background: var(--orange);
  box-shadow: 0 4px 16px rgba(240, 124, 53, 0.35);
}

/* 🔥 Mobile Fix */
@media (max-width: 600px) {
  .doctor-responsive {
    flex-direction: column;
    align-items: stretch;
  }

  .doctor-responsive .select-flex {
    width: 100%;
  }

  .doctor-responsive .not-list-btn {
    width: 100%;
    height: 44px;
    text-align: center;
  }
}

/* login blade css */

* {
  font-family: "Nunito", sans-serif;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-18px) scale(1.04);
  }
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }

  100% {
    background-position: 400px 0;
  }
}

.card {
  animation: fadeUp 0.7s cubic-bezier(0.22, 0.68, 0, 1.2) both;
}

.blob1 {
  animation: floatBlob 7s ease-in-out infinite;
}

.blob2 {
  animation: floatBlob 9s ease-in-out infinite 1.5s;
}

.blob3 {
  animation: floatBlob 6s ease-in-out infinite 3s;
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 10px 25px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.glass-card:hover {
  box-shadow:
    0 6px 10px rgba(0, 0, 0, 0.05),
    0 18px 35px rgba(0, 0, 0, 0.09),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.input-field {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 185, 100, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
  transition: all 0.25s ease;
  outline: none;
}

.input-field::placeholder {
  color: #aaa;
  font-weight: 500;
}

.input-field:focus {
  border-color: #f8b35e;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 4px rgba(248, 179, 94, 0.18);
  transform: translateY(-1px);
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #f8b35e;
  width: 20px;
  height: 20px;
}

.login-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f9c06a 0%, #f8a93b 50%, #e8962a 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow:
    0 4px 18px rgba(240, 155, 50, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.login-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  background-size: 400px 100%;
  animation: shimmer 2.5s infinite;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(240, 155, 50, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.login-btn:active {
  transform: scale(0.97) translateY(0);
}

.logo-divider {
  height: 1.5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(248, 179, 94, 0.45),
    transparent
  );
  margin: 0 20px 24px;
}

/* dash css */

*,
body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3,
th {
  font-family: "Nunito", sans-serif;
}

:root {
  --orange: #f97316;
  --orange2: #ea580c;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  --text: #000000;
  --sub: #6b7280;
  --border: #e5e7eb;
  --navy: #000000;
  --radius: 14px;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.page-title {
  font-family: "Nunito", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.3px;
}

.page-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 24px;
}

.page-sub-line {
  height: 1.5px;
  width: 120px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-border),
    transparent
  );
}

/* your existing CSS */

.page-sub-text {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--sub);
  text-transform: uppercase;
}

/* 🔥 ADD HERE (at the bottom) */
@media (max-width: 640px) {
  .page-sub {
    flex-direction: column;
    gap: 6px;
  }

  .page-sub-line {
    display: none;
  }

  .page-sub-text {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-align: center;
    line-height: 1.4;
  }
}

/* Toggle */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.toggle-group {
  display: flex;
  background: #fff;
  border: 1.5px solid var(--orange-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

.toggle-btn {
  padding: 10px 40px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #9ca3af;
  text-decoration: none;
  display: block;
}

.toggle-btn.active {
  background: var(--orange);
  color: white;
}

.toggle-btn:hover:not(.active) {
  background: #fff7ed;
  color: var(--orange2);
}

@media (max-width: 480px) {
  .toggle-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* Table card */
.tbl-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border);
}

/* Horizontal scroll wrapper — KEY for mobile */
.tbl-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl-scroll::-webkit-scrollbar {
  height: 5px;
}

.tbl-scroll::-webkit-scrollbar-track {
  background: #f9fafb;
}

.tbl-scroll::-webkit-scrollbar-thumb {
  background: var(--orange-border);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

thead tr {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 60%, #fdba74 100%);
}

thead th {
  font-family: "Nunito", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: white;
  padding: 14px 12px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}

tbody tr:hover {
  background: #fff7f0;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 13px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.row-idx {
  color: #d1d5db;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.dr-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--navy);
}

.eye-icon {
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
  flex-shrink: 0;
}

.eye-icon:hover {
  color: var(--orange);
}

.spec-tag {
  font-size: 11px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  color: #000000;
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.brand-tag {
  font-size: 11.5px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  background: var(--orange-light);
  color: var(--orange2);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pob-num {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--orange);
  font-size: 15px;
}

.status-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.s-pending {
  background: #fef9ec;
}

.s-approved {
  background: #f0fdf4;
}

.s-rejected {
  background: #fef2f2;
}

.empty-td {
  padding: 40px;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  color: #9ca3af;
  font-size: 14px;
}

.scroll-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 7px;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
}

@media (max-width: 640px) {
  .scroll-hint {
    display: block;
  }
}

/* Pagination */
.pg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pg-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  background: white;
  text-decoration: none;
  transition: all 0.15s;
}

.pg-btn:hover:not(.active):not(.disabled) {
  background: #fff7ed;
  border-color: var(--orange-border);
  color: var(--orange2);
}

.pg-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

.pg-btn.disabled {
  color: #d1d5db;
  pointer-events: none;
}

/* doctorwise css */

*,
body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3,
th {
  font-family: "Nunito", sans-serif;
}

:root {
  --orange: #f97316;
  --orange2: #ea580c;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  --text: #000000;
  --sub: #6b7280;
  --border: #e5e7eb;
  --navy: #000000;
  --radius: 14px;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.page-title {
  font-family: "Nunito", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  letter-spacing: -0.3px;
}

.page-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 24px;
}

.page-sub-line {
  height: 1.5px;
  width: 120px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-border),
    transparent
  );
}

/* your existing CSS */

.page-sub-text {
  font-family: "Nunito", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--sub);
  text-transform: uppercase;
}

/* 🔥 ADD HERE (at the bottom) */
@media (max-width: 640px) {
  .page-sub {
    flex-direction: column;
    gap: 6px;
  }

  .page-sub-line {
    display: none;
  }

  .page-sub-text {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-align: center;
    line-height: 1.4;
  }
}

/* Toggle */
.toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.toggle-group {
  display: flex;
  background: #fff;
  border: 1.5px solid var(--orange-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.1);
}

.toggle-btn {
  padding: 10px 40px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: #9ca3af;
  text-decoration: none;
  display: block;
}

.toggle-btn.active {
  background: var(--orange);
  color: white;
}

.toggle-btn:hover:not(.active) {
  background: #fff7ed;
  color: var(--orange2);
}

@media (max-width: 480px) {
  .toggle-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}

/* Brand select */
.brand-select-wrap {
  position: relative;
  margin-bottom: 16px;
}

.brand-select {
  width: 100%;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  appearance: none;
}

.brand-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

/* Table card */
.tbl-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border);
}

/* Horizontal scroll wrapper */
.tbl-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl-scroll::-webkit-scrollbar {
  height: 5px;
}

.tbl-scroll::-webkit-scrollbar-track {
  background: #f9fafb;
}

.tbl-scroll::-webkit-scrollbar-thumb {
  background: var(--orange-border);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

thead tr {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 60%, #fdba74 100%);
}

thead th {
  font-family: "Nunito", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: white;
  padding: 14px 12px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}

tbody tr:hover {
  background: #fff7f0;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 13px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.row-idx {
  color: #d1d5db;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
}

.dr-name-cell {
  font-weight: 700;
  color: var(--navy);
}

.brand-tag {
  font-size: 11.5px;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  background: var(--orange-light);
  color: var(--orange2);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pob-num {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--orange);
  font-size: 15px;
}

.empty-td {
  padding: 40px;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  color: #9ca3af;
  font-size: 14px;
}

.scroll-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 7px;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
}

@media (max-width: 640px) {
  .scroll-hint {
    display: block;
  }
}

/* Pagination */
.pg-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pg-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  background: white;
  text-decoration: none;
  transition: all 0.15s;
}

.pg-btn:hover:not(.active):not(.disabled) {
  background: #fff7ed;
  border-color: var(--orange-border);
  color: var(--orange2);
}

.pg-btn.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);
}

.pg-btn.disabled {
  color: #d1d5db;
  pointer-events: none;
}

/* dowleader css */

*,
body {
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}
h1,
th,
.nunito {
  font-family: "Nunito", sans-serif;
}
:root {
  --orange: #f97316;
  --orange2: #ea580c;
  --orange-light: #fff7ed;
  --orange-border: #fed7aa;
  --text: #1f2937;
  --sub: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
}

body {
  margin: 0;
  padding: 40px;
}

.report-container {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
  border: 1.5px solid var(--orange-border);
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 6px;
}

.header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--text);
}

.page-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 24px;
}

.page-sub-line {
  height: 1.5px;
  width: 100px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-border),
    transparent
  );
}

.page-sub-text {
  font-family: "Nunito", sans-serif;
  font-size: 11px;

  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--sub);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Table */
.tbl-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1.5px solid var(--border);
}

.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

thead tr {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 60%, #fdba74 100%);
}

thead th {
  font-family: "Nunito", sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: white;
  padding: 17px 18px;
  text-align: center;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}

tbody tr:hover {
  background: #fff7f0;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody td {
  padding: 15px 18px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
}

.rank-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 15px;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}
.rank-2 {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: white;
  box-shadow: 0 2px 8px rgba(156, 163, 175, 0.35);
}
.rank-3 {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: white;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.rank-other {
  background: #f3f4f6;
  color: #6b7280;
  border: 1.5px solid #e5e7eb;
}

.pob-num {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  color: var(--orange);
  font-size: 17px;
}

/* Buttons */
.btn-area {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  cursor: pointer;
}

.btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.print-btn svg {
  color: var(--orange);
}
.pdf-btn svg {
  color: #16a34a;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.18);
}

.print-btn:hover {
  border-color: var(--orange);
  color: var(--orange2);
}

.pdf-btn:hover {
  border-color: #16a34a;
  color: #15803d;
}

@media print {
  body {
    background: white;
    padding: 0;
  }
  .btn-area {
    display: none;
  }
  @page {
    size: A4 landscape;
    margin: 20mm;
  }
  .report-container {
    box-shadow: none;
    border-radius: 0;
    border: none;
  }
  .tbl-card {
    box-shadow: none;
  }
  tbody tr:hover {
    background: white;
  }
}
