:root {
  --brand-primary: #ffc107;
  --brand-success: #28a745;
  --brand-danger: #dc3545;
  --brand-info: #17a2b8;
  --brand-dark: #343a40;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --text-grey: #95a5a6;
  --bg-soft: #f4f6f9;
  --bg-light: #f9f9f9;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --card-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.06);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

body {
  background: var(--bg-light);
}

/* ================================
   Detail Card / Info Card
================================ */
.detail-card,
.info-card {
  background: #fff;
  border-radius: var(--border-radius);
  /* padding: 16px 20px; */
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.detail-card .card-title,
.info-card .card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand-primary);
  display: flex;
  align-items: center;
}



/* Info Rows */
.info-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 130px;
  flex-shrink: 0;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

.info-value {
  flex: 1;
  color: #333;
  font-size: 0.95rem;
}

/* Info Icon Box */
.info-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Tutor Profile Card */
.tutor-profile-card {
  border: 2px solid var(--brand-primary);
}

.tutor-photo-lg {
  width: 200px;
  height: 200px;
  border-radius: 8%;
  object-fit: cover;
}

/* ================================
   Education Section
================================ */
.edu-row {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.edu-row:last-child {
  border-bottom: none;
}

.edu-label {
  font-weight: bold;
  color: #555;
}

.edu-value {
  color: #000;
  font-weight: 500;
}

.honor-badge {
  background-color: #fff3cd;
  color: #856404;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 5px;
}

.degree-title {
  color: var(--brand-danger);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ================================
   Banner Slider
================================ */
.banner-swiper-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  max-height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .banner-swiper-container {
    aspect-ratio: 3 / 1;
    max-height: 200px;
  }
}

@media (max-width: 576px) {
  .banner-swiper-container {
    aspect-ratio: 2.5 / 1;
    max-height: 150px;
    border-radius: var(--border-radius-sm);
  }
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  cursor: pointer;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

@media (max-width: 576px) {
  .banner-dots {
    bottom: 6px;
    gap: 4px;
  }
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 576px) {
  .banner-dot {
    width: 6px;
    height: 6px;
  }
  .banner-dot.active {
    width: 14px;
  }
}

/* ================================
   Teaching Photos Swiper
================================ */
.teach-swiper {
  padding: 6px 0 10px;
}

.teach-swiper .swiper-wrapper {
  align-items: center;
}

.teach-slide {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  opacity: 0.45;
  transform: scale(0.88);
  transition:
    transform 0.7s ease,
    opacity 0.7s ease,
    box-shadow 0.7s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.teach-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.teach-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.teach-swiper .swiper-slide-prev,
.teach-swiper .swiper-slide-next {
  opacity: 0.6;
  transform: scale(0.92);
}

@media (max-width: 768px) {
  .teach-swiper {
    padding: 2px 0 6px;
  }
  .teach-slide {
    transform: scale(0.95);
  }
  .teach-swiper .swiper-slide-active {
    transform: scale(1.02);
  }
}

/* ================================
   Process Steps / Flow
================================ */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
}

.flow-step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 15px 10px;
  /* background: #ffffff; */
  border-radius: var(--border-radius);
  /* box-shadow: var(--card-shadow); */
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.flow-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), #ffca28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.2rem;
  color: #333;
}

.flow-number {
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
  background: var(--brand-danger);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -5px;
  right: -5px;
}

.flow-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 5px;
}

.flow-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 576px) {
  .process-flow {
    gap: 10px;
  }
  .flow-step {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* ================================
   Subject Pills
================================ */
.subject-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

/* pill ขยายตามเนื้อหา — สั้นอยู่ 3-4/แถว ยาวขึ้นบรรทัดใหม่เอง */
.subject-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex: 0 1 auto;           /* shrink ได้ ไม่ขยายเกิน content */
  max-width: calc(50% - 3px); /* ไม่กว้างเกินครึ่ง container */
  box-sizing: border-box;
  word-break: break-word;
  white-space: normal;
  line-height: 1.35;
}

/* ================================
   CTA Section
================================ */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #ffca28 100%);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  margin: 30px 0;
}

.cta-content h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-success);
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  transition: all 0.3s;
}

.btn-cta:hover {
  background: #218838;
  color: #fff;
  transform: translateY(-2px);
}

.cta-note {
  font-size: 0.85rem;
  margin: 12px 0 0;
  color: #666;
}

/* ================================
   Buttons
================================ */
.btn-back,
.btn-back-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-back {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.btn-back:hover {
  background: #e9ecef;
  color: #333;
}

.btn-back-main {
  background: var(--brand-primary);
  color: #333;
}

.btn-back-main:hover {
  background: #e0a800;
  color: #333;
}

/* Contact Buttons */
.contact-buttons-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.contact-buttons-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 576px) {
  .contact-buttons-grid-2col,
  .contact-buttons-grid-3col {
    grid-template-columns: 1fr;
  }
}

.btn-contact-custom,
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-contact-custom:hover,
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-line:hover {
  background: #05a847;
  color: #fff;
}

.btn-fb {
  background: #1877f2;
  color: #fff;
}

.btn-fb:hover {
  background: #0d65d9;
  color: #fff;
}

.btn-login-yellow {
  background: var(--brand-primary);
  color: #333;
}

.btn-login-yellow:hover {
  background: #e0a800;
  color: #333;
}

/* ================================
   Empty State
================================ */
.empty-state,
.modern-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.empty-state i,
.modern-empty-state i {
  font-size: 3rem;
  color: #dee2e6;
  margin-bottom: 20px;
}

.empty-state h3,
.empty-state h4,
.modern-empty-state h3 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state p,
.modern-empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ================================
   Page Headers
================================ */
.page-header,
.page-header-modern {
  text-align: center;
  margin-bottom: 30px;
}

.page-header h1,
.page-header-modern h1,
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.page-header p,
.page-header-modern p {
  color: var(--text-grey);
  font-size: 0.95rem;
}

/* ================================
   Section Bar
================================ */
.section-bar {
  background: #000;
  color: var(--brand-primary);
  text-align: center;
  padding: 12px 10px;
}

/* ================================
   Intro Text
================================ */
.intro-text {
  color: #555;
  line-height: 1.8;
  font-size: 0.9rem;
  margin: 0;
}

/* ================================
   Tables
================================ */
.table-hover-effect tbody tr:hover {
  background-color: #fffde7;
}

.table-colored-rows tbody tr:nth-child(odd) {
  background-color: #f9f9f9;
}

/* ================================
   Job Code Badge
================================ */
.job-code-badge,
.job-code-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary), #ffca28);
  color: #333;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ================================
   Status Badges
================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.status-waiting {
  background: #fff3cd;
  color: #856404;
}

.status-badge.status-confirmed {
  background: #d4edda;
  color: #155724;
}

.status-badge.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.status-badge.status-pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
}

/* ================================
   Slip Thumbnail
================================ */
.slip-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8f9fa;
  cursor: zoom-in;
}

.slip-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slip-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: transform 0.2s;
}

.slip-preview:hover {
  transform: scale(1.05);
}

/* ================================
   Tutor Page Container
================================ */
.tutor-page-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Prompt", sans-serif;
}

/* ================================
   Flex Page Layout (Footer at bottom)
================================ */
.flex-page {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.flex-page > .table-responsive,
.flex-page > .modern-empty-state,
.flex-page > .detail-card {
  flex: 1 1 auto;
}

.flex-page-back {
  margin-top: auto;
}

/* ================================
   Policy Styles
================================ */
.policy-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
}

.policy-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-primary);
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.policy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: bold;
}

.warning-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--border-radius-sm);
  padding: 15px;
  margin: 15px 0;
}

.danger-box {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: var(--border-radius-sm);
  padding: 15px;
  margin: 15px 0;
}

.contact-box {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: var(--border-radius-sm);
  padding: 15px;
  margin: 15px 0;
}

/* ================================
   Note Items
================================ */
.note-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: var(--border-radius-sm);
  margin-bottom: 10px;
}

.note-item i {
  color: var(--brand-primary);
  font-size: 1.2rem;
  margin-top: 2px;
}

.note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ================================
   DataTable Overrides
================================ */
#dataTable thead th {
  white-space: nowrap;
}

#dataTable td {
  vertical-align: middle;
}

/* ================================
   Back Link
================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text-dark);
}

/* ================================
   Payment History
================================ */
.payment-history-container {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
}

.history-card {
  display: block;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 15px;
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.history-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  color: inherit;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.history-body {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.history-info {
  flex: 1;
}

.refund-section {
  background: #f8f9fa;
  border-radius: var(--border-radius-sm);
  padding: 12px;
  margin-top: 12px;
}

.refund-label {
  font-weight: 600;
  color: var(--brand-danger);
  margin-bottom: 8px;
}

.refund-slip {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

/* ================================
   Responsive Utilities
================================ */
@media (max-width: 768px) {
  .tutor-page-container {
    padding: 0 15px;
    margin: 20px auto;
  }

  .page-header h1,
  .page-header-modern h1,
  .page-title {
    font-size: 1.5rem;
  }

  .detail-card,
  .info-card {
    padding: 12px 15px;
  }

  .info-label {
    width: 100px;
  }

  .history-body {
    flex-direction: column;
  }
}

/* ================================
   Courses Page
================================ */
.courses-banner-section {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#courseBanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.courses-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
}

.courses-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.courses-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.courses-banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.courses-banner-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0;
}

.courses-banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: #fff;
  width: 30px;
  border-radius: 6px;
}

.courses-container {
  padding: 16px 15px 40px;
  max-width: 1100px;
}

.subject-group {
  margin-bottom: 40px;
}

.subject-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 2px solid var(--brand-primary);
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}

.subject-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  flex-wrap: wrap;
}

.breadcrumb-cat {
  color: var(--brand-primary);
  font-weight: 500;
}

.subject-breadcrumb i {
  font-size: 0.7rem;
  color: #999;
}

.breadcrumb-subject {
  font-weight: 600;
  color: #1a1a1a;
}

.subject-count {
  font-size: 0.85rem;
  color: #666;
  background: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #eee;
}

.course-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: none;
  border-radius: var(--border-radius);
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-primary);
}

.course-card-main {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  align-items: start;
}

.course-card .detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-card .label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.course-card .value {
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.4;
}

.course-card-tutor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 24px;
  border-left: 2px solid #f0f0f0;
  margin-left: 24px;
}

.tutor-photo {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tutor-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tutor-info .label {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tutor-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #999;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state h4 {
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.see-more-box {
  text-align: center;
  padding: 20px 0;
  border-top: 1px dashed #ddd;
  margin-top: 16px;
}

.btn-see-more {
  margin-bottom: 30px;
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #ff9800 100%);
  color: #000;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

@media (max-width: 992px) {
  .courses-banner-section {
    height: 280px;
  }
  .courses-banner-title {
    font-size: 2rem;
  }
  .courses-banner-subtitle {
    font-size: 1rem;
  }

  .course-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .course-card::before {
    left: 0;
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 3px;
  }

  .course-card-tutor {
    border-left: none;
    border-top: 2px solid #f0f0f0;
    margin-left: 0;
    padding-left: 0;
    padding-top: 16px;
  }
}

@media (max-width: 768px) {
  .courses-banner-section {
    height: 250px;
  }
  .courses-banner-title {
    font-size: 1.8rem;
  }
  .courses-banner-subtitle {
    font-size: 0.95rem;
  }
  .courses-container {
    padding: 24px 15px 32px;
  }
  .course-card {
    padding: 18px;
  }
  .course-card-main {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .courses-banner-title {
    font-size: 1.6rem;
  }
  .courses-banner-subtitle {
    font-size: 0.9rem;
  }
  .tutor-photo {
    width: 84px;
    height: 84px;
  }
}

/* Shared Styles for Detail Pages */
.card-title-lg {
  font-size: 1.9rem !important;
  font-weight: bold !important;
}

.policy-content {
  line-height: 1.8;
}

/* ================================
   Tutor Login Modal
================================ */
.tutor-login-modal {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.tutor-login-header {
  background: #212529;
  color: #fff;
  padding: 18px 20px;
  border: none;
}
.tutor-login-header .modal-title {
  font-weight: 700;
  font-size: 1.15rem;
}
