/* =========================================================
   PACIFICTECH Learning Portal - Clean Full CSS
   Version: 136
   ========================================================= */

/* ---------- Reset / Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
.button {
  cursor: pointer;
  border: 0;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  width: 100%;
  background: #171717 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  display: block;
}

.brand-logo-fallback {
  background: #ffffff;
  color: #064e3b;
  font-weight: 900;
  font-size: 18px;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong,
.brand strong {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text small,
.brand small {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 12px;
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.site-nav a:hover {
  color: #ff3d00 !important;
  text-decoration: none;
}

.site-nav .nav-button {
  background: #ff3d00 !important;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
}

.site-nav .nav-button:hover {
  background: #e63600 !important;
  color: #ffffff !important;
}

/* ---------- Flash Messages ---------- */

.flash-wrapper {
  margin-top: 18px;
}

.flash {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  font-weight: 800;
}

.flash-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.flash-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: 1px solid #ff3d00;
  line-height: 1;
}

.button:hover {
  background: #e63600;
  color: #ffffff;
  text-decoration: none;
}

.button-outline {
  background: transparent;
  color: #111827;
  border-color: #111827;
}

.button-outline:hover {
  background: #111827;
  color: #ffffff;
}

.light-outline {
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.light-outline:hover {
  background: #ffffff !important;
  color: #111827 !important;
}

/* ---------- Common UI ---------- */

.pill {
  display: inline-flex;
  width: fit-content;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.learner-eyebrow {
  display: inline-flex;
  width: fit-content;
  background: #ff3d00;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.muted {
  color: #6b7280;
}

.section {
  padding: 64px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.page-title {
  color: #111827;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}

.card,
.empty-dashboard-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.empty-dashboard-card h3 {
  color: #111827;
  font-size: 26px;
  margin: 14px 0 8px;
}

/* ---------- Forms ---------- */

.form-group {
  display: grid;
  gap: 8px;
}

label {
  color: #111827;
  font-weight: 900;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 13px 14px;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 61, 0, 0.25);
  border-color: #ff3d00;
}

textarea {
  resize: vertical;
}

/* ---------- Homepage Marketplace ---------- */

.market-home-hero {
  background: #171717;
  color: #ffffff;
  padding: 94px 0 78px;
}

.market-hero-content {
  max-width: 980px;
}

.market-eyebrow {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.market-hero-content h1 {
  color: #ffffff;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 26px 0 22px;
}

.market-hero-content p {
  color: #f3f4f6;
  font-size: 20px;
  line-height: 1.6;
  max-width: 860px;
  margin: 0;
}

.market-search-bar {
  margin-top: 34px;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px 120px;
  gap: 10px;
  max-width: 920px;
}

.market-search-bar input,
.market-search-bar select {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 15px;
  background: #ffffff;
  color: #111827;
}

.market-search-bar button {
  background: #ff3d00;
  color: #ffffff;
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 900;
}

.market-search-bar button:hover {
  background: #e63600;
}

.market-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.market-home-section {
  background: #ffffff;
  padding: 74px 0;
}

.market-light-section {
  background: #f8fafc;
}

.market-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}

.market-section-header h2 {
  color: #06122b;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}

.market-section-header p {
  color: #6b7280;
  margin: 0;
  font-size: 16px;
}

/* ---------- Course Cards ---------- */

.market-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.market-course-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}

.market-course-image {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #111827);
}

.market-course-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.market-best-seller {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffd400;
  color: #111827;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.market-course-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.market-category {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
}

.market-course-body h3 {
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.market-instructor {
  color: #111827;
  font-size: 15px;
  margin: 0 0 12px;
}

.market-description {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.market-social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 14px;
}

.market-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
}

.market-course-meta span {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.market-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 16px;
}

.market-discount {
  color: #ff3d00;
  font-size: 16px;
}

.market-price-row del {
  color: #991b1b;
}

.market-price-row strong {
  color: #111827;
  font-size: 20px;
}

.market-course-actions {
  display: grid;
  gap: 10px;
}

.market-buy-button {
  display: block;
  text-align: center;
  background: #07858d;
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 5px;
  font-weight: 900;
  text-decoration: none;
}

.market-buy-button:hover {
  background: #056b72;
  color: #ffffff;
}

.market-secondary-button {
  display: block;
  text-align: center;
  border: 1px solid #07858d;
  color: #07858d;
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 900;
  text-decoration: none;
}

.market-secondary-button:hover {
  background: #07858d;
  color: #ffffff;
}

/* ---------- Steps ---------- */

.market-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.market-step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.market-step-card span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.market-step-card h3 {
  color: #111827;
  margin: 0 0 8px;
}

.market-step-card p {
  color: #6b7280;
  margin: 0;
}

/* ---------- CTA ---------- */

.market-cta-card {
  background: #171717;
  color: #ffffff;
  border-radius: 30px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.market-cta-card h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 10px;
}

.market-cta-card p {
  color: #d1d5db;
  max-width: 760px;
  font-size: 17px;
}

.market-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Auth Password Eye ---------- */

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 54px !important;
}

.password-toggle {
  position: absolute;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: #f3f4f6;
  color: #111827;
  border-radius: 12px;
  cursor: pointer;
  font-size: 17px;
  padding: 0;
}

.password-toggle:hover {
  background: #e5e7eb;
}

/* ---------- Responsive ---------- */

@media (max-width: 1150px) {
  .market-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    gap: 12px;
  }

  .market-search-bar {
    grid-template-columns: 1fr;
  }

  .market-course-grid,
  .market-steps-grid {
    grid-template-columns: 1fr;
  }

  .market-section-header,
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-hero-content h1 {
    font-size: 44px;
  }

  .market-home-hero {
    padding: 64px 0;
  }
}

@media (max-width: 520px) {
  .brand-text strong,
  .brand strong {
    font-size: 16px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.06);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
  }

  .market-hero-content h1 {
    font-size: 38px;
  }
}

/* ---------- Auth Pages: Login / Register / OTP / Forgot ---------- */

.auth-hero {
  background: #171717;
  color: #ffffff;
  padding: 82px 0 70px;
}

.auth-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: center;
}

.auth-hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 22px 0;
}

.auth-hero p {
  color: #f3f4f6;
  font-size: 18px;
  line-height: 1.6;
  max-width: 860px;
}

.auth-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.auth-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.auth-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.auth-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.auth-form-card,
.auth-side-card,
.auth-benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.auth-benefit-card > span {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.auth-benefit-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.auth-benefit-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.auth-benefit-list strong {
  color: #111827;
}

.auth-benefit-list p {
  color: #6b7280;
  margin: 6px 0 0;
  font-size: 14px;
}

.auth-form-header h2 {
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}

.auth-form-header p {
  color: #6b7280;
  margin-bottom: 24px;
}

.auth-modern-form {
  display: grid;
  gap: 18px;
}

.auth-modern-form button[type="submit"],
.auth-modern-form > button {
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 900;
  border: 1px solid #ff3d00;
}

.auth-modern-form button[type="submit"]:hover,
.auth-modern-form > button:hover {
  background: #e63600;
}

.auth-form-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.auth-notice-box,
.auth-resend-box,
.auth-success-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 22px;
  padding: 18px;
}

.auth-notice-box h3,
.auth-resend-box h3,
.auth-success-box h3 {
  color: #111827;
  margin: 0 0 8px;
}

.auth-notice-box p,
.auth-resend-box p,
.auth-success-box p {
  color: #6b7280;
  margin: 0;
}

.auth-bottom-link {
  text-align: center;
  margin-top: 22px;
}

.auth-bottom-link p {
  color: #6b7280;
  margin: 0;
}

.auth-bottom-link a,
.auth-forgot-row a {
  color: #ff3d00;
  font-weight: 900;
}

.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
}

.auth-side-panel {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.auth-side-card h3 {
  color: #111827;
  margin-top: 0;
}

.auth-side-card p {
  color: #6b7280;
}

.auth-steps {
  display: grid;
  gap: 14px;
}

.auth-steps div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.auth-steps span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.auth-steps p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

.otp-input {
  font-size: 24px;
  letter-spacing: 0.28em;
  text-align: center;
  font-weight: 900;
}

/* ---------- Payment Guide / Verify Certificate ---------- */

.payment-hero,
.certificate-hero,
.verify-hero {
  background: #171717;
  color: #ffffff;
  padding: 82px 0 70px;
}

.payment-hero h1,
.certificate-hero h1,
.verify-hero h1 {
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 22px 0;
}

.payment-hero p,
.certificate-hero p,
.verify-hero p {
  color: #f3f4f6;
  font-size: 18px;
  line-height: 1.6;
  max-width: 860px;
}

.payment-section,
.certificate-section,
.verify-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.payment-layout,
.certificate-layout,
.verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.payment-card,
.payment-bank-card,
.payment-step-card,
.certificate-card,
.verify-card,
.verify-result-card,
.guide-card,
.verify-step-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.payment-bank-card h3,
.payment-card h3,
.certificate-card h3,
.verify-card h3 {
  color: #111827;
  margin-top: 0;
}

.payment-bank-grid,
.payment-info-grid,
.verify-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.payment-bank-grid div,
.payment-info-grid div,
.verify-info-grid div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.payment-bank-grid strong,
.payment-info-grid strong,
.verify-info-grid strong {
  display: block;
  color: #111827;
  margin-bottom: 6px;
}

.payment-bank-grid span,
.payment-info-grid span,
.verify-info-grid span {
  color: #6b7280;
}

.payment-steps-grid,
.verify-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.payment-step-card span,
.verify-step-card span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.payment-step-card h3,
.verify-step-card h3 {
  color: #111827;
  margin: 0 0 8px;
}

.payment-step-card p,
.verify-step-card p {
  color: #6b7280;
  margin: 0;
}

.verify-form,
.certificate-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.verify-form button,
.certificate-form button {
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
}

.verify-form button:hover,
.certificate-form button:hover {
  background: #e63600;
}

/* ---------- Dashboard Basic Fix ---------- */

.dashboard-hero,
.learner-hero,
.admin-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.dashboard-hero h1,
.learner-hero h1,
.admin-hero h1 {
  color: #ffffff;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.dashboard-section,
.learner-section,
.admin-section {
  background: #f8fafc;
  padding: 58px 0;
}

.grid-3,
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-sidebar-card,
.admin-content-area,
.admin-create-card,
.admin-list-card,
.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu a {
  display: block;
  color: #111827;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: #ff3d00;
  color: #ffffff;
}

/* ---------- Orange View Course Button ---------- */

.market-buy-button {
  background: #ff5a0a !important;
  border: 1px solid #ff5a0a !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.market-buy-button:hover {
  background: #e14d05 !important;
  border-color: #e14d05 !important;
  color: #ffffff !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .auth-hero-grid,
  .auth-layout,
  .payment-layout,
  .certificate-layout,
  .verify-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .auth-side-panel {
    position: static;
  }

  .payment-steps-grid,
  .verify-steps-grid,
  .grid-3,
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .auth-hero,
  .payment-hero,
  .certificate-hero,
  .verify-hero {
    padding: 56px 0;
  }

  .auth-hero h1,
  .payment-hero h1,
  .certificate-hero h1,
  .verify-hero h1 {
    font-size: 40px;
  }

  .auth-form-2col,
  .payment-bank-grid,
  .payment-info-grid,
  .verify-info-grid,
  .payment-steps-grid,
  .verify-steps-grid,
  .grid-3,
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .auth-form-card,
  .auth-side-card,
  .payment-card,
  .payment-bank-card,
  .certificate-card,
  .verify-card {
    padding: 22px;
  }
}
/* =========================================================
   FINAL FOOTER FIX
   ========================================================= */

.modern-footer {
  background: #111827;
  color: #ffffff;
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr) minmax(240px, 0.9fr);
  gap: 34px;
  padding: 58px 0 34px;
}

.footer-brand-block p {
  color: #d1d5db;
  max-width: 560px;
  margin: 18px 0;
  line-height: 1.7;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-logo-wrap {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #064e3b;
  font-weight: 900;
  font-size: 22px;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.footer-logo-fallback {
  background: #ffffff;
  color: #064e3b;
}

.footer-brand-text {
  display: grid;
  line-height: 1.15;
}

.footer-brand-text strong {
  color: #ffffff;
  font-size: 19px;
  font-weight: 900;
}

.footer-brand-text small {
  color: #d1d5db;
  font-size: 12px;
  margin-top: 4px;
}

.footer-tagline {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.footer-column h4 {
  color: #ffffff;
  margin: 0 0 16px;
  font-size: 16px;
}

.footer-column a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 14px;
}

.footer-column a:hover {
  color: #ff3d00;
}

.footer-column p {
  color: #d1d5db;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-column strong {
  color: #ffffff;
}

.footer-payment {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 20px;
}

.footer-support-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 20px 0;
  color: #d1d5db;
}

.footer-support-row strong {
  color: #ffffff;
  margin-right: 8px;
}

.footer-bottom-bar {
  background: #0b1220;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: #9ca3af;
  font-size: 13px;
}

.footer-bottom-inner p {
  margin: 0;
}

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-support-row,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .footer-main {
    grid-template-columns: 1fr;
    padding: 42px 0 28px;
  }

  .footer-payment {
    padding: 18px;
  }
}
/* =========================================================
   FINAL BUTTON COLOR OVERRIDE
   ========================================================= */

.market-buy,
.market-buy-button {
  background: #ff5a0a !important;
  border: 1px solid #ff5a0a !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.market-buy:hover,
.market-buy-button:hover {
  background: #e14d05 !important;
  border-color: #e14d05 !important;
  color: #ffffff !important;
}
.market-course-fallback-text {
  display: none;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  text-align: center;
  padding: 24px;
}

.market-course-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.market-course-fallback .market-course-fallback-text {
  display: block;
}
.admin-home-cta {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.admin-home-cta h2 {
  color: #111827;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  margin: 14px 0 8px;
}

.admin-home-cta p {
  color: #6b7280;
  margin: 0;
}

.admin-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 850px) {
  .admin-home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================================================
   COURSE DETAIL PAGE STYLE
   course.php
   ========================================================= */

.course-detail-market {
  background: #f8fafc;
  padding: 64px 0 82px;
}

.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.course-detail-main {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.course-detail-image {
  position: relative;
  min-height: 420px;
  background: linear-gradient(135deg, #064e3b, #111827);
  overflow: hidden;
}

.course-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.course-detail-image-text {
  display: none;
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-align: center;
  padding: 30px;
}

.course-detail-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-detail-image-fallback .course-detail-image-text {
  display: block;
}

.course-detail-content {
  padding: 34px;
}

.course-detail-content h1 {
  color: #111827;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 20px 0 16px;
}

.course-detail-subtitle {
  color: #4b5563;
  font-size: 19px;
  line-height: 1.7;
  max-width: 880px;
  margin: 0 0 22px;
}

.course-detail-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}

.course-detail-rating span {
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.course-detail-rating strong {
  color: #111827;
}

.course-detail-rating small {
  color: #6b7280;
}

.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}

.course-detail-meta span {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.course-detail-description {
  border-top: 1px solid #e5e7eb;
  padding-top: 28px;
  margin-top: 28px;
}

.course-detail-description h2 {
  color: #111827;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.course-detail-description p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
}

.learning-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.learning-points div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px;
}

.learning-points strong {
  display: block;
  color: #111827;
  font-size: 17px;
  margin-bottom: 8px;
}

.learning-points p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.lesson-list-market {
  display: grid;
  gap: 12px;
}

.lesson-list-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.lesson-list-item > span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.lesson-list-item strong {
  display: block;
  color: #111827;
  font-size: 16px;
}

.lesson-list-item small {
  display: block;
  color: #6b7280;
  margin-top: 4px;
}

.course-detail-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 100px;
}

.course-buy-card,
.course-support-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.course-buy-price {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.course-buy-price span {
  display: block;
  color: #111827;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
}

.course-buy-price small {
  display: block;
  color: #6b7280;
  margin-top: 8px;
}

.course-buy-info {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.course-buy-info div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 13px;
}

.course-buy-info strong {
  color: #111827;
  font-size: 14px;
}

.course-buy-info span {
  color: #6b7280;
  font-size: 14px;
  text-align: right;
}

.course-buy-card form {
  margin: 0;
}

.course-buy-card .market-buy {
  width: 100%;
  display: block;
  text-align: center;
  background: #ff5a0a;
  border: 1px solid #ff5a0a;
  color: #ffffff;
  border-radius: 8px;
  padding: 15px 18px;
  font-weight: 900;
  text-decoration: none;
}

.course-buy-card .market-buy:hover {
  background: #e14d05;
  border-color: #e14d05;
  color: #ffffff;
  text-decoration: none;
}

.course-buy-card .market-view {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.course-buy-card .market-view:hover {
  color: #ff3d00;
}

.course-buy-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 16px;
  padding: 14px;
  font-weight: 700;
  margin: 16px 0 0;
}

.course-buy-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 20px;
  padding-top: 18px;
}

.course-buy-footer p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.course-support-card h3 {
  color: #111827;
  margin: 0 0 10px;
}

.course-support-card p {
  color: #6b7280;
  margin: 0 0 14px;
}

.course-support-card a {
  color: #ff3d00;
  font-weight: 900;
  text-decoration: none;
}

.course-support-card a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
  }

  .course-detail-sidebar {
    position: static;
  }

  .learning-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .course-detail-market {
    padding: 40px 0 64px;
  }

  .course-detail-image,
  .course-detail-image img {
    min-height: 280px;
    height: 280px;
  }

  .course-detail-content {
    padding: 24px;
  }

  .course-detail-content h1 {
    font-size: 38px;
  }

  .course-buy-info div {
    display: grid;
    gap: 4px;
  }

  .course-buy-info span {
    text-align: left;
  }
}
/* =========================================================
   LESSON PAGE STYLE
   lesson.php
   ========================================================= */

.lesson-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.lesson-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: center;
}

.lesson-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.lesson-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.lesson-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.lesson-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.lesson-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.lesson-progress-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.lesson-progress-card > span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.lesson-progress-card strong {
  display: block;
  color: #111827;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 16px;
}

.lesson-progress-card p {
  color: #6b7280;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.progress {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: #ff3d00;
  border-radius: 999px;
}

.lesson-page-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.lesson-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.lesson-sidebar-card,
.lesson-content-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.lesson-sidebar-card {
  position: sticky;
  top: 100px;
}

.lesson-sidebar-header {
  margin-bottom: 18px;
}

.lesson-sidebar-header h3 {
  color: #111827;
  font-size: 24px;
  margin: 12px 0 0;
}

.lesson-menu {
  display: grid;
  gap: 10px;
}

.lesson-menu a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 13px;
  text-decoration: none;
  color: #111827;
}

.lesson-menu a:hover,
.lesson-menu a.active {
  background: #171717;
  color: #ffffff;
  border-color: #171717;
}

.lesson-number {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.lesson-menu a.active .lesson-number,
.lesson-menu a:hover .lesson-number {
  background: #ff3d00;
  color: #ffffff;
}

.lesson-menu strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.lesson-menu small {
  display: block;
  color: #6b7280;
  margin-top: 4px;
  font-size: 12px;
}

.lesson-menu a.active small,
.lesson-menu a:hover small {
  color: #d1d5db;
}

.lesson-sidebar-quiz {
  margin-top: 20px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 18px;
}

.lesson-sidebar-quiz strong {
  color: #111827;
}

.lesson-sidebar-quiz p {
  color: #6b7280;
  margin: 8px 0 12px;
}

.lesson-sidebar-quiz a {
  color: #ff3d00;
  font-weight: 900;
  text-decoration: none;
}

.lesson-content-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.lesson-tag {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.lesson-content-header h2 {
  color: #111827;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 0;
}

.status-success,
.status-warning,
.status-danger {
  display: inline-flex;
  width: fit-content;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-success {
  background: #dcfce7;
  color: #166534;
}

.status-warning {
  background: #fef3c7;
  color: #92400e;
}

.status-danger {
  background: #fee2e2;
  color: #991b1b;
}

.lesson-video-box,
.lesson-reading-box,
.lesson-completion-panel {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 22px;
}

.lesson-video-box h3,
.lesson-reading-box h3,
.lesson-completion-panel h3 {
  color: #111827;
  margin: 0 0 14px;
}

.lesson-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111827;
  border-radius: 18px;
  overflow: hidden;
}

.lesson-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lesson-reading-content {
  color: #374151;
  font-size: 16px;
  line-height: 1.85;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 22px;
}

.lesson-completion-panel {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.lesson-completion-panel p {
  color: #6b7280;
  margin: 0;
}

.lesson-completion-panel form {
  margin: 0;
}

.lesson-completion-panel button {
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
}

.lesson-completion-panel button:hover {
  background: #e63600;
}

.lesson-bottom-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .lesson-hero-grid,
  .lesson-layout {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .lesson-hero {
    padding: 56px 0;
  }

  .lesson-hero h1 {
    font-size: 38px;
  }

  .lesson-content-header,
  .lesson-completion-panel,
  .lesson-bottom-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .lesson-sidebar-card,
  .lesson-content-card {
    padding: 20px;
  }

  .lesson-menu a {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}
/* =========================================================
   QUIZ PAGE STYLE
   quiz.php
   ========================================================= */

.quiz-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.quiz-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: center;
}

.quiz-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.quiz-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.quiz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quiz-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.quiz-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.quiz-score-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.quiz-score-card > span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.quiz-score-card strong {
  display: block;
  color: #111827;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 14px;
}

.quiz-score-card p {
  color: #6b7280;
  margin: 0 0 14px;
  font-weight: 700;
}

.quiz-page-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.quiz-sidebar-card,
.quiz-main-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.quiz-sidebar-card {
  position: sticky;
  top: 100px;
}

.quiz-sidebar-card h3 {
  color: #111827;
  font-size: 24px;
  margin: 14px 0 18px;
}

.quiz-summary-list {
  display: grid;
  gap: 12px;
}

.quiz-summary-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
}

.quiz-summary-list strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.quiz-summary-list span {
  color: #6b7280;
  font-size: 14px;
}

.quiz-result-card {
  margin: 18px 0;
  border-radius: 20px;
  padding: 18px;
}

.quiz-result-card strong {
  display: block;
  margin-bottom: 6px;
}

.quiz-result-card p {
  margin: 0;
}

.quiz-result-card.passed {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.quiz-result-card.failed {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.quiz-main-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.quiz-tag {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.quiz-main-header h2 {
  color: #111827;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
}

.quiz-main-header p {
  color: #6b7280;
  margin: 0;
  max-width: 760px;
}

.modern-quiz-form {
  display: grid;
  gap: 22px;
}

.modern-question-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
}

.modern-question-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.modern-question-header > span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.modern-question-header h3 {
  color: #111827;
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.35;
}

.modern-options-grid {
  display: grid;
  gap: 12px;
}

.quiz-option {
  cursor: pointer;
  display: block;
}

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
  color: #374151;
  transition: 0.2s ease;
}

.quiz-option span strong {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.quiz-option:hover span,
.quiz-option input:checked + span {
  border-color: #ff3d00;
  background: #fff7ed;
  color: #111827;
}

.quiz-option input:checked + span strong {
  background: #ff3d00;
  color: #ffffff;
}

.quiz-submit-panel {
  background: #171717;
  color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.quiz-submit-panel h3 {
  color: #ffffff;
  margin: 0 0 8px;
}

.quiz-submit-panel p {
  color: #d1d5db;
  margin: 0;
}

.quiz-submit-panel button {
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: 1px solid #ff3d00;
  white-space: nowrap;
}

.quiz-submit-panel button:hover {
  background: #e63600;
}

@media (max-width: 1100px) {
  .quiz-hero-grid,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .quiz-sidebar-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .quiz-hero {
    padding: 56px 0;
  }

  .quiz-hero h1 {
    font-size: 38px;
  }

  .quiz-main-header,
  .quiz-submit-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .quiz-sidebar-card,
  .quiz-main-card {
    padding: 20px;
  }

  .modern-question-header {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .quiz-option span {
    grid-template-columns: 38px minmax(0, 1fr);
  }
}
/* =========================================================
   CERTIFICATE PAGE STYLE
   certificate.php
   ========================================================= */

.certificate-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.certificate-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.certificate-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.certificate-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.certificate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.certificate-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.certificate-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.certificate-code-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.certificate-code-card span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.certificate-code-card strong {
  display: block;
  color: #111827;
  font-size: 26px;
  line-height: 1.2;
  word-break: break-word;
}

.certificate-code-card p {
  color: #6b7280;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.certificate-page-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.certificate-preview-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.certificate-ribbon {
  background: #171717;
  color: #ffffff;
  padding: 16px 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.certificate-inner-border {
  margin: 28px;
  padding: 34px;
  border: 2px solid #111827;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 237, 213, 0.8), transparent 28%),
    #ffffff;
}

.certificate-top-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.certificate-logo-mark {
  width: 62px;
  height: 62px;
  min-width: 62px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #064e3b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 28px;
  font-weight: 900;
}

.certificate-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.certificate-top-brand strong {
  display: block;
  color: #111827;
  font-size: 18px;
}

.certificate-top-brand span {
  display: block;
  color: #6b7280;
  font-size: 14px;
  margin-top: 4px;
}

.certificate-main-text {
  text-align: center;
  padding: 18px 0 30px;
}

.certificate-small-title {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
}

.certificate-main-text p {
  color: #6b7280;
  font-size: 17px;
  margin: 18px 0 10px;
}

.certificate-main-text h2 {
  display: inline-block;
  color: #111827;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 8px 0;
  border-bottom: 3px solid #ff3d00;
  padding-bottom: 10px;
}

.certificate-main-text h3 {
  color: #064e3b;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  margin: 12px auto;
  max-width: 900px;
}

.certificate-description {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.7;
}

.certificate-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 36px;
}

.certificate-details-grid div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.certificate-details-grid span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.certificate-details-grid strong {
  display: block;
  color: #111827;
  font-size: 14px;
  word-break: break-word;
}

.certificate-signature-row {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: flex-end;
  border-top: 1px solid #e5e7eb;
  padding-top: 32px;
}

.signature-block {
  min-width: 260px;
  text-align: center;
}

.signature-line {
  height: 1px;
  background: #111827;
  margin-bottom: 10px;
}

.signature-block strong {
  display: block;
  color: #111827;
}

.signature-block span {
  color: #6b7280;
  font-size: 13px;
}

.certificate-verify-box {
  background: #171717;
  color: #ffffff;
  border-radius: 18px;
  padding: 18px;
  min-width: 260px;
}

.certificate-verify-box span {
  display: block;
  color: #d1d5db;
  font-size: 13px;
  margin-bottom: 6px;
}

.certificate-verify-box strong {
  color: #ffffff;
  word-break: break-word;
}

.certificate-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.certificate-action-card,
.certificate-info-card,
.certificate-note-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.certificate-action-card h3,
.certificate-info-card h3,
.certificate-note-card h3 {
  color: #111827;
  margin-top: 0;
}

.certificate-action-card p,
.certificate-note-card p {
  color: #6b7280;
}

.certificate-action-buttons {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.certificate-info-list {
  display: grid;
  gap: 12px;
}

.certificate-info-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
}

.certificate-info-list strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.certificate-info-list span {
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .certificate-hero-grid,
  .certificate-layout {
    grid-template-columns: 1fr;
  }

  .certificate-sidebar {
    position: static;
  }

  .certificate-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .certificate-hero {
    padding: 56px 0;
  }

  .certificate-hero h1 {
    font-size: 38px;
  }

  .certificate-inner-border {
    margin: 18px;
    padding: 22px;
  }

  .certificate-top-brand,
  .certificate-signature-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .signature-block,
  .certificate-verify-box {
    width: 100%;
    min-width: 0;
  }

  .certificate-main-text h2 {
    font-size: 40px;
  }
}
/* =========================================================
   VERIFY CERTIFICATE PAGE STYLE
   verify_certificate.php
   ========================================================= */

.verify-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.verify-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.verify-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.verify-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.verify-hero-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.verify-hero-card > span {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.verify-hero-card strong {
  display: block;
  color: #111827;
  font-size: 28px;
  line-height: 1.15;
  margin: 16px 0 8px;
}

.verify-hero-card p {
  color: #6b7280;
  margin: 0;
  font-size: 15px;
}

.verify-page-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.verify-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.verify-main-card,
.verify-info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.verify-card-header h2 {
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}

.verify-card-header p {
  color: #6b7280;
  margin: 0 0 24px;
}

.verify-modern-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.verify-modern-form button {
  width: fit-content;
  background: #ff3d00;
  color: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 900;
  border: 1px solid #ff3d00;
}

.verify-modern-form button:hover {
  background: #e63600;
}

.verify-result-card {
  margin-top: 28px;
  border-radius: 26px;
  padding: 24px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid #e5e7eb;
}

.verify-result-card.verified {
  background: #f0fdf4;
  border-color: #86efac;
}

.verify-result-card.not-found {
  background: #fef2f2;
  border-color: #fecaca;
}

.verify-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
}

.verify-result-card.verified .verify-result-icon {
  background: #16a34a;
}

.verify-result-card.not-found .verify-result-icon {
  background: #dc2626;
}

.verify-result-content h3 {
  color: #111827;
  font-size: 28px;
  margin: 14px 0 8px;
}

.verify-result-content p {
  color: #4b5563;
  line-height: 1.7;
}

.verify-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.verify-details-grid div {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
}

.verify-details-grid strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.verify-details-grid span {
  color: #6b7280;
  word-break: break-word;
}

.verify-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.verify-info-card h3 {
  color: #111827;
  margin: 0 0 14px;
}

.verify-info-card p {
  color: #6b7280;
  line-height: 1.7;
}

.verify-steps {
  display: grid;
  gap: 14px;
}

.verify-steps div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.verify-steps span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.verify-steps p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .verify-hero-grid,
  .verify-layout {
    grid-template-columns: 1fr;
  }

  .verify-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .verify-hero {
    padding: 56px 0;
  }

  .verify-hero h1 {
    font-size: 38px;
  }

  .verify-result-card,
  .verify-details-grid {
    grid-template-columns: 1fr;
  }

  .verify-main-card,
  .verify-info-card {
    padding: 22px;
  }
}
/* =========================================================
   PAYMENT GUIDE PAGE STYLE
   payment-guide.php
   ========================================================= */

.payment-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.payment-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: center;
}

.payment-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.payment-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.payment-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.payment-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.payment-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.payment-bank-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.payment-bank-card > span {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.payment-bank-card h3 {
  color: #111827;
  font-size: 30px;
  margin: 16px 0;
}

.payment-bank-list {
  display: grid;
  gap: 12px;
}

.payment-bank-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 15px;
}

.payment-bank-list strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.payment-bank-list p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

.payment-page-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.payment-page-section-white {
  background: #ffffff;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  align-items: start;
}

.payment-main-card,
.payment-method-card,
.payment-reminder-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.payment-section-header {
  margin-bottom: 28px;
}

.payment-section-header h2 {
  color: #111827;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 10px;
}

.payment-section-header p {
  color: #6b7280;
  margin: 0;
  max-width: 760px;
}

.payment-steps-modern {
  display: grid;
  gap: 16px;
}

.payment-step-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: #f8fafc;
}

.payment-step-card > span {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.payment-step-card h3 {
  color: #111827;
  margin: 0 0 8px;
}

.payment-step-card p {
  color: #6b7280;
  margin: 0;
}

.payment-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.payment-method-card h3 {
  color: #111827;
  margin: 0 0 16px;
}

.payment-method-card p {
  color: #6b7280;
  line-height: 1.7;
}

.payment-method-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
}

.payment-method-box > span {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.payment-method-box h4 {
  color: #111827;
  font-size: 22px;
  margin: 12px 0;
}

.payment-clean-list {
  margin: 0;
  padding-left: 20px;
  color: #6b7280;
  line-height: 1.9;
}

.payment-reminder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.payment-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 16px;
}

.payment-reminder-card h3 {
  color: #111827;
  margin: 0 0 8px;
}

.payment-reminder-card p {
  color: #6b7280;
  margin: 0;
}

.payment-cta-card {
  background: #171717;
  color: #ffffff;
  border-radius: 30px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.payment-cta-card h2 {
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 18px 0 10px;
}

.payment-cta-card p {
  color: #d1d5db;
  max-width: 760px;
}

.payment-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-cta-card .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.payment-cta-card .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

@media (max-width: 1100px) {
  .payment-hero-grid,
  .payment-layout {
    grid-template-columns: 1fr;
  }

  .payment-sidebar {
    position: static;
  }

  .payment-reminder-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .payment-hero {
    padding: 56px 0;
  }

  .payment-hero h1 {
    font-size: 38px;
  }

  .payment-step-card,
  .payment-reminder-grid {
    grid-template-columns: 1fr;
  }

  .payment-main-card,
  .payment-method-card,
  .payment-reminder-card {
    padding: 22px;
  }
}
/* =========================================================
   SUBMIT PAYMENT PAGE STYLE
   submit-payment.php
   ========================================================= */

.submit-payment-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.submit-payment-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.submit-payment-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.submit-payment-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.submit-payment-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.submit-payment-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.submit-payment-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.submit-payment-summary-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.submit-payment-summary-card span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.submit-payment-summary-card strong {
  display: block;
  color: #111827;
  font-size: 38px;
  line-height: 1;
}

.submit-payment-summary-card p {
  color: #6b7280;
  margin: 14px 0 0;
  font-size: 15px;
}

.submit-payment-section {
  background: #f8fafc;
  padding: 58px 0 84px;
}

.submit-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  align-items: start;
}

.submit-payment-main-card,
.submit-payment-side-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.submit-payment-header h2 {
  color: #111827;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 14px 0 8px;
}

.submit-payment-header p {
  color: #6b7280;
  margin: 0 0 24px;
}

.submit-course-box {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 24px;
}

.course-chip {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
}

.submit-course-box h3 {
  color: #111827;
  margin: 14px 0 8px;
  font-size: 24px;
}

.submit-course-box p {
  color: #6b7280;
  margin: 0;
}

.submit-course-price {
  min-width: 190px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  text-align: right;
}

.submit-course-price span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.submit-course-price strong {
  color: #111827;
  font-size: 24px;
}

.latest-payment-box {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 24px;
}

.latest-payment-box h3 {
  color: #111827;
  margin: 14px 0 8px;
}

.latest-payment-box p {
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

.submit-payment-form {
  display: grid;
  gap: 18px;
}

.submit-payment-confirm-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px;
}

.submit-payment-confirm-box h3 {
  color: #111827;
  margin: 0 0 12px;
}

.submit-payment-confirm-box ul {
  color: #6b7280;
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.submit-payment-form button[type="submit"] {
  width: fit-content;
  background: #ff3d00;
  color: #ffffff;
  border: 1px solid #ff3d00;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  font-size: 16px;
}

.submit-payment-form button[type="submit"]:hover {
  background: #e63600;
}

.submit-payment-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.submit-payment-side-card h3 {
  color: #111827;
  margin: 0 0 16px;
}

.submit-payment-side-card p {
  color: #6b7280;
  line-height: 1.7;
}

.submit-status-list {
  display: grid;
  gap: 12px;
}

.submit-status-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
}

.submit-status-list strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.submit-status-list span {
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .submit-payment-hero-grid,
  .submit-payment-layout {
    grid-template-columns: 1fr;
  }

  .submit-payment-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .submit-payment-hero {
    padding: 56px 0;
  }

  .submit-payment-hero h1 {
    font-size: 38px;
  }

  .submit-course-box,
  .latest-payment-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-course-price {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .submit-payment-main-card,
  .submit-payment-side-card {
    padding: 22px;
  }
}
/* =========================================================
   LEARNER DASHBOARD PAGE STYLE
   dashboard.php
   ========================================================= */

.learner-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.learner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.learner-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.learner-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.learner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.learner-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.learner-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.learner-profile-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.learner-avatar {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ff3d00;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  flex-shrink: 0;
}

.learner-profile-card h3 {
  color: #111827;
  margin: 0 0 4px;
}

.learner-profile-card p {
  color: #6b7280;
  margin: 0 0 8px;
  font-size: 14px;
}

.learner-profile-card span {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.learner-section {
  background: #f8fafc;
  padding: 58px 0;
}

.learner-section-soft {
  background: #ffffff;
}

.learner-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.learner-stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.learner-stat-card span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.learner-stat-card strong {
  display: block;
  color: #111827;
  font-size: 42px;
  line-height: 1;
}

.learner-stat-card p {
  color: #6b7280;
  margin: 12px 0 0;
  font-size: 14px;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.dashboard-sidebar-card,
.dashboard-content-area,
.learner-course-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.dashboard-sidebar-card {
  position: sticky;
  top: 100px;
}

.dashboard-sidebar-card h3 {
  color: #111827;
  margin: 0 0 18px;
  font-size: 24px;
}

.dashboard-menu {
  display: grid;
  gap: 10px;
}

.dashboard-menu a {
  display: block;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
}

.dashboard-menu a.active,
.dashboard-menu a:hover {
  background: #ff3d00;
  border-color: #ff3d00;
  color: #ffffff;
}

.dashboard-help-box {
  margin-top: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 18px;
}

.dashboard-help-box strong {
  color: #111827;
}

.dashboard-help-box p {
  color: #6b7280;
  margin: 8px 0 12px;
}

.dashboard-help-box a {
  color: #ff3d00;
  font-weight: 900;
  text-decoration: none;
}

.learner-course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.learner-course-card {
  display: flex;
  flex-direction: column;
}

.learner-course-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.learner-course-card h3 {
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.learner-course-card p {
  color: #6b7280;
}

.learner-progress-block {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.progress-label span,
.progress-label strong {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.learner-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.learner-course-meta span {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.learner-status-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: auto 0 18px;
}

.learner-status-list div {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 13px;
}

.learner-status-list strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 6px;
}

.learner-status-list span {
  color: #6b7280;
  font-size: 14px;
}

.learner-course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1200px) {
  .learner-stats-grid,
  .learner-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .learner-hero {
    padding: 56px 0;
  }

  .learner-hero-grid,
  .learner-stats-grid,
  .learner-course-grid,
  .learner-status-list {
    grid-template-columns: 1fr;
  }

  .learner-hero h1 {
    font-size: 38px;
  }

  .learner-profile-card,
  .learner-course-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-sidebar-card,
  .dashboard-content-area,
  .learner-course-card {
    padding: 22px;
  }
}
/* =========================================================
   MY COURSES PAGE STYLE
   my_courses.php
   ========================================================= */

.compact-learner-hero {
  padding: 64px 0;
}

.my-course-list {
  display: grid;
  gap: 24px;
}

.my-course-wide-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.my-course-visual {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 90, 10, 0.35), transparent 28%),
    linear-gradient(135deg, #171717, #064e3b);
  color: #ffffff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.my-course-category {
  display: inline-flex;
  width: fit-content;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.my-course-progress-number {
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.my-course-body {
  padding: 28px;
}

.my-course-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.my-course-body h3 {
  color: #111827;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.my-course-body p {
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1000px) {
  .my-course-wide-card {
    grid-template-columns: 1fr;
  }

  .my-course-visual {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  .my-course-body {
    padding: 22px;
  }

  .my-course-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .my-course-progress-number {
    font-size: 44px;
  }
}
/* =========================================================
   ADMIN DASHBOARD PAGE STYLE
   admin/index.php
   ========================================================= */

.admin-hero {
  background: #171717;
  color: #ffffff;
  padding: 72px 0;
}

.admin-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.admin-eyebrow {
  display: inline-flex;
  background: #ff3d00;
  color: #ffffff;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.admin-hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}

.admin-hero p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
  max-width: 820px;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.admin-hero-actions .button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.admin-hero-actions .button-outline:hover {
  background: #ffffff;
  color: #111827;
}

.admin-profile-card {
  background: #ffffff;
  color: #111827;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.25);
}

.admin-avatar {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ff3d00;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  flex-shrink: 0;
}

.admin-profile-card h3 {
  color: #111827;
  margin: 0 0 4px;
}

.admin-profile-card p {
  color: #6b7280;
  margin: 0 0 8px;
  font-size: 14px;
}

.admin-profile-card span {
  display: inline-flex;
  background: #ecfdf5;
  color: #064e3b;
  border: 1px solid #bbf7d0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.admin-section {
  background: #f8fafc;
  padding: 58px 0;
}

.admin-section-soft {
  background: #ffffff;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.admin-stat-card.urgent {
  border-color: #fed7aa;
  background: #fff7ed;
}

.admin-stat-card span {
  display: block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.admin-stat-card strong {
  display: block;
  color: #111827;
  font-size: 42px;
  line-height: 1;
}

.admin-stat-card p {
  color: #6b7280;
  margin: 12px 0 0;
  font-size: 14px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.admin-sidebar-card,
.admin-content-area,
.admin-panel-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.admin-sidebar-card {
  position: sticky;
  top: 100px;
}

.admin-sidebar-card h3 {
  color: #111827;
  margin: 0 0 18px;
  font-size: 24px;
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu a {
  display: block;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: 14px;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: #ff3d00;
  border-color: #ff3d00;
  color: #ffffff;
}

.admin-help-box {
  margin-top: 22px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 18px;
}

.admin-help-box strong {
  color: #111827;
}

.admin-help-box p {
  color: #6b7280;
  margin: 8px 0 12px;
}

.admin-help-box a {
  color: #ff3d00;
  font-weight: 900;
  text-decoration: none;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.admin-action-card {
  display: block;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  color: #111827;
  transition: 0.2s ease;
}

.admin-action-card:hover {
  background: #171717;
  border-color: #171717;
  color: #ffffff;
  transform: translateY(-2px);
}

.admin-action-card.payment {
  background: #fff7ed;
  border-color: #fed7aa;
}

.admin-action-card.payment:hover {
  background: #ff3d00;
  border-color: #ff3d00;
}

.admin-action-card span {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.admin-action-card:hover span {
  background: #ff3d00;
}

.admin-action-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.admin-action-card p {
  margin: 0;
  color: #6b7280;
}

.admin-action-card:hover p {
  color: #d1d5db;
}

.admin-mini-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.admin-mini-stat {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  text-align: center;
}

.admin-mini-stat strong {
  display: block;
  color: #111827;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
}

.admin-mini-stat span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.admin-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.admin-panel-header h3 {
  color: #111827;
  font-size: 24px;
  margin: 12px 0 0;
}

.admin-panel-header a {
  color: #ff3d00;
  font-weight: 900;
  text-decoration: none;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 14px;
}

.admin-list-item strong {
  display: block;
  color: #111827;
  margin-bottom: 4px;
}

.admin-list-item span {
  display: block;
  color: #6b7280;
  font-size: 14px;
}

.admin-list-item small {
  display: block;
  color: #9ca3af;
  font-size: 12px;
  margin-top: 4px;
}

.admin-list-status {
  text-align: right;
  min-width: 120px;
}

@media (max-width: 1200px) {
  .admin-stats-grid,
  .admin-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-mini-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-panels-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .admin-hero {
    padding: 56px 0;
  }

  .admin-hero-grid,
  .admin-stats-grid,
  .admin-action-grid,
  .admin-mini-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero h1 {
    font-size: 38px;
  }

  .admin-profile-card,
  .admin-list-item,
  .admin-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-list-status {
    text-align: left;
  }

  .admin-sidebar-card,
  .admin-content-area,
  .admin-panel-card {
    padding: 22px;
  }
}
/* =========================================================
   ADMIN COURSES PAGE STYLE
   admin/courses.php
   ========================================================= */

.admin-course-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-create-card,
.admin-list-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.admin-form-header {
  margin-bottom: 22px;
}

.admin-form-header h3 {
  color: #111827;
  font-size: 28px;
  line-height: 1.1;
  margin: 14px 0 8px;
}

.admin-form-header p {
  color: #6b7280;
  margin: 0;
}

.admin-modern-form {
  display: grid;
  gap: 18px;
}

.admin-form-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.admin-modern-form button[type="submit"] {
  width: fit-content;
  background: #ff3d00;
  color: #ffffff;
  border: 1px solid #ff3d00;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 900;
  font-size: 16px;
}

.admin-modern-form button[type="submit"]:hover {
  background: #e63600;
}

.admin-count-badge {
  display: inline-flex;
  background: #171717;
  color: #ffffff;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.admin-course-list {
  display: grid;
  gap: 16px;
}

.admin-course-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 20px;
}

.admin-course-item-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-course-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}

.admin-course-item h4 {
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
  margin: 12px 0 8px;
}

.admin-course-item p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.admin-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-course-meta span {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.admin-course-actions {
  display: grid;
  gap: 10px;
  min-width: 120px;
}

.admin-course-actions .button {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
}

.admin-delete-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #dc2626;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  text-decoration: none;
  font-size: 14px;
}

.admin-delete-link:hover {
  background: #dc2626;
  color: #ffffff;
}

@media (max-width: 1200px) {
  .admin-course-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-course-item,
  .admin-course-item-main {
    grid-template-columns: 1fr;
  }

  .admin-course-actions {
    width: 100%;
  }

  .admin-form-2col {
    grid-template-columns: 1fr;
  }

  .admin-create-card,
  .admin-list-card {
    padding: 22px;
  }
}