/* ===== SECTION TITLE ===== */

.ft-master-curriculum__section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 3rem 0 2.5rem 0;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  font-style: italic;
}

.ft-master-curriculum__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3d4ba8 0%, #495bb8 100%);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ===== WRAPPER ===== */

.ft-master-curriculum-wrapper {
  width: 100%;
  margin: 2.5rem 0 3rem 0;
  overflow-x: auto;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===== TABLE ===== */

.ft-master-curriculum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ft-master-curriculum-table thead {
  background: #f3f4f6;
  border-bottom: 2px solid #d1d5db;
}

.ft-master-curriculum-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: #1f2937;
  font-size: 0.875rem;
  text-transform: none;
  box-sizing: border-box;
}

.ft-master-curriculum-col-faculty {
  width: 15%;
  min-width: 120px;
}

.ft-master-curriculum-col-program {
  width: 25%;
  min-width: 160px;
}

.ft-master-curriculum-col-credits {
  width: 11%;
  min-width: 90px;
  text-align: center;
}

.ft-master-curriculum-col-duration {
  width: 12%;
  min-width: 100px;
  text-align: center;
}

.ft-master-curriculum-col-tax {
  width: 18%;
  min-width: 130px;
  text-align: center;
}

.ft-master-curriculum-col-documents {
  width: 19%;
  min-width: 140px;
  text-align: center;
}

/* ===== TABLE BODY ===== */

.ft-master-curriculum-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.ft-master-curriculum-table tbody tr:hover {
  background: #fafbfc;
}

.ft-master-curriculum-table tbody tr:last-child {
  border-bottom: none;
}

.ft-master-curriculum-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  box-sizing: border-box;
  color: #374151;
}

/* ===== CELL STYLES ===== */

.ft-master-curriculum-cell-faculty {
  font-weight: 600;
  color: #1f2937;
}

.ft-master-curriculum-cell-program {
  color: #374151;
  text-align: left;
}

.ft-master-curriculum-cell-credits {
  text-align: center;
  color: #6b7280;
}

.ft-master-curriculum-cell-credits strong {
  font-weight: 600;
}

.ft-master-curriculum-cell-duration {
  text-align: center;
  color: #6b7280;
}

/* ===== PRICING ===== */

.ft-master-curriculum-price-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.ft-master-curriculum-price-item {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

/* ===== DOCUMENTS ===== */

.ft-master-curriculum-doc-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.ft-master-curriculum-doc-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.ft-master-curriculum-doc-link:hover {
  background: #3d4ba8;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.ft-master-curriculum-no-docs {
  color: #d1d5db;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1440px) {
  .ft-master-curriculum-table th,
  .ft-master-curriculum-table td {
    padding: 0.95rem 1.1rem;
    font-size: 0.9375rem;
  }
}

@media (max-width: 1024px) {
  .ft-master-curriculum__section-title {
    font-size: 1.75rem;
    margin: 2.5rem 0 2rem 0;
  }

  .ft-master-curriculum__section-title::after {
    width: 70px;
    height: 3px;
    margin-top: 1.25rem;
  }

  .ft-master-curriculum-wrapper {
    margin: 2rem 0 2.5rem 0;
  }

  .ft-master-curriculum-table th {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }

  .ft-master-curriculum-table td {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .ft-master-curriculum-col-faculty {
    width: 15%;
    min-width: 110px;
  }

  .ft-master-curriculum-col-program {
    width: 28%;
    min-width: 150px;
  }

  .ft-master-curriculum-col-credits {
    width: 11%;
    min-width: 85px;
  }

  .ft-master-curriculum-col-duration {
    width: 12%;
    min-width: 95px;
  }

  .ft-master-curriculum-col-tax {
    width: 17%;
    min-width: 120px;
  }

  .ft-master-curriculum-col-documents {
    width: 17%;
    min-width: 130px;
  }
}

@media (max-width: 768px) {
  .ft-master-curriculum__section-title {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem 0;
  }

  .ft-master-curriculum__section-title::after {
    width: 60px;
    height: 3px;
    margin-top: 1rem;
  }

  .ft-master-curriculum-wrapper {
    margin: 1.5rem 0 2rem 0;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  }

  .ft-master-curriculum-table {
    font-size: 0.85rem;
  }

  .ft-master-curriculum-table th {
    padding: 0.75rem 0.875rem;
    font-size: 0.75rem;
  }

  .ft-master-curriculum-table td {
    padding: 0.75rem 0.875rem;
    font-size: 0.8125rem;
  }

  .ft-master-curriculum-col-faculty {
    width: 16%;
    min-width: 100px;
  }

  .ft-master-curriculum-col-program {
    width: 28%;
    min-width: 140px;
  }

  .ft-master-curriculum-col-credits {
    width: 11%;
    min-width: 80px;
  }

  .ft-master-curriculum-col-duration {
    width: 12%;
    min-width: 90px;
  }

  .ft-master-curriculum-col-tax {
    width: 17%;
    min-width: 110px;
  }

  .ft-master-curriculum-col-documents {
    width: 16%;
    min-width: 120px;
  }

  .ft-master-curriculum-price-item {
    font-size: 0.8rem;
  }

  .ft-master-curriculum-doc-link {
    font-size: 0.75rem;
    padding: 0.35rem 0.625rem;
  }
}

@media (max-width: 640px) {
  .ft-master-curriculum__section-title {
    font-size: 1.25rem;
    margin: 1.5rem 0 1.25rem 0;
  }

  .ft-master-curriculum__section-title::after {
    width: 50px;
    height: 2px;
    margin-top: 0.75rem;
  }

  .ft-master-curriculum-wrapper {
    margin: 1.25rem 0 1.75rem 0;
    border-radius: 0.375rem;
    min-width: 400px;
  }

  .ft-master-curriculum-table {
    min-width: 500px;
    font-size: 0.8rem;
  }

  .ft-master-curriculum-table th {
    padding: 0.625rem 0.75rem;
    font-size: 0.7rem;
  }

  .ft-master-curriculum-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
  }

  .ft-master-curriculum-col-faculty {
    width: 16%;
    min-width: 95px;
  }

  .ft-master-curriculum-col-program {
    width: 27%;
    min-width: 130px;
  }

  .ft-master-curriculum-col-credits {
    width: 11%;
    min-width: 75px;
  }

  .ft-master-curriculum-col-duration {
    width: 13%;
    min-width: 85px;
  }

  .ft-master-curriculum-col-tax {
    width: 17%;
    min-width: 100px;
  }

  .ft-master-curriculum-col-documents {
    width: 16%;
    min-width: 110px;
  }

  .ft-master-curriculum-price-item {
    font-size: 0.7rem;
  }

  .ft-master-curriculum-doc-link {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .ft-master-curriculum__section-title {
    font-size: 1.125rem;
    margin: 1.25rem 0 1rem 0;
  }

  .ft-master-curriculum__section-title::after {
    width: 40px;
    margin-top: 0.5rem;
  }

  .ft-master-curriculum-wrapper {
    margin: 1rem 0 1.5rem 0;
    border-radius: 0.25rem;
    min-width: 320px;
  }

  .ft-master-curriculum-table {
    min-width: 450px;
    font-size: 0.75rem;
  }

  .ft-master-curriculum-table th {
    padding: 0.5rem 0.625rem;
    font-size: 0.65rem;
  }

  .ft-master-curriculum-table td {
    padding: 0.5rem 0.625rem;
    font-size: 0.7rem;
  }

  .ft-master-curriculum-col-faculty {
    width: 17%;
    min-width: 85px;
  }

  .ft-master-curriculum-col-program {
    width: 27%;
    min-width: 120px;
  }

  .ft-master-curriculum-col-credits {
    width: 11%;
    min-width: 70px;
  }

  .ft-master-curriculum-col-duration {
    width: 13%;
    min-width: 80px;
  }

  .ft-master-curriculum-col-tax {
    width: 16%;
    min-width: 90px;
  }

  .ft-master-curriculum-col-documents {
    width: 16%;
    min-width: 100px;
  }

  .ft-master-curriculum-price-item {
    font-size: 0.65rem;
  }

  .ft-master-curriculum-doc-link {
    font-size: 0.6rem;
    padding: 0.25rem 0.375rem;
  }
}
