/* ===================================================
   नरेश ऑनलाइन सेंटर — योजना डिटेल साझा स्टाइल (Yojana Detail Shared Styles)
   Used across all yojana/kendra-sarkar/* and yojana/chhattisgarh/* pages
   =================================================== */

.yd-hero {
  background: linear-gradient(135deg, #0F2347, #1A3A6B);
  padding: 32px 20px 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.yd-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 24px;
  background: #F4F7FF;
  border-radius: 24px 24px 0 0;
}
.yd-hero-inner { max-width: 800px; margin: 0 auto; }
.yd-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  margin-bottom: 16px; flex-wrap: wrap;
}
.yd-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.yd-breadcrumb a:hover { color: #FF8C5A; }
.yd-hero-top { display: flex; align-items: flex-start; gap: 16px; }
.yd-hero-emoji {
  font-size: 2.8rem;
  background: rgba(255,255,255,0.12);
  border-radius: 16px;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.yd-hero-text h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.yd-hero-text p  { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

.yd-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.yd-badge {
  padding: 5px 12px; border-radius: 16px;
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
}
.yd-badge-green { background: rgba(39,174,96,0.25); color: #7DEFA0; }
.yd-badge-blue  { background: rgba(74,127,212,0.25); color: #90C4FF; }
.yd-badge-orange{ background: rgba(255,107,53,0.25); color: #FFB08C; }
.yd-badge-gold  { background: rgba(245,158,11,0.25); color: #FDE68A; }
.yd-badge-teal  { background: rgba(20,184,166,0.25); color: #99F6E4; }
.yd-badge-purple{ background: rgba(168,85,247,0.25); color: #E9D5FF; }
.yd-badge-pink  { background: rgba(236,72,153,0.25); color: #FBCFE8; }

.yd-content { max-width: 800px; margin: 0 auto; padding: 24px 16px 100px; }
.yd-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #E2ECF9;
  box-shadow: 0 4px 16px rgba(15,35,71,0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease;
}
.yd-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 8px 24px rgba(15,35,71,0.09);
}
.yd-card h2, .yd-card h3 {
  color: #0F2347;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.point-badge {
  background: linear-gradient(135deg, #1A3A6B, #2563EB);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Refined Share & Print Checklist Bar */
.yd-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 22px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #F0FDF4 0%, #F8FAFC 100%);
  border: 1.5px solid #BBF7D0;
  border-radius: 14px;
  box-shadow: 0 4px 16px -4px rgba(16, 185, 129, 0.12);
}
.yd-share-bar span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}
.btn-wa-share {
  height: 42px;
  padding: 0 18px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  box-sizing: border-box;
}
.btn-wa-share:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}
.btn-print-slip {
  height: 42px;
  padding: 0 18px;
  background: #fff;
  color: #1A3A6B !important;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #CBD5E1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}
.btn-print-slip:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  border-color: #1A3A6B;
}

/* Jhalak & Overview Tables */
.table-container {
  overflow-x: auto;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid #EEF3FF;
}
.jhalak-table, .overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.88rem;
}
.jhalak-table tr, .overview-table tr { border-bottom: 1px solid #EEF3FB; }
.jhalak-table tr:last-child, .overview-table tr:last-child { border-bottom: none; }
.jhalak-table td, .overview-table td { padding: 10px 8px; vertical-align: top; }
.jhalak-table td:first-child, .overview-table td.table-label, .table-label { font-weight: 700; color: #4A5568; width: 36%; }
.jhalak-table td:last-child, .overview-table td:last-child  { color: #1A202C; }
.overview-table th { background: #0F2347; color: #fff; padding: 10px; font-weight: 700; }

/* Pension Table */
.pension-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.84rem;
  text-align: center;
}
.pension-table th { background: #0F2347; color: #fff; padding: 8px; font-weight: 700; }
.pension-table td { border: 1px solid #E2E8F0; padding: 8px; }
.pension-table tr:nth-child(even) { background: #F8FAFC; }

/* Checklist Grid */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.chk-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.85rem; color: #374151;
  background: #F8FAFC; padding: 10px 12px;
  border-radius: 10px; border: 1px solid #E2E8F0;
}
.chk-item i { color: #16A34A; margin-top: 3px; flex-shrink: 0; }

/* Documents & Eligibility Lists */
.yd-docs { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.yd-doc {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: #F4F7FF;
  border-radius: 10px; font-size: 0.88rem; color: #1C1C2E;
}
.yd-doc i { color: #27ae60; font-size: 1rem; flex-shrink: 0; }

.yd-eli { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.yd-eli-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  font-size: 0.85rem; line-height: 1.5;
}
.yd-eli-item.yes { background: #E8F8F0; color: #155724; border-left: 4px solid #27ae60; }
.yd-eli-item.no  { background: #FDEEEE; color: #842029; border-left: 4px solid #e74c3c; }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 10px 0 0; }
.step-list li {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 0.88rem; line-height: 1.55; color: #374151;
}
.step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: #0F2347; color: #fff;
  font-size: 0.78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

.yd-steps { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.yd-step {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: #F4F7FF;
  border-radius: 12px; border: 1px solid #E2ECFF;
}
.yd-step-num {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #FF6B35, #E85520);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800; flex-shrink: 0;
}
.yd-step-text { font-size: 0.88rem; color: #1C1C2E; line-height: 1.6; }
.yd-step-text strong { color: #0F2347; }

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 700; font-size: 0.92rem; color: #1F2937;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-a {
  font-size: 0.85rem; color: #4B5563; line-height: 1.6;
  margin-top: 8px; display: none;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: #1A56DB; }

/* Booking & CSC Assistance Box */
.yd-booking-box {
  background: linear-gradient(135deg, #0F2347, #1E3A8A);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(15,35,71,0.18);
}
.yd-booking-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; }
.yd-booking-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.yd-booking-rate {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 12px;
  font-size: 1.15rem; font-weight: 800; color: #FBBF24;
}
.yd-booking-desc { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 12px 0 18px; line-height: 1.6; }
.yd-booking-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.yd-book-btn {
  padding: 10px 18px; border-radius: 12px;
  font-size: 0.85rem; font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: 0.2s;
}
.yd-book-white { background: #25D366; color: #fff; }
.yd-book-dark  { background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.yd-book-btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* Hamari Seva CTA variant */
.yd-booking-cta {
  background: linear-gradient(135deg, #FF6B35, #E85520);
  border-radius: 20px;
  padding: 26px 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 30px rgba(255,107,53,0.3);
}
.yd-price-tag {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-block;
  margin: 6px 0 12px;
}

/* Status Check Box */
.yd-status-box {
  background: linear-gradient(135deg, #EAF1FF, #F4F7FF);
  border: 1.5px solid #D8E4F8;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}
.yd-status-box p { font-size: 0.86rem; color: #5A6480; margin-bottom: 14px; line-height: 1.5; }
.yd-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 800;
  background: #1A3A6B;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.yd-status-btn:hover { background: #0F2347; transform: translateY(-2px); }

/* Related Schemes Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.rel-card {
  background: #F8FAFC; border: 1px solid #E2E8F0;
  border-radius: 12px; padding: 12px;
  text-decoration: none; color: inherit; transition: 0.2s;
}
.rel-card:hover { border-color: #3B82F6; background: #EFF6FF; }
.rel-emoji { font-size: 1.5rem; margin-bottom: 4px; }
.rel-title { font-size: 0.85rem; font-weight: 700; color: #1F2937; }
.rel-desc  { font-size: 0.74rem; color: #6B7280; margin-top: 2px; }

/* Sticky Mobile Bottom Booking Bar (केवल मोबाइल के लिए) */
@media (max-width: 768px) {
  .sticky-book {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid #E5E7EB;
    padding: 10px 16px;
    display: flex; gap: 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    z-index: 999;
  }
}
@media (min-width: 769px) {
  .sticky-book { display: none !important; }
}
.sticky-book a {
  flex: 1; text-align: center; padding: 10px 8px; border-radius: 10px;
  font-size: 0.82rem; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.sb-orange, .sb-green-btn { background: #FF6B35; color: #fff; }
.sb-green                  { background: #25D366; color: #fff; }
.sb-blue, .sb-blue-btn     { background: #0F2347; color: #fff; }
.sb-gold                   { background: #D97706; color: #fff; }
.sb-purple                 { background: #7C3AED; color: #fff; }
.sb-pink                   { background: #DB2777; color: #fff; }
.sb-teal                   { background: #0D9488; color: #fff; }
.sb-kcc, .sb-brown         { background: #92400E; color: #fff; }

/* Mudra Loan Boxes */
.mudra-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.mudra-box {
  border-radius: 14px;
  padding: 16px;
  border: 1.5px solid;
}
.mudra-shishu { background: #F0FDF4; border-color: #86EFAC; }
.mudra-kishor { background: #EFF6FF; border-color: #93C5FD; }
.mudra-tarun  { background: #FFF7ED; border-color: #FDBA74; }
.mudra-title { font-weight: 800; font-size: 1rem; margin-bottom: 4px; display: flex; align-items: center; justify-content: space-between; }
.mudra-limit { font-size: 1.2rem; font-weight: 900; margin: 6px 0; }
.mudra-desc { font-size: 0.8rem; color: #4B5563; line-height: 1.5; }

/* PM Vishwakarma Trade Grid */
.trade-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px; margin-top: 10px;
}
.trade-pill {
  background: #FAF5FF; border: 1px solid #E9D5FF; border-radius: 8px;
  padding: 6px 10px; font-size: 0.8rem; color: #581C87; font-weight: 600;
}

/* ===================================================
   YOJANA DETAIL - DARK MODE STYLES
   =================================================== */
body.dark-mode {
  background-color: #0B1120 !important;
  color: #F8FAFC !important;
}

body.dark-mode .yd-hero::after {
  background: #0B1120 !important;
}

body.dark-mode .yd-card {
  background: #1E293B !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .yd-card h2,
body.dark-mode .yd-card h3 {
  color: #FFFFFF !important;
}

body.dark-mode .yd-card p,
body.dark-mode .yd-card li,
body.dark-mode .yd-step-text {
  color: #CBD5E1 !important;
}

body.dark-mode .yd-step-text strong {
  color: #F8FAFC !important;
}

body.dark-mode .yd-share-bar {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%) !important;
  border-color: #334155 !important;
}

body.dark-mode .yd-share-bar span {
  color: #A7F3D0 !important;
}

body.dark-mode .btn-print-slip {
  background: #0F172A !important;
  color: #60A5FA !important;
  border-color: #334155 !important;
}

body.dark-mode .table-container {
  border-color: #334155 !important;
  background: #1E293B !important;
}

body.dark-mode .jhalak-table tr,
body.dark-mode .overview-table tr {
  border-bottom-color: #334155 !important;
}

body.dark-mode .jhalak-table td,
body.dark-mode .overview-table td {
  color: #CBD5E1 !important;
}

body.dark-mode .jhalak-table td:first-child,
body.dark-mode .overview-table td.table-label,
body.dark-mode .table-label {
  color: #94A3B8 !important;
}

body.dark-mode .jhalak-table td:last-child,
body.dark-mode .overview-table td:last-child {
  color: #F8FAFC !important;
}

body.dark-mode .pension-table td {
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}

body.dark-mode .pension-table tr:nth-child(even) {
  background: #0F172A !important;
}

body.dark-mode .chk-item {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #CBD5E1 !important;
}

body.dark-mode .yd-doc {
  background: #0F172A !important;
  color: #CBD5E1 !important;
}

body.dark-mode .yd-step {
  background: #0F172A !important;
  border-color: #334155 !important;
}

body.dark-mode .faq-item {
  border-bottom-color: #334155 !important;
}

body.dark-mode .faq-q {
  color: #FFFFFF !important;
}

body.dark-mode .faq-a {
  color: #CBD5E1 !important;
}

body.dark-mode .yd-status-box {
  background: linear-gradient(135deg, #1E293B, #0F172A) !important;
  border-color: #334155 !important;
}

body.dark-mode .yd-status-box p {
  color: #94A3B8 !important;
}

body.dark-mode .rel-card {
  background: #0F172A !important;
  border-color: #334155 !important;
}

body.dark-mode .rel-title {
  color: #FFFFFF !important;
}

body.dark-mode .rel-desc {
  color: #94A3B8 !important;
}

body.dark-mode .sticky-book {
  background: #1E293B !important;
  border-top-color: #334155 !important;
}

body.dark-mode .trade-pill {
  background: #0F172A !important;
  border-color: #334155 !important;
  color: #C084FC !important;
}

