/* ==========================================
   GPA Value Guides - Premium Design Layout Missing CSS
   ========================================== */

/* Breadcrumbs */
.cgpa-gpa-breadcrumb {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 24px !important;
  font-weight: 500 !important;
}

/* Layout */
.cgpa-gpa-layout-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

/* Hero Section */
.cgpa-gpa-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 20px;
  padding: 40px;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(15, 33, 58, 0.02);
}

.cgpa-gpa-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #0284c7;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid #dbeafe;
}

.cgpa-gpa-hero__left h1 {
  font-size: 38px !important;
  line-height: 1.15 !important;
  margin: 0 0 12px 0 !important;
  color: #0f213a !important;
  font-weight: 800 !important;
}

.cgpa-gpa-hero__subtitle {
  font-size: 18px !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
}

.cgpa-gpa-hero__description {
  font-size: 15px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 24px 0 !important;
}

.cgpa-gpa-hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cgpa-gpa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.cgpa-gpa-btn--primary {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.cgpa-gpa-btn--primary:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.cgpa-gpa-btn--secondary {
  background: #ffffff;
  color: #0f213a !important;
  border: 1px solid #cbd5e1;
}

.cgpa-gpa-btn--secondary:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

/* Hero Right - Gauge & Badges */
.cgpa-gpa-hero__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cgpa-gpa-gauge {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 16px;
}

.cgpa-gpa-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cgpa-gpa-gauge circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.cgpa-gpa-gauge .bg {
  stroke: #e2e8f0;
}

.cgpa-gpa-gauge .meter {
  stroke-dasharray: 251.2;
  transition: stroke-dashoffset 1s ease-out;
}

.cgpa-gpa-gauge .value {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cgpa-gpa-gauge .value span {
  font-size: 36px;
  font-weight: 800;
  color: #0f213a;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.cgpa-gpa-gauge .value small {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-top: 4px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(15, 33, 58, 0.08);
}

.scale-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

/* Quick Verdict */
.cgpa-gpa-quick-verdict {
  margin-bottom: 48px;
}

.cgpa-gpa-quick-verdict h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f213a !important;
  margin: 0 0 20px 0 !important;
}

.cgpa-gpa-quick-verdict-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.cgpa-gpa-qv-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(15, 33, 58, 0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cgpa-gpa-qv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 33, 58, 0.05);
}

.cgpa-gpa-qv-card .qv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin: 0 auto 12px auto;
}

.cgpa-gpa-qv-card strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cgpa-gpa-qv-card .qv-val {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}

.cgpa-gpa-qv-card p {
  font-size: 12px !important;
  color: #475569 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Sections Global */
.cgpa-gpa-mean-section,
.cgpa-gpa-impact,
.cgpa-gpa-improve,
.cgpa-gpa-compare,
.cgpa-gpa-conversions-tips,
.cgpa-gpa-faq {
  margin-bottom: 48px;
}

.cgpa-gpa-mean-section h2,
.cgpa-gpa-improve h2,
.cgpa-gpa-compare h2,
.cgpa-gpa-faq h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f213a !important;
  margin: 0 0 20px 0 !important;
}

.cgpa-gpa-mean-section p {
  font-size: 15px !important;
  color: #475569 !important;
  line-height: 1.7 !important;
  margin-bottom: 16px !important;
}

/* Impact Cards */
.cgpa-gpa-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cgpa-gpa-impact-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 33, 58, 0.02);
  position: relative;
  overflow: hidden;
}

.cgpa-gpa-impact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.cgpa-gpa-impact-card:nth-child(1)::before { background: #0284c7; }
.cgpa-gpa-impact-card:nth-child(2)::before { background: #8b5cf6; }
.cgpa-gpa-impact-card:nth-child(3)::before { background: #10b981; }

.impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.cgpa-gpa-impact-card:nth-child(1) .impact-icon { background: #f0f9ff; color: #0284c7; }
.cgpa-gpa-impact-card:nth-child(2) .impact-icon { background: #f5f3ff; color: #8b5cf6; }
.cgpa-gpa-impact-card:nth-child(3) .impact-icon { background: #ecfdf5; color: #10b981; }

.cgpa-gpa-impact-card h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f213a !important;
  margin: 0 0 12px 0 !important;
}

.cgpa-gpa-impact-card p {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 20px 0 !important;
}

.cgpa-gpa-impact-card a {
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cgpa-gpa-impact-card:nth-child(1) a { color: #0284c7; }
.cgpa-gpa-impact-card:nth-child(2) a { color: #8b5cf6; }
.cgpa-gpa-impact-card:nth-child(3) a { color: #10b981; }

.cgpa-gpa-impact-card a:hover {
  text-decoration: underline;
}

/* Improve Section */
.improve-intro {
  font-size: 15px !important;
  color: #475569 !important;
  margin-bottom: 24px !important;
}

.cgpa-gpa-improve-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
}

.cgpa-gpa-improve-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cgpa-gpa-improve-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.cgpa-gpa-improve-checklist li::before {
  display: none !important;
}

.cgpa-gpa-improve-checklist li .check-icon {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.cgpa-gpa-improve-checklist li span {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.cgpa-gpa-improve-checklist li strong {
  color: #0f213a;
}

/* Helpful Tools Box */
.cgpa-gpa-helpful-tools-box {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 24px;
}

.cgpa-gpa-helpful-tools-box h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f213a !important;
  margin: 0 0 16px 0 !important;
}

.cgpa-gpa-helpful-tools-box a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #0284c7;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.cgpa-gpa-helpful-tools-box a:last-child {
  margin-bottom: 0;
}

.cgpa-gpa-helpful-tools-box a:hover {
  border-color: #bae6fd;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05);
}

.cgpa-gpa-helpful-tools-box a span:last-child {
  font-size: 16px;
}

/* Compare Nearby */
.cgpa-gpa-compare-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-btn:hover {
  border-color: #cbd5e1;
  color: #0f213a;
}

.slider-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

.slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 16px 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.slider-item:hover {
  border-color: #bae6fd;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.05);
}

.slider-item.active {
  border-color: #10b981;
  background: #ecfdf5;
}

.slider-item strong {
  font-size: 16px;
  font-weight: 800;
  color: #0f213a;
  margin-bottom: 4px;
}

.slider-item span {
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

.slider-item.active strong {
  color: #047857;
}
.slider-item.active span {
  color: #10b981;
}

/* Conversions & Tips Split */
.cgpa-gpa-ct-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cgpa-gpa-conversions h3,
.cgpa-gpa-tips h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f213a !important;
  margin: 0 0 16px 0 !important;
}

.cgpa-gpa-conversions table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 33, 58, 0.02);
}

.cgpa-gpa-conversions th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eef2f6;
}

.cgpa-gpa-conversions td {
  padding: 16px;
  font-size: 14px;
  color: #0f213a;
  border-bottom: 1px solid #f1f5f9;
}

.cgpa-gpa-conversions tr:last-child td {
  border-bottom: none;
}

.table-note {
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin: 12px 0 0 0 !important;
}

/* Tips Block */
.tips-content-wrap {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(15, 33, 58, 0.02);
}

.tips-content-wrap ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1;
}

.tips-content-wrap ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.tips-content-wrap ul li span {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* Base resets */
.cgpa-programmatic-page .cgpa-gpa-hero__buttons a::before,
.cgpa-programmatic-page .cgpa-gpa-impact-card a::before {
  display: none !important;
}
