:root {
  --opp-navy: #061a36;
  --opp-blue: #0b3d73;
  --opp-blue-2: #0f5ea8;
  --opp-orange: #ef6603;
  --opp-gold: #ffc107;
  --opp-bg: #f5f7fb;
  --opp-card: #ffffff;
  --opp-text: #172033;
  --opp-muted: #6b7280;
  --opp-border: rgba(15, 46, 86, 0.12);
  --opp-shadow: 0 24px 70px rgba(4, 18, 42, 0.14);
  --opp-shadow-soft: 0 14px 40px rgba(4, 18, 42, 0.09);
  --opp-radius-xl: 32px;
  --opp-radius-lg: 24px;
  --opp-radius-md: 18px;
}

/* =========================================================
   GLOBAL
========================================================= */

.opp-page,
body.opp-page {
  background: var(--opp-bg);
}

.opp-page .section {
  position: relative;
}

.opp-page .section-title h2 {
  color: var(--opp-orange);
  letter-spacing: .08em;
}

.opp-page .section-title p {
  color: var(--opp-navy);
  font-weight: 800;
}

.opp-page .section-title p::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--opp-orange), var(--opp-gold));
}

/* =========================================================
   HERO
========================================================= */

.opp-hero-premium {
  min-height: 94vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(239, 102, 3, .28), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(15, 94, 168, .35), transparent 35%),
    linear-gradient(135deg, #031125 0%, #071b3a 55%, #0b2d5c 100%);
}

.opp-hero-premium .carousel,
.opp-hero-premium .carousel-inner,
.opp-hero-premium .carousel-item {
  min-height: 94vh;
}

.opp-hero-bg,
.opp-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opp-hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.carousel-item.active .opp-hero-bg {
  animation: oppHeroZoom 7s ease-out forwards;
}

@keyframes oppHeroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.01); }
}

.opp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 13, 31, .92) 0%, rgba(3, 13, 31, .74) 45%, rgba(3, 13, 31, .42) 100%),
    radial-gradient(circle at 80% 30%, rgba(239, 102, 3, .28), transparent 28%);
}

.opp-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}

.opp-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 980px;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding-top: 100px;
  padding-bottom: 130px;
}

.opp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 24px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
  font-weight: 700;
}

.opp-hero-badge i {
  color: var(--opp-gold);
  font-size: 1.15rem;
}

.opp-hero-inner h2 {
  max-width: 940px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.opp-hero-inner p {
  max-width: 780px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.72;
}

.opp-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.opp-hero-facts div {
  min-width: 148px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
}

.opp-hero-facts strong {
  display: block;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
}

.opp-hero-facts span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.opp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.opp-hero-actions .btn-get-started,
.opp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s ease;
  text-decoration: none;
}

.opp-hero-actions .btn-get-started {
  color: #fff;
  background: linear-gradient(135deg, var(--opp-orange), #ff8b2c);
  box-shadow: 0 16px 38px rgba(239, 102, 3, .34);
}

.opp-hero-actions .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(239, 102, 3, .44);
}

.opp-btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

.opp-btn-outline:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .18);
}

.opp-floating-edit-btn {
  position: absolute;
  right: 26px;
  top: 92px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 999px;
  color: #1f2937;
  background: #ffc107;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  font-weight: 800;
  text-decoration: none;
}

.opp-floating-edit-btn:hover {
  color: #111827;
  transform: translateY(-2px);
}

.opp-hero-premium .carousel-control-prev,
.opp-hero-premium .carousel-control-next {
  z-index: 10;
  width: 58px;
  height: 58px;
  top: auto;
  bottom: 96px;
  opacity: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18);
}

.opp-hero-premium .carousel-control-prev {
  left: auto;
  right: 104px;
}

.opp-hero-premium .carousel-control-next {
  right: 34px;
}

/* =========================================================
   QUICK NAV
========================================================= */

.opp-quick-nav-wrap {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 0;
  background: rgba(246, 248, 251, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 46, 86, .08);
}

.opp-quick-nav {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.opp-quick-nav::-webkit-scrollbar {
  display: none;
}

.opp-quick-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--opp-navy);
  background: #fff;
  border: 1px solid var(--opp-border);
  box-shadow: 0 8px 24px rgba(4, 18, 42, .06);
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.opp-quick-nav a:hover,
.opp-quick-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  transform: translateY(-2px);
}

/* =========================================================
   CARDS / COMMON
========================================================= */

.opp-info-panel,
.opp-stat-card,
.opp-accreditation-mini,
.opp-employment-card,
.opp-guarantor-card,
.opp-teacher-card,
.opp-ok-card,
.opp-document-row,
.opp-document-panel,
.opp-cta-card,
.opp-table-card,
.opp-survey-card,
.opp-rating-card {
  border: 1px solid var(--opp-border);
  background: rgba(255,255,255,.9);
  box-shadow: var(--opp-shadow-soft);
}

.opp-info-panel,
.opp-table-card,
.opp-document-panel,
.opp-survey-card {
  border-radius: var(--opp-radius-xl);
  padding: 32px;
}

.opp-section-badge,
.opp-card-label,
.opp-ok-type,
.opp-person-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--opp-blue);
  background: rgba(15, 94, 168, .09);
  border: 1px solid rgba(15, 94, 168, .14);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.opp-info-panel h3,
.opp-table-card h3,
.opp-survey-card h3,
.opp-rating-card h3 {
  margin-top: 16px;
  color: var(--opp-navy);
  font-weight: 900;
  letter-spacing: -.03em;
}

.opp-info-panel p,
.opp-employment-card p,
.opp-survey-card p,
.opp-rating-card p,
.opp-tab-header p {
  color: var(--opp-muted);
  line-height: 1.72;
}

.opp-mini-section {
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 94, 168, .08), rgba(239, 102, 3, .06));
}

.opp-mini-section h4 {
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.opp-check-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
}

.opp-check-list i {
  color: #16a34a;
  font-size: 1.1rem;
}

.opp-stat-card {
  min-height: 148px;
  border-radius: 26px;
  padding: 24px;
  transition: .25s ease;
}

.opp-stat-card:hover,
.opp-ok-card:hover,
.opp-document-row:hover,
.opp-teacher-card:hover,
.opp-rating-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--opp-shadow);
}

.opp-stat-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
}

.opp-stat-card strong {
  display: block;
  color: var(--opp-navy);
  font-size: 1.5rem;
  font-weight: 900;
}

.opp-stat-card span {
  color: var(--opp-muted);
  font-weight: 700;
}

.opp-accreditation-mini,
.opp-employment-card {
  display: flex;
  gap: 18px;
  border-radius: 26px;
  padding: 24px;
}

.opp-accreditation-mini > div:first-child,
.opp-employment-card > i {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-orange), #ff9f43);
}

.opp-accreditation-mini h4,
.opp-employment-card h4 {
  color: var(--opp-navy);
  font-weight: 900;
}

/* =========================================================
   TEAM
========================================================= */

.opp-guarantor-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--opp-radius-xl);
  padding: 30px;
  text-align: center;
}

.opp-guarantor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(239,102,3,.14), transparent 38%),
    radial-gradient(circle at bottom left, rgba(15,94,168,.14), transparent 40%);
  pointer-events: none;
}

.opp-person-photo,
.opp-person-placeholder {
  position: relative;
  width: 138px;
  height: 138px;
  margin: 22px auto 20px;
  border-radius: 999px;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 20px 46px rgba(4, 18, 42, .18);
}

.opp-person-placeholder {
  display: grid;
  place-items: center;
  color: var(--opp-blue);
  background: #eef5ff;
  font-size: 3rem;
}

.opp-guarantor-card h3 {
  position: relative;
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-guarantor-card p {
  position: relative;
  color: var(--opp-muted);
}

.opp-teacher-card {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 18px;
  border-radius: 24px;
  transition: .25s ease;
}

.opp-teacher-card img,
.opp-teacher-avatar {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  object-fit: cover;
}

.opp-teacher-avatar {
  display: grid;
  place-items: center;
  color: var(--opp-blue);
  background: #eef5ff;
  font-size: 2rem;
}

.opp-teacher-card h4 {
  margin: 8px 0 4px;
  color: var(--opp-navy);
  font-size: 1rem;
  font-weight: 900;
}

.opp-teacher-card a,
.opp-inline-link {
  color: var(--opp-orange);
  font-weight: 800;
  text-decoration: none;
}

.opp-teacher-card a:hover,
.opp-inline-link:hover {
  color: var(--opp-blue);
}

/* =========================================================
   COMPONENTS / TABS
========================================================= */

.opp-components-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 94, 168, .08), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--opp-bg) 100%);
}

.opp-component-tabs {
  gap: 12px;
  margin-bottom: 0;
}

.opp-component-tabs .nav-item {
  padding: 0;
}

.opp-component-tabs .nav-link {
  min-height: 122px;
  border: 1px solid var(--opp-border);
  border-radius: 26px 26px 0 0;
  background: rgba(255,255,255,.78);
  color: var(--opp-navy);
  box-shadow: 0 10px 30px rgba(4,18,42,.06);
  transition: .25s ease;
}

.opp-component-tabs .nav-link i {
  display: block;
  margin-bottom: 10px;
  color: var(--opp-orange);
  font-size: 2rem;
}

.opp-component-tabs .nav-link h4 {
  color: inherit;
  font-weight: 900;
}

.opp-component-tabs .nav-link.active,
.opp-component-tabs .nav-link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  transform: translateY(-4px);
}

.opp-component-tabs .nav-link.active i,
.opp-component-tabs .nav-link:hover i {
  color: var(--opp-gold);
}

.opp-component-content {
  padding: 32px;
  border-radius: 0 0 var(--opp-radius-xl) var(--opp-radius-xl);
  background: #fff;
  border: 1px solid var(--opp-border);
  box-shadow: var(--opp-shadow-soft);
}

.opp-tab-header {
  margin-bottom: 28px;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(15, 94, 168, .08), rgba(239, 102, 3, .06));
}

.opp-tab-header h3 {
  margin-bottom: 6px;
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-ok-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  padding: 24px;
  transition: .25s ease;
}

.opp-ok-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--opp-orange), var(--opp-blue-2));
}

.opp-ok-card h4 {
  margin: 12px 0 10px;
  color: var(--opp-navy);
  font-weight: 900;
  letter-spacing: -.02em;
}

.opp-ok-note {
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--opp-blue);
  background: rgba(15,94,168,.08);
  font-weight: 700;
}

.opp-ok-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.opp-small-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  border: 1px solid transparent;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.opp-small-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15,94,168,.22);
}

.opp-small-btn.outline {
  color: var(--opp-blue);
  background: #fff;
  border-color: rgba(15,94,168,.22);
}

.opp-small-btn.outline:hover {
  color: #fff;
  background: var(--opp-blue);
}

.opp-small-btn.disabled {
  color: #94a3b8;
  background: #f1f5f9;
  border-color: #e2e8f0;
  pointer-events: none;
}

/* =========================================================
   DOCUMENTS / EMPTY STATE
========================================================= */

.opp-document-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  height: 100%;
  border-radius: 24px;
  padding: 18px;
  transition: .25s ease;
}

.opp-document-icon,
.opp-rating-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-orange), #ff9f43);
  font-size: 1.5rem;
}

.opp-document-row h4 {
  margin: 0 0 4px;
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-document-row p {
  margin: 0;
  color: var(--opp-muted);
}

.opp-empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  border-radius: var(--opp-radius-xl);
  color: var(--opp-muted);
  background:
    radial-gradient(circle at top right, rgba(239,102,3,.08), transparent 30%),
    #fff;
  border: 1px dashed rgba(15,46,86,.22);
}

.opp-empty-state.compact {
  min-height: 150px;
}

.opp-empty-state i {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 26px;
  color: var(--opp-blue);
  background: #eef5ff;
  font-size: 2rem;
}

.opp-empty-state h4 {
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-document-panel {
  overflow: hidden;
}

.opp-document-panel h4 {
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-scheme-preview {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--opp-border);
}

.opp-scheme-preview img {
  width: 100%;
  display: block;
  transition: .35s ease;
}

.opp-scheme-preview:hover img {
  transform: scale(1.035);
}

/* =========================================================
   MOBILITY / DISCUSSION / ACCREDITATION / RATINGS
========================================================= */

.opp-image-card {
  overflow: hidden;
  border-radius: var(--opp-radius-xl);
  min-height: 360px;
  background: linear-gradient(135deg, var(--opp-navy), var(--opp-blue));
  box-shadow: var(--opp-shadow);
}

.opp-image-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.opp-image-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.opp-image-placeholder i {
  font-size: 4rem;
  color: var(--opp-gold);
}

.opp-action-card {
  border-radius: 26px !important;
  overflow: hidden;
  transition: .25s ease;
}

.opp-action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--opp-shadow);
}

.opp-action-card h3 {
  color: var(--opp-navy);
  font-weight: 900;
}

.opp-table-card table {
  margin-bottom: 0;
}

.opp-table-card thead th {
  color: #fff;
  background: var(--opp-navy);
  border: 0;
}

.opp-survey-card {
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255,193,7,.16), transparent 34%),
    #fff;
}

.opp-survey-card > i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  font-size: 2rem;
}

.opp-accreditation {
  background:
    radial-gradient(circle at 12% 12%, rgba(239,102,3,.18), transparent 30%),
    linear-gradient(135deg, #041124 0%, #071b3a 55%, #092a55 100%);
}

.opp-accreditation .section-title h2,
.opp-accreditation .section-title p {
  color: #fff;
}

.opp-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.opp-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--opp-orange), var(--opp-gold), var(--opp-blue-2));
}

.opp-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 20px;
}

.opp-timeline-number {
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-orange), #ff9f43);
  box-shadow: 0 16px 36px rgba(239,102,3,.25);
  font-weight: 900;
  font-size: 1.25rem;
}

.opp-timeline-content {
  padding: 24px;
  border-radius: 26px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
}

.opp-timeline-content h3 {
  color: #fff;
  font-weight: 900;
}

.opp-timeline-link,
.opp-muted-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--opp-gold);
  font-weight: 900;
  text-decoration: none;
}

.opp-muted-light {
  color: rgba(255,255,255,.62);
}

.opp-rating-card {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 28px;
  border-radius: var(--opp-radius-xl);
  transition: .25s ease;
}

.opp-cta-card {
  display: flex;
  gap: 20px;
  align-items: center;
  border-radius: var(--opp-radius-xl);
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(15,94,168,.08), rgba(239,102,3,.08)),
    #fff;
}

.opp-cta-card > div:first-child {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-orange), #ff9f43);
  font-size: 2rem;
}

.opp-muted {
  color: #94a3b8;
  font-weight: 700;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
  .opp-hero-inner {
    min-height: 86vh;
    padding-top: 110px;
    padding-bottom: 120px;
    text-align: left;
  }

  .opp-hero-facts div {
    min-width: calc(50% - 8px);
  }

  .opp-floating-edit-btn {
    top: 84px;
    right: 14px;
  }

  .opp-component-content {
    padding: 20px;
  }

  .opp-component-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .opp-component-tabs .nav-link {
    min-height: 92px;
    border-radius: 22px;
  }

  .opp-document-row {
    grid-template-columns: 52px 1fr;
  }

  .opp-document-row .opp-small-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .opp-rating-card,
  .opp-cta-card,
  .opp-accreditation-mini,
  .opp-employment-card {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .opp-hero-inner h2 {
    font-size: 2.2rem;
  }

  .opp-hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .opp-hero-actions {
    width: 100%;
  }

  .opp-hero-actions a {
    width: 100%;
  }

  .opp-quick-nav-wrap {
    top: 64px;
  }

  .opp-info-panel,
  .opp-table-card,
  .opp-document-panel,
  .opp-survey-card {
    padding: 22px;
  }

  .opp-timeline::before {
    left: 24px;
  }

  .opp-timeline-item {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .opp-timeline-number {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opp-hero-bg,
  .opp-ok-card,
  .opp-document-row,
  .opp-teacher-card,
  .opp-rating-card,
  .opp-stat-card,
  .opp-small-btn,
  .opp-quick-nav a {
    animation: none !important;
    transition: none !important;
  }
}

/* ХЕРОУ */
.opp-hero-edit-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(239, 102, 3, .08), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(15, 94, 168, .09), transparent 30%),
    #f6f8fb;
}

.opp-edit-card {
  overflow: hidden;
  border-radius: 28px !important;
}

.opp-slide-edit-item {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(15, 46, 86, .12);
  background: #fff;
  box-shadow: 0 14px 40px rgba(4, 18, 42, .08);
}

.opp-slide-preview {
  overflow: hidden;
  height: 220px;
  border-radius: 22px;
  background: linear-gradient(135deg, #061a36, #0b3d73);
}

.opp-slide-preview img,
.opp-slide-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opp-slide-preview-empty {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .75);
  text-align: center;
}

.opp-slide-preview-empty i {
  display: block;
  font-size: 3rem;
  margin-bottom: 8px;
}

.opp-hero-edit-page .form-label {
  font-weight: 700;
  color: #071b3a;
}

.opp-hero-edit-page .form-control,
.opp-hero-edit-page .form-select {
  border-radius: 14px;
  border-color: rgba(15, 46, 86, .18);
}

.opp-hero-edit-page .form-control:focus,
.opp-hero-edit-page .form-select:focus {
  border-color: #0f5ea8;
  box-shadow: 0 0 0 .2rem rgba(15, 94, 168, .14);
}

/* Про програму  */
.opp-page-edit-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 102, 3, .08), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(15, 94, 168, .08), transparent 32%),
    #f6f8fb;
}

.opp-page-edit-section .form-label {
  font-weight: 800;
  color: #071b3a;
}

.opp-page-edit-section .form-control,
.opp-page-edit-section .form-select {
  border-radius: 16px;
  border-color: rgba(15, 46, 86, .16);
}

.opp-page-edit-section .form-control:focus,
.opp-page-edit-section .form-select:focus {
  border-color: #0f5ea8;
  box-shadow: 0 0 0 .2rem rgba(15, 94, 168, .14);
}

.opp-form-switch {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 46, 86, .12);
}

.opp-edit-help-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 7, .16), transparent 34%),
    #fff;
  border: 1px solid rgba(15, 46, 86, .12);
  box-shadow: 0 18px 50px rgba(4, 18, 42, .09);
}

.opp-edit-help-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #ef6603, #ff9f43);
  font-size: 1.9rem;
}

.opp-edit-help-card h4 {
  color: #071b3a;
  font-weight: 900;
}

.opp-edit-help-card p {
  color: #6b7280;
  line-height: 1.7;
}

.opp-edit-help-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.opp-edit-help-list div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #071b3a;
  font-weight: 700;
}

.opp-edit-help-list i {
  color: #16a34a;
}

/* =========================================================
   TEAM SECTION
   Гарант, проєктна група, НПП, роботодавці, стейкхолдери
========================================================= */

.opp-team-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(15, 94, 168, .08), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(239, 102, 3, .08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.opp-team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(6, 26, 54, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 26, 54, .035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

.opp-team-section .container {
  position: relative;
  z-index: 1;
}

/* =========================================================
   COMMON TEAM CARDS
========================================================= */

.opp-guarantor-card,
.opp-team-panel,
.opp-teacher-card {
  border: 1px solid var(--opp-border);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--opp-shadow-soft);
  backdrop-filter: blur(14px);
}

.opp-guarantor-card,
.opp-team-panel {
  border-radius: var(--opp-radius-xl);
}

.opp-guarantor-card,
.opp-teacher-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.opp-guarantor-card:hover,
.opp-teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--opp-shadow);
  border-color: rgba(15, 94, 168, .22);
}

/* =========================================================
   SECTION BADGES
========================================================= */

.opp-team-section .opp-section-badge,
.opp-team-section .opp-card-label,
.opp-team-section .opp-person-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.opp-team-section .opp-section-badge {
  color: var(--opp-blue);
  background: rgba(15, 94, 168, .09);
  border: 1px solid rgba(15, 94, 168, .14);
}

.opp-team-section .opp-card-label {
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  border: 0;
  box-shadow: 0 12px 28px rgba(15, 94, 168, .22);
}

.opp-team-section .opp-person-role {
  color: var(--opp-blue);
  background: rgba(15, 94, 168, .08);
  border: 1px solid rgba(15, 94, 168, .14);
  font-size: .68rem;
}

/* =========================================================
   GUARANTOR CARD
========================================================= */

.opp-guarantor-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 30px;
  text-align: center;
}

.opp-guarantor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(239, 102, 3, .14), transparent 38%),
    radial-gradient(circle at bottom left, rgba(15, 94, 168, .14), transparent 40%);
  pointer-events: none;
}

.opp-guarantor-card > * {
  position: relative;
  z-index: 1;
}

.opp-person-photo,
.opp-person-placeholder {
  width: 138px;
  height: 138px;
  margin: 22px auto 20px;
  border-radius: 999px;
  border: 6px solid #fff;
  box-shadow: 0 20px 46px rgba(4, 18, 42, .18);
}

.opp-person-photo {
  display: block;
  object-fit: cover;
}

.opp-person-placeholder {
  display: grid;
  place-items: center;
  color: var(--opp-blue);
  background: #eef5ff;
  font-size: 3rem;
}

.opp-guarantor-card h3 {
  margin: 0 0 10px;
  color: var(--opp-navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.opp-guarantor-card p {
  margin-bottom: 14px;
  color: var(--opp-muted);
  line-height: 1.6;
}

.opp-guarantor-card .opp-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--opp-orange);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.opp-guarantor-card .opp-inline-link:hover {
  color: var(--opp-blue);
}

/* =========================================================
   RIGHT TEAM PANEL
========================================================= */

.opp-team-panel {
  height: 100%;
  padding: 30px;
}

.opp-team-panel h3 {
  color: var(--opp-navy);
  font-weight: 900;
  letter-spacing: -.03em;
}

.opp-team-panel p {
  color: var(--opp-muted);
  line-height: 1.7;
}

/* =========================================================
   PERSON / TEACHER CARDS
========================================================= */

.opp-teacher-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  overflow: hidden;
  padding: 18px;
  border-radius: 24px;
}

.opp-teacher-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--opp-orange), var(--opp-blue-2));
  opacity: .9;
}

.opp-teacher-card > * {
  position: relative;
  z-index: 1;
}

.opp-teacher-photo-wrap {
  flex: 0 0 82px;
}

.opp-teacher-card img,
.opp-teacher-avatar {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  border: 4px solid #fff;
  box-shadow: 0 12px 26px rgba(4, 18, 42, .12);
}

.opp-teacher-card img {
  display: block;
  object-fit: cover;
}

.opp-teacher-avatar {
  display: grid;
  place-items: center;
  color: var(--opp-blue);
  background: #eef5ff;
  font-size: 2rem;
}

.opp-teacher-card h4 {
  margin: 9px 0 5px;
  color: var(--opp-navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3;
}

.opp-teacher-card p {
  margin-bottom: 8px;
  color: var(--opp-muted);
  line-height: 1.55;
}

.opp-team-email {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--opp-orange);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.opp-team-email:hover {
  color: var(--opp-blue);
}

/* =========================================================
   TEAM BUTTONS
========================================================= */

.opp-team-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
  font-weight: 800;
}

.opp-team-section .btn i {
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  place-items: unset !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 1rem !important;
  line-height: 1 !important;
}

.opp-team-section .btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  box-shadow: 0 12px 28px rgba(13, 110, 253, .22);
}

.opp-team-section .btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 110, 253, .28);
}

.opp-team-section .btn-outline-primary,
.opp-team-section .btn-outline-danger {
  border-width: 1px;
  transition: .2s ease;
}

.opp-team-section .btn-outline-primary {
  color: var(--opp-blue);
  border-color: rgba(15, 94, 168, .32);
}

.opp-team-section .btn-outline-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--opp-blue), var(--opp-blue-2));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 94, 168, .2);
}

.opp-team-section .btn-outline-danger {
  color: #dc3545;
  border-color: rgba(220, 53, 69, .28);
}

.opp-team-section .btn-outline-danger:hover {
  color: #fff;
  background: #dc3545;
  border-color: #dc3545;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(220, 53, 69, .18);
}

/* =========================================================
   TEAM EMPTY STATES
========================================================= */

.opp-team-section .opp-empty-state {
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 34px;
  text-align: center;
  border-radius: var(--opp-radius-xl);

  color: var(--opp-muted);
  background:
    radial-gradient(circle at top right, rgba(239, 102, 3, .08), transparent 34%),
    radial-gradient(circle at bottom left, rgba(15, 94, 168, .08), transparent 34%),
    rgba(255, 255, 255, .92);

  border: 1px dashed rgba(15, 46, 86, .22);
  box-shadow: var(--opp-shadow-soft);
}

.opp-team-section .opp-empty-state > i {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;

  margin: 0 0 16px;
  padding: 0;

  border-radius: 26px;
  color: var(--opp-blue);
  background: #eef5ff;

  font-size: 2rem;
  line-height: 1;
}

.opp-team-section .opp-empty-state h4 {
  margin-bottom: 10px;
  color: var(--opp-navy);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.3;
}

.opp-team-section .opp-empty-state p {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--opp-muted);
  line-height: 1.65;
}

.opp-team-section .opp-empty-state .btn {
  width: auto;
  min-width: 0;
  max-width: 100%;

  padding: 11px 22px;
  border-radius: 999px;

  font-size: .95rem;
  white-space: nowrap;
}

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

@media (max-width: 991px) {
  .opp-team-panel {
    padding: 24px;
  }

  .opp-guarantor-card {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .opp-team-section .mb-4.d-flex.justify-content-end {
    justify-content: center !important;
  }

  .opp-team-panel {
    margin-top: 4px;
  }
}

@media (max-width: 575px) {
  .opp-guarantor-card,
  .opp-team-panel {
    border-radius: 24px;
  }

  .opp-guarantor-card {
    padding: 24px 20px;
  }

  .opp-team-panel {
    padding: 20px;
  }

  .opp-person-photo,
  .opp-person-placeholder {
    width: 118px;
    height: 118px;
  }

  .opp-teacher-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 18px;
  }

  .opp-teacher-card::before {
    width: 100%;
    height: 4px;
    inset: 0 0 auto 0;
    background: linear-gradient(90deg, var(--opp-orange), var(--opp-blue-2));
  }

  .opp-teacher-photo-wrap {
    flex: 0 0 auto;
  }

  .opp-teacher-card img,
  .opp-teacher-avatar {
    width: 92px;
    height: 92px;
    border-radius: 28px;
  }

  .opp-team-email {
    justify-content: center;
  }

  .opp-team-section .opp-empty-state {
    min-height: 230px;
    padding: 28px 20px;
  }

  .opp-team-section .opp-empty-state .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .opp-team-section .btn-outline-primary,
  .opp-team-section .btn-outline-danger {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opp-guarantor-card,
  .opp-teacher-card,
  .opp-team-section .btn {
    transition: none !important;
  }

  .opp-guarantor-card:hover,
  .opp-teacher-card:hover,
  .opp-team-section .btn:hover {
    transform: none !important;
  }
}

/* ОК */
/* =========================================================
   OPP OK DETAIL EDITOR
========================================================= */

.opp-ok-editor-page {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background: #071426;
}

.opp-ok-editor-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(13, 110, 253, 0.30), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(255, 193, 7, 0.16), transparent 30%),
    linear-gradient(135deg, #071426 0%, #0b1f3a 48%, #050b14 100%);
}

.opp-ok-editor-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

/* Breadcrumbs */

.opp-editor-breadcrumbs {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.opp-editor-breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: 0.25s ease;
}

.opp-editor-breadcrumbs a:hover {
  color: #ffc107;
}

.opp-editor-breadcrumbs strong {
  color: #ffc107;
  font-weight: 800;
}

/* Main cards */

.opp-ok-editor-hero,
.opp-ok-editor-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.opp-ok-editor-hero {
  padding: 34px;
  color: #10233f;
}

.opp-ok-editor-card {
  padding: 34px;
}

/* Left white info block */

.opp-editor-kicker,
.opp-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.opp-editor-kicker {
  padding: 9px 14px;
  background: #fff7df;
  color: #9a6a00;
  border: 1px solid #ffe08a;
}

.opp-ok-editor-hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #10233f;
}

.opp-ok-editor-hero > p {
  color: #607086;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.opp-editor-program-card,
.opp-editor-current-ok,
.opp-editor-tips {
  border-radius: 24px;
  background: #f8fbff;
  border: 1px solid #dbe5f2;
}

.opp-editor-program-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  margin-bottom: 18px;
}

.opp-editor-program-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffc107, #ffdd6b);
  color: #10233f;
  font-size: 1.5rem;
  box-shadow: 0 14px 34px rgba(255, 193, 7, 0.22);
}

.opp-editor-program-card span,
.opp-editor-current-ok span {
  display: block;
  color: #6b7a90;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 5px;
}

.opp-editor-program-card strong,
.opp-editor-current-ok strong {
  display: block;
  color: #10233f;
  font-size: 1.08rem;
  line-height: 1.35;
}

.opp-editor-program-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.opp-editor-program-meta span {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0d6efd;
  background: #eaf2ff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.opp-editor-current-ok {
  padding: 20px;
  margin-bottom: 18px;
}

.opp-editor-current-ok p {
  margin: 12px 0 0;
  color: #607086;
  display: flex;
  align-items: center;
  gap: 8px;
}

.opp-editor-current-ok.muted {
  border-style: dashed;
  background: #fbfdff;
}

.opp-editor-tips {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.opp-editor-tips div {
  display: flex;
  gap: 10px;
  color: #607086;
  line-height: 1.45;
}

.opp-editor-tips i {
  color: #0d6efd;
  font-size: 1.05rem;
  margin-top: 2px;
}

/* Right form block */

.opp-ok-editor-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e8edf5;
}

.opp-form-badge {
  padding: 8px 13px;
  background: #eaf2ff;
  color: #0d6efd;
}

.opp-ok-editor-card-header h2 {
  margin: 14px 0 7px;
  color: #10233f;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.opp-ok-editor-card-header p {
  margin: 0;
  color: #697a90;
}

.opp-form-alert {
  display: flex;
  gap: 12px;
  padding: 15px 17px;
  border-radius: 18px;
  margin-bottom: 24px;
  font-weight: 600;
}

.opp-form-alert.danger {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f1aeb5;
}

.opp-form-alert p {
  margin: 0;
}

/* Form grid */

.opp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.opp-field-full {
  grid-column: 1 / -1;
}

.opp-field label {
  color: #182a45;
  font-weight: 800;
  font-size: 0.93rem;
}

.opp-field label span {
  color: #dc3545;
}

.opp-field small {
  color: #77869a;
  line-height: 1.45;
}

.opp-field .form-control,
.opp-field .form-select,
.opp-field input,
.opp-field select {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid #d9e2ef;
  background-color: #fff;
  color: #172b4d;
  padding: 0.72rem 0.95rem;
  transition: 0.22s ease;
}

.opp-field textarea.form-control {
  min-height: 96px;
}

.opp-field .form-control:focus,
.opp-field .form-select:focus,
.opp-field input:focus,
.opp-field select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.22rem rgba(13, 110, 253, 0.12);
}

.opp-field select:disabled,
.opp-field input:disabled {
  background: #f2f5fa;
  color: #7a8797;
  cursor: not-allowed;
}

.opp-select-wrap {
  position: relative;
}

.opp-select-wrap::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7a90;
  pointer-events: none;
}

.opp-select-wrap select {
  appearance: none;
  padding-right: 44px;
}

.opp-field-error {
  color: #dc3545;
  font-size: 0.86rem;
  font-weight: 700;
}

/* Switch */

.opp-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid #dbe5f2;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.opp-switch-row strong {
  display: block;
  color: #172b4d;
  font-weight: 900;
  margin-bottom: 4px;
}

.opp-switch-row span {
  display: block;
  color: #65758c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.opp-switch-row .form-check-input {
  width: 3.2rem;
  height: 1.65rem;
  cursor: pointer;
}

/* Actions */

.opp-editor-actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #e8edf5;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.opp-editor-btn {
  border: 0;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 900;
  transition: 0.24s ease;
}

.opp-editor-btn.primary {
  color: #10233f;
  background: linear-gradient(135deg, #ffc107, #ffdb66);
  box-shadow: 0 16px 34px rgba(255, 193, 7, 0.28);
}

.opp-editor-btn.primary:hover {
  color: #10233f;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(255, 193, 7, 0.38);
}

.opp-editor-btn.secondary {
  color: #10233f;
  background: #eef3fb;
}

.opp-editor-btn.secondary:hover {
  color: #10233f;
  background: #e1eaf7;
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 991.98px) {
  .opp-ok-editor-page {
    padding: 100px 0 60px;
  }

  .opp-ok-editor-hero,
  .opp-ok-editor-card {
    border-radius: 26px;
    padding: 26px;
  }

  .opp-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .opp-ok-editor-page {
    padding: 90px 0 42px;
  }

  .opp-ok-editor-hero,
  .opp-ok-editor-card {
    padding: 22px;
    border-radius: 22px;
  }

  .opp-editor-program-card {
    flex-direction: column;
  }

  .opp-editor-actions {
    flex-direction: column-reverse;
  }

  .opp-editor-btn {
    width: 100%;
  }

  /* Switch */

/* =========================================================
   FORCE FIX: OPP OK EDITOR SWITCH
   Перебиває глобальні стилі checkbox/switch тільки тут
========================================================= */

.opp-ok-editor-page .opp-switch-row .form-check {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.opp-ok-editor-page .opp-switch-row .form-switch {
  padding-left: 0 !important;
}

.opp-ok-editor-page .opp-switch-row .form-check-input {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;

  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 999px !important;
  border: 1px solid #b9c8dc !important;

  background-color: #dbe5f2 !important;
  background-size: 18px 18px !important;
  background-position: left 3px center !important;

  cursor: pointer !important;
  box-shadow: none !important;
  transform: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.opp-ok-editor-page .opp-switch-row .form-check-input:checked {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  background-position: right 3px center !important;
}

.opp-ok-editor-page .opp-switch-row .form-check-input:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.18) !important;
}

.opp-ok-editor-page .opp-switch-row .form-check-input:hover {
  filter: brightness(0.98);
}
}

/* =========================================================
   OPP DISCUSSION FEEDBACK FORM
========================================================= */

.opp-feedback-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 48%, #eef5ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.12);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.10),
    0 8px 24px rgba(13, 110, 253, 0.08);
}

.opp-feedback-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(13, 202, 240, 0.22);
  filter: blur(12px);
  pointer-events: none;
}

.opp-feedback-header {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.opp-feedback-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.26);
}

.opp-feedback-icon i {
  font-size: 30px;
}

.opp-feedback-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #075985;
  background: rgba(14, 165, 233, 0.12);
}

.opp-feedback-header h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
  color: #0f172a;
}

.opp-feedback-header p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.opp-feedback-note {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: rgba(25, 135, 84, 0.08);
  color: #166534;
  font-size: 14px;
  line-height: 1.5;
}

.opp-feedback-note i {
  font-size: 18px;
  margin-top: 1px;
}

.opp-feedback-form {
  position: relative;
  z-index: 2;
}

.opp-floating-field {
  position: relative;
}

.opp-floating-field label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.01em;
}

.opp-floating-field label span {
  color: #dc3545;
}

.opp-feedback-form .form-control,
.opp-feedback-form .form-select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 16px;
  padding: 13px 15px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 15px;
  box-shadow: none;
  transition: all 0.22s ease;
}

.opp-feedback-form textarea.form-control {
  min-height: 135px;
  resize: vertical;
}

.opp-feedback-form .form-control:focus,
.opp-feedback-form .form-select:focus {
  border-color: rgba(13, 110, 253, 0.8);
  background-color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(13, 110, 253, 0.10),
    0 10px 24px rgba(15, 23, 42, 0.08);
}

.opp-feedback-form .form-control::placeholder {
  color: #94a3b8;
}

.opp-feedback-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.opp-feedback-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.opp-feedback-small i {
  color: #0d6efd;
}

.opp-feedback-submit {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
  box-shadow: 0 16px 30px rgba(13, 110, 253, 0.28);
  transition: all 0.22s ease;
}

.opp-feedback-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(13, 110, 253, 0.34);
}

.opp-feedback-submit i {
  font-size: 17px;
}

@media (max-width: 768px) {
  .opp-feedback-card {
    padding: 24px;
    border-radius: 24px;
  }

  .opp-feedback-header {
    flex-direction: column;
  }

  .opp-feedback-header h3 {
    font-size: 22px;
  }

  .opp-feedback-footer {
    align-items: stretch;
  }

  .opp-feedback-submit {
    width: 100%;
  }
}

/* =========================================================
   OPP FORUM PREVIEW
========================================================= */

.opp-forum-preview-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.13), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f8fbff 50%, #eef6ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.10);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.10),
    0 8px 24px rgba(13, 110, 253, 0.08);
}

.opp-forum-preview-bg {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: rgba(13, 202, 240, 0.18);
  filter: blur(14px);
  pointer-events: none;
}

.opp-forum-preview-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.opp-forum-preview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.10);
  color: #0d6efd;
  font-size: 13px;
  font-weight: 850;
}

.opp-forum-preview-header h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
}

.opp-forum-preview-header p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.opp-forum-preview-counter {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 14px 16px;
  text-align: center;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.opp-forum-preview-counter strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  color: #0d6efd;
}

.opp-forum-preview-counter span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.opp-forum-preview-info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.opp-forum-preview-info div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #334155;
  font-size: 13px;
  font-weight: 750;
}

.opp-forum-preview-info i {
  color: #0d6efd;
  font-size: 17px;
}

.opp-forum-preview-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.opp-forum-preview-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: all 0.22s ease;
}

.opp-forum-preview-item:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 110, 253, 0.25);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

.opp-forum-preview-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.24);
}

.opp-forum-preview-content {
  min-width: 0;
  flex: 1;
}

.opp-forum-preview-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.opp-forum-preview-item h4 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.opp-forum-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.opp-forum-preview-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.opp-forum-preview-meta i {
  color: #0d6efd;
}

.opp-forum-preview-item time {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.opp-forum-preview-item p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

.opp-forum-preview-empty {
  padding: 34px 22px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.opp-forum-preview-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.10);
}

.opp-forum-preview-empty-icon i {
  font-size: 32px;
}

.opp-forum-preview-empty h4 {
  margin-bottom: 8px;
  color: #0f172a;
  font-weight: 900;
}

.opp-forum-preview-empty p {
  margin: 0;
  color: #64748b;
}

.opp-forum-preview-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.opp-forum-preview-main-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.26);
  transition: all 0.22s ease;
}

.opp-forum-preview-main-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 19px 36px rgba(13, 110, 253, 0.34);
}

.opp-forum-preview-note {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .opp-forum-preview-card {
    padding: 24px;
    border-radius: 24px;
  }

  .opp-forum-preview-header {
    flex-direction: column;
  }

  .opp-forum-preview-info {
    grid-template-columns: 1fr;
  }

  .opp-forum-preview-item {
    flex-direction: column;
  }

  .opp-forum-preview-item-head {
    flex-direction: column;
  }

  .opp-forum-preview-main-link {
    width: 100%;
  }
}

/* =========================================================
   ACCREDITATION CERTIFICATE CARD
========================================================= */

.opp-accreditation-certificate {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 7, 0.18), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.opp-accreditation-certificate-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #111827;
  box-shadow: 0 18px 36px rgba(255, 193, 7, 0.24);
}

.opp-accreditation-certificate-icon i {
  font-size: 34px;
}

.opp-accreditation-certificate h3 {
  color: #ffffff;
  font-weight: 900;
}

.opp-accreditation-certificate p {
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
}

.opp-accreditation-main-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #111827;
  font-weight: 850;
  text-decoration: none;
  background: linear-gradient(135deg, #ffc107, #ffda6a);
  box-shadow: 0 16px 32px rgba(255, 193, 7, 0.25);
  transition: all 0.22s ease;
}

.opp-accreditation-main-link:hover {
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(255, 193, 7, 0.34);
}

.opp-accreditation-empty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.25);
}

.opp-accreditation-empty i {
  color: #ffc107;
  font-size: 20px;
}

@media (max-width: 768px) {
  .opp-accreditation-certificate {
    padding: 24px;
    border-radius: 24px;
  }

  .opp-accreditation-certificate .d-flex {
    flex-direction: column;
  }

  .opp-accreditation-main-link {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   OPP RATINGS
========================================================= */

.opp-rating-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.10), transparent 34%),
    #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
}

.opp-rating-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.opp-rating-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(13, 110, 253, 0.22);
}

.opp-rating-icon i {
  font-size: 32px;
}

.opp-rating-icon.students {
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
}

.opp-rating-icon.teachers {
  background: linear-gradient(135deg, #6610f2, #d63384);
}

.opp-rating-card h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.opp-rating-card p {
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 18px;
}

.opp-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #0d6efd, #0dcaf0);
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.24);
  transition: all 0.22s ease;
}

.opp-rating-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(13, 110, 253, 0.32);
}

@media (max-width: 768px) {
  .opp-rating-card {
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
  }

  .opp-rating-link {
    width: 100%;
    justify-content: center;
  }
}