/* ===== TRANG CHI TIET LOP HOC ===== */

.ctlop-page {
  background:
    radial-gradient(circle at top left, rgba(240, 124, 26, 0.10), transparent 28%),
    linear-gradient(180deg, #f6f8fc 0%, #eef2f8 100%);
  min-height: 70vh;
  padding: 0 0 72px;
  font-family: 'Roboto', Arial, sans-serif;
}

.ctlop-page a,
.ctlop-page button,
.ctlop-page div,
.ctlop-page span,
.ctlop-page p,
.ctlop-page h1,
.ctlop-page h2,
.ctlop-page h3 {
  font-family: inherit;
}

.ctlop-breadcrumb {
  padding-top: 12px;
  font-size: 0.84rem;
  color: #7f8aa3;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ctlop-breadcrumb a {
  color: #18386d;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ctlop-breadcrumb a:hover {
  color: var(--orange);
}

.ctlop-breadcrumb i {
  font-size: 0.65rem;
  color: #b3bbca;
}

.ctlop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  margin-top: 24px;
  align-items: start;
}

.ctlop-main-card,
.ctlop-register-box,
.ctlop-contact-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(19, 48, 94, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 39, 79, 0.10);
}

.ctlop-card-body {
  padding: 30px;
}

.ctlop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.ctlop-class-code {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ctlop-class-code-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #7f8aa3;
}

.ctlop-class-code-value {
  font-size: 1.55rem;
  font-weight: 900;
  color: #132e5e;
  line-height: 1;
}

.ctlop-class-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.ctlop-class-status.status-open {
  background: #274a8f;
}

.ctlop-class-status.status-done {
  background: var(--orange);
}

.ctlop-section-title {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f7;
  color: #8691a8;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.2px;
}

.ctlop-info-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.ctlop-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
  border: 1px solid #edf1f7;
}

.ctlop-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(240, 124, 26, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctlop-info-icon i {
  color: var(--orange);
  font-size: 1rem;
}

.ctlop-info-content {
  flex: 1;
}

.ctlop-info-label {
  margin-bottom: 4px;
  color: #8b95ab;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.1px;
}

.ctlop-info-val {
  color: #132e5e;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.ctlop-info-val.highlight {
  color: var(--orange);
  font-size: 1.08rem;
}

.ctlop-reqs {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfcff 0%, #f4f7fd 100%);
  border: 1px solid #e8edf6;
}

.ctlop-reqs-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #133062;
  font-size: 0.98rem;
  font-weight: 900;
}

.ctlop-reqs-title i {
  color: var(--orange);
}

.ctlop-reqs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctlop-req-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #41506b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.ctlop-req-item i {
  color: var(--orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.ctlop-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  border-radius: 0 16px 16px 0;
  background: rgba(240, 124, 26, 0.08);
  color: #4c5568;
  font-size: 0.9rem;
  line-height: 1.65;
}

.ctlop-note strong {
  color: #132e5e;
}

.ctlop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ctlop-register-box {
  overflow: hidden;
}

.ctlop-register-header {
  padding: 22px 22px 18px;
  background:
    linear-gradient(135deg, rgba(240, 124, 26, 0.96) 0%, rgba(255, 152, 53, 0.96) 100%);
  text-align: left;
}

.ctlop-register-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.1px;
}

.ctlop-register-header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.55;
}

.ctlop-register-body {
  padding: 22px;
}

.ctlop-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.ctlop-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ctlop-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(240, 124, 26, 0.12);
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctlop-step-content {
  flex: 1;
  padding-top: 3px;
}

.ctlop-step-title {
  margin-bottom: 3px;
  color: #163568;
  font-size: 0.92rem;
  font-weight: 800;
}

.ctlop-step-desc {
  color: #73809a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.btn-dang-ky-lop,
.btn-lien-he-tv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-dang-ky-lop {
  padding: 15px 18px;
  border: none;
  background: linear-gradient(135deg, var(--orange) 0%, #ff9c3d 100%);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 14px 28px rgba(240, 124, 26, 0.25);
  margin-bottom: 12px;
}

.btn-dang-ky-lop:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(240, 124, 26, 0.30);
}

.btn-lien-he-tv {
  padding: 13px 18px;
  background: #fff;
  border: 1.5px solid #d4dbea;
  color: #153264;
  font-size: 0.92rem;
  font-weight: 800;
}

.btn-lien-he-tv:hover {
  transform: translateY(-2px);
  background: #f7f9fd;
}

.ctlop-modal-open {
  overflow: hidden;
}

.ctlop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 41, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9998;
}

.ctlop-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.ctlop-modal-overlay.active,
.ctlop-modal.active {
  opacity: 1;
  visibility: visible;
}

.ctlop-modal-dialog {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(10, 31, 68, 0.28);
  overflow: hidden;
}

.ctlop-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: #1d3f7a;
  border-bottom: 3px solid var(--orange);
}

.ctlop-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f8fbff;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.5;
}

.ctlop-modal-title i {
  color: var(--orange);
}

.ctlop-modal-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #fff;
  cursor: pointer;
}

.ctlop-modal-form {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ctlop-modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ctlop-modal-field label {
  color: #163568;
  font-size: 0.92rem;
  font-weight: 800;
}

.ctlop-modal-field label span {
  color: var(--orange);
}

.ctlop-modal-field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6deeb;
  border-radius: 12px;
  background: #f7f9fc;
  color: #163568;
  font: inherit;
  outline: none;
}

.ctlop-modal-field input:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(240,124,26,0.12);
}

.ctlop-modal-submit,
.ctlop-modal-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ctlop-modal-submit {
  width: 100%;
  border: none;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
}

.ctlop-modal-success {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.28);
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 700;
}

.ctlop-success-dialog {
  width: min(460px, 100%);
  padding: 30px 26px 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(10, 31, 68, 0.28);
  text-align: center;
}

.ctlop-success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,0.12);
  color: #16a34a;
  font-size: 2rem;
}

.ctlop-success-dialog h3 {
  margin: 0 0 10px;
  color: #163568;
  font-size: 1.35rem;
  font-weight: 900;
}

.ctlop-success-dialog p {
  margin: 0 0 20px;
  color: #5b6984;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ctlop-success-btn {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.ctlop-modal-empty {
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f2;
  text-align: center;
}

.ctlop-modal-empty p {
  margin: 0 0 14px;
  color: #5b6984;
  font-size: 0.92rem;
  font-weight: 700;
}

.ctlop-modal-register-btn {
  width: 100%;
  background: #163568;
  color: #fff;
}

.ctlop-contact-card {
  padding: 22px;
}

.ctlop-contact-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f7;
  color: #163568;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.1px;
}

.ctlop-contact-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ctlop-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctlop-contact-row i {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(240, 124, 26, 0.10);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctlop-contact-label {
  margin-bottom: 2px;
  color: #8b95ab;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.1px;
}

.ctlop-contact-row a,
.ctlop-contact-text {
  color: #153264;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.ctlop-contact-row a:hover {
  color: var(--orange);
}

@media (max-width: 1024px) {
  .ctlop-layout {
    grid-template-columns: 1fr;
  }

  .ctlop-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .ctlop-info-table {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ctlop-topbar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .ctlop-class-status {
    min-width: 0;
    max-width: 140px;
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  .ctlop-class-code-value {
    font-size: 1.25rem;
  }

  .ctlop-main-card,
  .ctlop-register-box,
  .ctlop-contact-card {
    border-radius: 20px;
  }

  .ctlop-card-body,
  .ctlop-register-body,
  .ctlop-contact-card {
    padding: 18px;
  }

  .ctlop-register-header {
    padding: 18px;
  }

  .ctlop-sidebar {
    grid-template-columns: 1fr;
  }

  .ctlop-section-title {
    font-size: 0.88rem;
  }

  .ctlop-info-row {
    gap: 12px;
    padding: 14px;
  }

  .ctlop-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .ctlop-info-icon i {
    font-size: 0.92rem;
  }

  .ctlop-info-label {
    font-size: 0.74rem;
  }

  .ctlop-info-val {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .ctlop-modal {
    padding: 14px;
  }

  .ctlop-modal-head,
  .ctlop-modal-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ctlop-modal-title {
    font-size: 0.92rem;
  }
}
#ctlopRegisterAgainBtn {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  background: #163b78;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

#ctlopRegisterAgainBtn:hover {
  color: #fff;
  text-decoration: none;
}
.ctlop-success-icon.is-success {
  background: #dcfce7;
  color: #16a34a;
}

.ctlop-success-icon.is-error {
  background: #fee2e2;
  color: #dc2626;
}

.ctlop-success-icon.is-info {
  background: #dbeafe;
  color: #2563eb;
}

#ctlopRegisterAgainBtn {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  background: #163b78;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

#ctlopRegisterAgainBtn:hover {
  color: #fff;
  text-decoration: none;
}