/* ============================================================================
   FRIENDS OF GOD — ADMIN PROGRAMS
   Dedicated stylesheet for Programs list + edit pages.
   ============================================================================ */
html .modern-admin-dashboard.programs-page{background:linear-gradient(180deg,#F5F8FC 0%,#F9FBFE 42%,#F5F8FC 100%);}html .programs-page .programs-container{width:100%;max-width:1560px;margin:0 auto;padding:28px clamp(16px,3vw,40px) 44px;color:var(--fog-text,#42566B);font-family:var(--fog-body,'Plus Jakarta Sans',sans-serif);}html .programs-page .fog-i{width:1em;height:1em;vertical-align:-.15em;}
/* Hero */
html .programs-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:20px;padding:28px;border-radius:26px;background:radial-gradient(360px 240px at 92% -20%,rgba(242,223,133,.28),transparent 66%),linear-gradient(135deg,var(--fog-navy,#06264A) 0%,var(--fog-blue,#004090) 68%,#0B5DB2 100%);box-shadow:0 24px 60px rgba(6,38,74,.16);isolation:isolate;}html .programs-hero:after{content:"";position:absolute;right:-70px;bottom:-110px;width:320px;height:320px;border-radius:999px;border:54px solid rgba(255,255,255,.055);z-index:-1;}html .programs-hero h1{margin:8px 0 8px;color:#fff;font:900 clamp(1.8rem,3vw,2.65rem)/1.03 var(--fog-display,'Sora',sans-serif);letter-spacing:-.055em;}html .programs-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.78);line-height:1.65;font-weight:650;}html .section-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--fog-blue,#004090);font:1000 .68rem/1 var(--fog-body,'Plus Jakarta Sans',sans-serif);letter-spacing:.11em;text-transform:uppercase;}html .programs-hero .section-kicker{color:#F2DF85;}html .hero-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:16px;}html .hero-meta span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:rgba(255,255,255,.10);color:#fff;font-weight:900;font-size:.69rem;backdrop-filter:blur(10px);}html .programs-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}html .back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:#fff;text-decoration:none;font-weight:900;font-size:.78rem;opacity:.86;}html .back-link:hover{opacity:1;text-decoration:underline;}
/* Buttons */
html .programs-page .btn,html .programs-page .icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:14px;text-decoration:none;font:900 .74rem/1 var(--fog-body,'Plus Jakarta Sans',sans-serif);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease,color .16s ease;}html .programs-page .btn:hover,html .programs-page .icon-btn:hover{transform:translateY(-1px);}html .programs-page .btn-primary{background:linear-gradient(135deg,var(--fog-blue,#004090),#075EB6);color:#fff;box-shadow:0 12px 26px rgba(0,64,144,.24);}html .programs-page .btn-secondary{background:#fff;color:var(--fog-text,#42566B);border-color:var(--fog-line,#DCE4ED);}html .programs-page .btn-secondary:hover{border-color:#BFD0E2;color:var(--fog-blue,#004090);box-shadow:0 10px 22px rgba(6,38,74,.08);}html .programs-page .btn-danger{background:linear-gradient(135deg,var(--fog-danger,#C53030),#A02727);color:#fff;box-shadow:0 12px 26px rgba(197,48,48,.20);}html .programs-page .icon-btn{width:38px;height:38px;min-height:38px;padding:0;background:#fff;color:var(--fog-blue,#004090);border-color:var(--fog-line,#DCE4ED);}html .programs-page .icon-btn.danger{color:var(--fog-danger,#C53030);}html .programs-page .icon-btn:hover{background:var(--fog-blue-soft,#EAF2FB);}html .programs-page .icon-btn.danger:hover{background:rgba(197,48,48,.10);border-color:rgba(197,48,48,.24);}
/* Alerts + stats */
html .program-alert{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:14px 16px;border-radius:16px;border:1px solid;font-weight:850;box-shadow:0 10px 24px rgba(6,38,74,.045);}html .program-alert-success{background:rgba(31,122,77,.10);color:var(--fog-success,#16845B);border-color:rgba(31,122,77,.20);}html .program-alert-error{background:rgba(197,48,48,.10);color:var(--fog-danger,#C53030);border-color:rgba(197,48,48,.20);}html .program-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px;}html .program-stat-card{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--fog-line,#DCE4ED);border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(6,38,74,.055);cursor:pointer;transition:.18s ease;}html .program-stat-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(6,38,74,.10);border-color:#BFD0E2;}html .stat-icon{width:45px;height:45px;display:grid;place-items:center;flex:none;border-radius:15px;background:var(--fog-blue-soft,#EAF2FB);color:var(--fog-blue,#004090);}html .stat-icon.success{background:rgba(31,122,77,.10);color:var(--fog-success,#16845B);}html .stat-icon.muted{background:#EEF2F6;color:#64748B;}html .stat-icon.gold{background:var(--fog-gold-soft,#FBF6DD);color:#8A7412;}html .stat-icon.blue{background:rgba(23,105,170,.10);color:var(--fog-info,#1769AA);}html .program-stat-card strong{display:block;color:var(--fog-ink,#10243B);font:900 1.65rem/1 var(--fog-display,'Sora',sans-serif);letter-spacing:-.04em;}html .program-stat-card span:not(.stat-icon){display:block;margin-top:4px;color:var(--fog-muted,#718096);font-size:.69rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}
/* Panels */
html .program-form-panel,html .program-toolbar,html .programs-board,html .program-edit-form,html .program-preview-panel{background:#fff;border:1px solid var(--fog-line,#DCE4ED);border-radius:24px;box-shadow:0 14px 36px rgba(6,38,74,.06);}html .program-form-panel{display:none;margin-bottom:20px;padding:22px;}html .program-form-panel.is-open{display:block;animation:programSlide .22s ease;}@keyframes programSlide{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}html .panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}html .panel-header.compact{margin-bottom:16px;}html .panel-header h2,html .board-header h2{margin:6px 0 3px;color:var(--fog-ink,#10243B);font:900 1.25rem/1.15 var(--fog-display,'Sora',sans-serif);letter-spacing:-.035em;}html .panel-header p{margin:0;color:var(--fog-muted,#718096);font-size:.82rem;line-height:1.5;}
/* Forms */
html .program-form{display:grid;gap:17px;}html .form-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}html .form-group label{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#46596F;font-weight:1000;font-size:.74rem;}html .required{color:var(--fog-danger,#C53030);}html .form-control,html .form-select{width:100%;min-height:48px;border:1px solid #C9D5E3;border-radius:14px;background:#FBFCFE;color:var(--fog-ink,#10243B);padding:11px 13px;outline:0;font:750 .86rem/1.3 var(--fog-body,'Plus Jakarta Sans',sans-serif);box-shadow:none;}html textarea.form-control{min-height:136px;resize:vertical;}html .form-control:focus,html .form-select:focus{border-color:var(--fog-blue,#004090);background:#fff;box-shadow:0 0 0 4px rgba(0,64,144,.10);}html .char-counter{display:block;text-align:right;margin-top:6px;color:var(--fog-muted,#718096);font-weight:800;font-size:.66rem;}html .program-switch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}html .program-switch-card{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"check icon" "title title" "copy copy";gap:8px;padding:15px;border:1px solid var(--fog-line,#DCE4ED);border-radius:18px;background:linear-gradient(180deg,#fff,#FBFCFE);cursor:pointer;}html .program-switch-card input{grid-area:check;width:19px;height:19px;accent-color:var(--fog-blue,#004090);}html .program-switch-card>span{grid-area:icon;justify-self:end;color:var(--fog-blue,#004090);font-size:1.2rem;}html .program-switch-card strong{grid-area:title;color:var(--fog-ink,#10243B);font-size:.86rem;}html .program-switch-card small{grid-area:copy;color:var(--fog-muted,#718096);line-height:1.45;font-weight:700;}html .program-switch-card:has(input:checked){border-color:rgba(0,64,144,.28);background:var(--fog-blue-soft,#EAF2FB);}html .form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;}html .sticky-actions{position:sticky;bottom:0;margin:8px -22px -22px;padding:15px 22px;border-top:1px solid var(--fog-line,#DCE4ED);background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-radius:0 0 24px 24px;}
/* Toolbar */
html .program-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:center;margin-bottom:20px;padding:16px;}html .program-search{display:flex;align-items:center;gap:10px;min-height:48px;border:1px solid #C9D5E3;border-radius:15px;background:#fff;padding:0 13px;}html .program-search .fog-i{color:var(--fog-muted,#718096);}html .program-search input{width:100%;border:0;background:transparent;outline:0;min-height:44px;font-weight:800;color:var(--fog-ink,#10243B);}html .program-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;}
/* Board + cards */
html .programs-board{padding:20px;}html .board-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;}html .result-pill{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid var(--fog-line,#DCE4ED);border-radius:999px;background:#F8FAFC;color:var(--fog-muted,#718096);font-size:.7rem;font-weight:900;}html .result-pill strong{color:var(--fog-blue,#004090);}html .program-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}html .program-card{overflow:hidden;border:1px solid var(--fog-line,#DCE4ED);border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(6,38,74,.055);transition:.18s ease;}html .program-card:hover{transform:translateY(-3px);box-shadow:0 20px 46px rgba(6,38,74,.10);border-color:#BFD0E2;}html .program-card[hidden],html tr[hidden]{display:none!important;}html .program-card-top{min-height:108px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:13px;background:radial-gradient(180px 110px at 88% 0%,rgba(208,176,40,.24),transparent 68%),linear-gradient(135deg,#EAF2FB,#F9FBFE);background-size:cover;background-position:center;}html .program-card-top.has-image{position:relative;}html .program-card-top.has-image:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,38,74,.16),rgba(6,38,74,.46));}html .program-card-top>*{position:relative;z-index:1;}html .program-card-body{padding:17px;}html .program-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px;}html .program-id{display:inline-flex;margin-bottom:5px;color:var(--fog-muted,#718096);font-weight:1000;font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;}html .program-card h3{margin:0;color:var(--fog-ink,#10243B);font:900 1.08rem/1.25 var(--fog-display,'Sora',sans-serif);letter-spacing:-.035em;}html .program-actions-menu{display:flex;align-items:center;gap:6px;flex:none;}html .program-description{margin:0 0 12px;color:var(--fog-text,#42566B);font-size:.82rem;line-height:1.62;}html .eligibility-box{margin:12px 0;padding:12px;border:1px solid #E8EDF4;border-radius:16px;background:#FBFCFE;}html .eligibility-box strong{display:flex;align-items:center;gap:7px;margin-bottom:5px;color:var(--fog-ink,#10243B);font-weight:1000;font-size:.72rem;}html .eligibility-box p{margin:0;color:var(--fog-muted,#718096);font-size:.75rem;line-height:1.5;}html .program-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px;}html .tag{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;background:#F1F5F9;color:#64748B;font-weight:900;font-size:.62rem;}html .tag-green{background:rgba(31,122,77,.10);color:var(--fog-success,#16845B);}
/* Badges/table */
html .status-badge,html .feature-badge{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;border:1px solid;font:1000 .62rem/1 var(--fog-body,'Plus Jakarta Sans',sans-serif);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;}html .status-badge.active{background:rgba(31,122,77,.12);border-color:rgba(31,122,77,.24);color:var(--fog-success,#16845B);}html .status-badge.inactive{background:#EEF2F6;border-color:#DCE4ED;color:#64748B;}html .feature-badge{background:var(--fog-gold-soft,#FBF6DD);border-color:rgba(208,176,40,.24);color:#7A650B;}html .program-table-card{margin-top:18px;border:1px solid var(--fog-line,#DCE4ED);border-radius:20px;overflow:hidden;background:#fff;}html .table-responsive{overflow:auto;}html .programs-table{width:100%;border-collapse:separate;border-spacing:0;}html .programs-table th{padding:13px 14px;text-align:left;background:#F7FAFD;border-bottom:1px solid var(--fog-line,#DCE4ED);color:#6C7D91;font:1000 .62rem/1 var(--fog-body,'Plus Jakarta Sans',sans-serif);letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;}html .programs-table td{padding:14px;border-bottom:1px solid #EEF2F6;color:var(--fog-text,#42566B);font-size:.76rem;vertical-align:middle;}html .programs-table tr:hover td{background:#FAFCFE;}html .program-table-title strong{display:block;color:var(--fog-ink,#10243B);font-weight:1000;}html .program-table-title small{display:block;margin-top:4px;color:var(--fog-muted,#718096);font-size:.68rem;line-height:1.45;}html .mini-yes,html .mini-no{display:inline-flex;padding:6px 9px;border-radius:999px;font-weight:1000;font-size:.62rem;}html .mini-yes{background:rgba(31,122,77,.10);color:var(--fog-success,#16845B);}html .mini-no{background:#EEF2F6;color:#64748B;}html .table-actions{display:flex;align-items:center;gap:7px;}
/* Empty/edit */
html .empty-programs-state{display:grid;place-items:center;text-align:center;gap:10px;padding:48px 20px;border:1px dashed #C9D5E3;border-radius:20px;background:#FBFCFE;}html .empty-programs-state .empty-icon{width:58px;height:58px;color:var(--fog-blue,#004090);}html .empty-programs-state h3{margin:0;color:var(--fog-ink,#10243B);font:900 1.2rem/1.2 var(--fog-display,'Sora',sans-serif);}html .empty-programs-state p{max-width:440px;margin:0;color:var(--fog-muted,#718096);line-height:1.55;}html .program-edit-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:18px;align-items:start;}html .program-edit-form,html .program-preview-panel{padding:22px;}html .program-preview-panel{position:sticky;top:calc(var(--fog-admin-topbar-height,72px) + 20px);}html .preview-card{box-shadow:none;}html .editor-help-card{display:flex;align-items:flex-start;gap:11px;margin-top:14px;padding:14px;border-radius:18px;background:var(--fog-blue-soft,#EAF2FB);color:var(--fog-blue,#004090);}html .editor-help-card>.fog-i{flex:none;width:22px;height:22px;}html .editor-help-card strong{display:block;margin-bottom:3px;color:var(--fog-ink,#10243B);font-weight:1000;}html .editor-help-card p{margin:0;color:var(--fog-text,#42566B);font-size:.76rem;line-height:1.55;}
@media(max-width:1180px){html .program-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}html .program-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}html .program-edit-layout{grid-template-columns:1fr;}html .program-preview-panel{position:static;}}
@media(max-width:820px){html .programs-page .programs-container{padding:22px 14px 34px;}html .programs-hero{align-items:flex-start;flex-direction:column;padding:22px;}html .programs-hero-actions{width:100%;justify-content:stretch;}html .programs-hero-actions .btn{flex:1;}html .program-stats-grid,html .program-card-grid,html .form-grid.two,html .program-switch-grid,html .program-toolbar{grid-template-columns:1fr;}html .program-filters{align-items:stretch;flex-direction:column;}html .program-filters .form-select,html .program-filters .btn{width:100%;}html .panel-header,html .board-header{align-items:flex-start;flex-direction:column;}html .form-actions{justify-content:stretch;}html .form-actions .btn{flex:1;}html .program-table-card{display:none;}}
