/* ================================================================
   Orane Course Finder — Frontend CSS (Split Layout)
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  --ocf-orange: #FF6B2B;
  --ocf-dark: #0F0F0F;
  --ocf-text: #F0F0F0;
  --ocf-card-bg: rgba(255, 255, 255, .04);
  --ocf-font: 'Outfit', 'Noto Sans Devanagari', sans-serif;
  --ocf-radius: 24px;
}

/* ── Full Width Container ──────────────────────────────────── */
.ocf-widget.ocf-full-width {
  background: var(--ocf-dark);
  color: var(--ocf-text);
  padding: 0;
  max-width: 100% !important;
  margin: 0;
  border-radius: 0;
  font-family: var(--ocf-font);
  overflow: hidden;
  position: relative;
}

/* Background accents */
.ocf-widget.ocf-full-width::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.ocf-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ── Left Side (Content) ───────────────────────────────────── */
.ocf-left {
  flex: 1;
  min-width: 320px;
  padding: 80px 5%;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.ocf-content-inner {
  max-width: 540px;
}

.ocf-headline {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.ocf-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* ── Right Side (Form) ─────────────────────────────────────── */
.ocf-right {
  flex: 0 0 440px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
}

/* Progress bar inside form */
.ocf-progress-wrap {
  margin-bottom: 30px;
}

.ocf-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.ocf-progress-bar {
  height: 100%;
  background: var(--ocf-orange);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ocf-step-indicators {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ocf-si {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
}

.ocf-si.active {
  background: var(--ocf-orange);
  color: #fff;
  border-color: var(--ocf-orange);
}

.ocf-si.done {
  border-color: var(--ocf-orange);
  color: var(--ocf-orange);
  background: transparent;
}

.ocf-si-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 10px;
}

/* ── Form Styling ──────────────────────────────────────────── */
.ocf-form-grid {
  display: grid;
  gap: 20px;
}

.ocf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ocf-field-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ocf-orange);
}

.ocf-select-wrap {
  position: relative;
}

.ocf-select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.5;
}

.ocf-select,
.ocf-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  width: 100%;
  transition: all 0.2s;
}

.ocf-select:focus,
.ocf-input:focus {
  outline: none;
  border-color: var(--ocf-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.15);
}

.ocf-select option {
  background: #111;
  color: #fff;
}

.ocf-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ocf-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ocf-pill.active {
  background: var(--ocf-orange);
  border-color: var(--ocf-orange);
}

.ocf-cta-btn {
  background: var(--ocf-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s;
  box-shadow: 0 10px 25px rgba(255, 107, 43, 0.3);
}

.ocf-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 107, 43, 0.4);
}

/* Price Card in Sidebar */
.ocf-price-result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.ocf-price-result-card.selected {
  border-width: 2px;
  border-color: var(--ocf-orange);
  background: rgba(255, 107, 43, 0.05);
}

.ocf-course-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ocf-course-fee-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ocf-course-fee {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.ocf-course-emi {
  font-size: 15px;
  color: var(--ocf-orange);
  font-weight: 700;
}

/* ── SweetAlert Customization ────────────────────────────── */
.swal2-popup.ocf-swal {
  background: #111;
  border: 1px solid rgba(255, 107, 43, 0.3);
  border-radius: 20px;
  font-family: var(--ocf-font);
  color: #fff;
}

.swal2-title {
  color: #fff !important;
}

.swal2-confirm {
  background-color: var(--ocf-orange) !important;
  border-radius: 10px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ocf-right {
    flex: 1 0 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ocf-left {
    padding: 40px 5%;
  }

  .ocf-headline {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .ocf-right {
    padding: 30px 20px;
  }
}