/* Doctor Support Custom Styling */

.doctor-support-container {
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
}

.text-navy {
  color: #0f172a !important;
}

/* Card layout adjustments */
.schedule-card, .doctor-card {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

/* Gradient Header */
.schedule-header {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px !important;
}

.schedule-header-icon {
  font-size: 1.2rem !important;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px !important;
  border-radius: 6px !important;
  display: inline-flex;
}

.schedule-header h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.schedule-header p {
  font-size: 0.65rem !important;
}

/* Horizontal scrolling tab styles */
.tabs-scroll-wrapper {
  overflow-x: auto !important;
  width: 100% !important;
  display: block !important;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important;  /* IE and Edge */
  padding-bottom: 2px !important;
}

.tabs-scroll-wrapper::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Opera */
}

.doctor-support-container .day-tabs.nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding-bottom: 6px !important;
  margin-bottom: 0 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
}

/* Individual tab button */
.doctor-support-container .day-tab-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: #f8fafc !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 4px 10px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  cursor: pointer;
}

.doctor-support-container .day-tab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f766e !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px);
}

.doctor-support-container .day-tab-btn.active {
  background: #0f766e !important;
  color: #ffffff !important;
  border-color: #0f766e !important;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.15) !important;
}

/* Water Treatment Card */
.water-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 6px 10px !important;
  margin-bottom: 8px !important;
  transition: all 0.3s ease;
}

.water-icon-wrap {
  background: #dbeafe;
  padding: 4px !important;
  border-radius: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.water-icon-wrap svg {
  width: 16px !important;
  height: 16px !important;
}

.water-label {
  letter-spacing: 0.03em;
  font-weight: 750;
  color: #1d4ed8;
  font-size: 0.65rem !important;
}

.water-value {
  font-size: 0.85rem !important;
  color: #1e3a8a;
}

/* Medication Section */
.medication-section-title {
  font-size: 0.82rem !important;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 3px !important;
  margin-bottom: 8px !important;
}

/* Medication Item Card */
.med-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px !important;
  transition: all 0.2s ease;
}

.med-item-card:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

/* Border color codes for medication times */
.border-morning {
  border-left-color: #f97316 !important; /* Orange */
}
.border-afternoon {
  border-left-color: #eab308 !important; /* Yellow */
}
.border-evening {
  border-left-color: #a855f7 !important; /* Purple */
}
.border-night {
  border-left-color: #4f46e5 !important; /* Dark Blue */
}
.border-other {
  border-left-color: #64748b !important; /* Slate */
}

/* Medication Time Badges */
.med-time-badge {
  font-size: 0.7rem !important;
  padding: 1.5px 5px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.med-time-morning {
  background: #ffedd5;
  color: #ea580c;
}
.med-time-afternoon {
  background: #fef9c3;
  color: #a16207;
}
.med-time-evening {
  background: #f3e8ff;
  color: #9333ea;
}
.med-time-night {
  background: #e0e7ff;
  color: #4f46e5;
}
.med-time-other {
  background: #f1f5f9;
  color: #475569;
}

.med-text {
  font-size: 0.8rem !important;
  line-height: 1.35 !important;
  color: #334155;
}

/* Right Column (Doctor Column) */
.doctor-header {
  background: #fafafa;
}

.doctor-profile-card {
  background: #ffffff;
  border-color: #e2e8f0 !important;
  padding: 8px 12px !important;
  margin-bottom: 8px !important;
  transition: all 0.3s ease;
}

.doctor-profile-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transform: translateY(-2px);
}

.doctor-avatar {
  flex-shrink: 0;
}

.doctor-name {
  font-size: 0.88rem !important;
}

.doctor-qual {
  font-weight: 600;
  font-size: 0.78rem !important;
}

.doctor-exp {
  font-size: 0.72rem !important;
}

/* Register Call To Action box */
.register-cta-wrap {
  border-color: #0284c7 !important;
  background-color: #f0f9ff !important;
  padding: 16px !important;
  box-shadow: inset 0 2px 4px rgba(2, 132, 199, 0.02);
}

.cta-lock-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.btn-register-support {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.btn-register-support:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.3) !important;
}

/* Consult Form (Authenticated) */
.bg-light-success {
  background-color: #f0fdf4 !important;
}

.border-success {
  border-color: #bbf7d0 !important;
}

.form-control-sm {
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  padding: 8px 12px !important;
}

.form-control-sm:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
}

#consult-submit-btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

#consult-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

/* Tab animations */
.tab-pane-content {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsiveness for Compact Layout */
@media (max-width: 576px) {
  .schedule-header {
    padding: 10px 12px !important;
  }
  .schedule-header-icon {
    display: none !important; /* Hide icon on small mobile to save space */
  }
  .doctor-support-container .card-body {
    padding: 12px !important;
  }
  .medication-list {
    gap: 8px !important; /* Reduce space between items */
  }
  .med-item-card {
    padding: 8px 10px !important;
  }
  .med-item-card .d-flex {
    flex-direction: column !important; /* Stack time badge and text to prevent squishing */
    gap: 4px !important;
    align-items: flex-start !important;
  }
  .med-time-badge {
    align-self: flex-start !important;
  }
  .water-card {
    padding: 6px 10px !important;
  }
}

/* Important Notes Styles */
.important-notes-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.important-notes-card {
  background-color: #fffbf7 !important; /* Warm peach-cream background */
  border-left: 4px solid #f97316 !important; /* Premium orange border */
  border-top: 1px solid #ffedd5 !important;
  border-right: 1px solid #ffedd5 !important;
  border-bottom: 1px solid #ffedd5 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.03) !important;
}

.notes-title {
  color: #ea580c; /* Matching orange */
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notes-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: #ffedd5;
  margin-left: 8px;
}

.notes-list {
  padding-left: 18px;
  list-style-type: disc;
}

.notes-list li {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #334155; /* Slate-700 */
  margin-bottom: 10px;
}

.notes-list li:last-child {
  margin-bottom: 0;
}

.notes-highlight-card {
  background-color: #f0fdfa !important; /* Mint teal background */
  border: 1.5px dashed #0d9488 !important; /* Teal dashed border */
  border-radius: 12px !important;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.03) !important;
}

.highlight-text {
  color: #115e59; /* Teal-800 */
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
}


