
/* ============================================================
   SJCS ADMIN — INDEPENDENT SLIDER ACTIONS
   Page-specific styles only.
   Does NOT modify style_admin.css.
   ============================================================ */

#sjcsSliderActionsPage{
  --sa-deep:#063d2e;
  --sa-deep2:#07513d;
  --sa-gold:#d49a22;
  --sa-gold2:#f0bd43;
  --sa-ink:#18352d;
  --sa-muted:#71817a;
  --sa-line:#e5ebe8;
  --sa-bg:#f6f8f7;
  color:var(--sa-ink);
  padding:4px;
}

#sjcsSliderActionsPage *,
#sjcsSliderActionsPage *::before,
#sjcsSliderActionsPage *::after{
  box-sizing:border-box;
}

#sjcsSliderActionsPage .sa-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--sa-deep),var(--sa-deep2));
  color:#fff;
  border-radius:22px;
  padding:30px 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:20px;
  box-shadow:0 18px 40px rgba(6,61,46,.16);
}

#sjcsSliderActionsPage .sa-hero::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-58px;
  top:-72px;
  border:1px solid rgba(240,189,67,.28);
  border-radius:50%;
  box-shadow:0 0 0 22px rgba(240,189,67,.05),
             0 0 0 44px rgba(240,189,67,.035);
  pointer-events:none;
}

#sjcsSliderActionsPage .sa-eyebrow{
  display:block;
  color:#f4ce78;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  margin-bottom:8px;
}

#sjcsSliderActionsPage .sa-hero h1{
  margin:0 0 6px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  line-height:1.1;
}

#sjcsSliderActionsPage .sa-hero p{
  margin:0;
  color:rgba(255,255,255,.78);
  line-height:1.6;
}

#sjcsSliderActionsPage .sa-hero-icon{
  position:relative;
  z-index:1;
  width:70px;
  height:70px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:28px;
  color:var(--sa-gold2);
  flex:none;
}

#sjcsSliderActionsPage .sa-status{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:13px;
  font-size:12px;
  color:rgba(255,255,255,.78);
}

#sjcsSliderActionsPage .sa-status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#71d59d;
  box-shadow:0 0 0 4px rgba(113,213,157,.13);
}

#sjcsSliderActionsPage .sa-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

#sjcsSliderActionsPage .sa-card{
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:18px;
  padding:22px;
  transition:.2s ease;
}

#sjcsSliderActionsPage .sa-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.07);
}

#sjcsSliderActionsPage .sa-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid var(--sa-line);
}

#sjcsSliderActionsPage .sa-card-title{
  display:flex;
  align-items:center;
  gap:12px;
}

#sjcsSliderActionsPage .sa-card-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  background:#f0f6f3;
  color:var(--sa-deep);
  display:grid;
  place-items:center;
  font-size:19px;
  flex:none;
}

#sjcsSliderActionsPage .sa-card h2{
  margin:0;
  font-size:19px;
  line-height:1.2;
}

#sjcsSliderActionsPage .sa-card-subtitle{
  margin:4px 0 0;
  color:var(--sa-muted);
  font-size:12px;
  line-height:1.5;
}

#sjcsSliderActionsPage .sa-switch{
  position:relative;
  width:50px;
  height:28px;
  flex:none;
}

#sjcsSliderActionsPage .sa-switch input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}

#sjcsSliderActionsPage .sa-switch-track{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:#d9e2de;
  cursor:pointer;
  transition:.2s ease;
}

#sjcsSliderActionsPage .sa-switch-track::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  left:4px;
  top:4px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:.2s ease;
}

#sjcsSliderActionsPage .sa-switch input:checked + .sa-switch-track{
  background:var(--sa-deep);
}

#sjcsSliderActionsPage .sa-switch input:checked + .sa-switch-track::after{
  transform:translateX(22px);
}

#sjcsSliderActionsPage .sa-field{
  margin-bottom:14px;
}

#sjcsSliderActionsPage .sa-field label{
  display:block;
  margin-bottom:7px;
  font-size:12px;
  font-weight:800;
  color:#42534c;
}

#sjcsSliderActionsPage .sa-field input{
  width:100%;
  min-height:44px;
  border:1px solid #dbe3df;
  border-radius:10px;
  padding:0 12px;
  background:#fff;
  color:var(--sa-ink);
  outline:none;
}

#sjcsSliderActionsPage .sa-field input:focus{
  border-color:var(--sa-gold);
  box-shadow:0 0 0 3px rgba(212,154,34,.10);
}

#sjcsSliderActionsPage .sa-field small{
  display:block;
  margin-top:6px;
  color:var(--sa-muted);
  font-size:11px;
}

#sjcsSliderActionsPage .sa-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--sa-line);
}

#sjcsSliderActionsPage .sa-btn{
  min-height:44px;
  border:0;
  border-radius:10px;
  padding:0 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  font-weight:800;
  font-size:13px;
}

#sjcsSliderActionsPage .sa-btn-primary{
  background:var(--sa-deep);
  color:#fff;
}

#sjcsSliderActionsPage .sa-btn-primary:hover{
  background:#052f24;
}

#sjcsSliderActionsPage .sa-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}

#sjcsSliderActionsPage .sa-db-note{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--sa-muted);
  font-size:11px;
}

#sjcsSliderActionsPage .sa-db-note i{
  color:var(--sa-gold);
}

#sjcsSliderActionsPage .sa-error{
  margin-bottom:18px;
  padding:13px 15px;
  border-radius:12px;
  background:#fff4f3;
  border:1px solid #efcaca;
  color:#8f2520;
  font-size:13px;
  line-height:1.5;
}

#sjcsSliderActionsPage .sa-loading{
  padding:70px 20px;
  text-align:center;
  color:var(--sa-muted);
}

#sjcsSliderActionsPage .sa-loading i{
  font-size:24px;
  margin-bottom:10px;
}

#sjcsSliderActionsPage .sa-toast{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:99999;
  max-width:390px;
  padding:13px 17px;
  border-radius:11px;
  color:#fff;
  background:var(--sa-deep);
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  opacity:0;
  transform:translateY(15px);
  pointer-events:none;
  transition:.25s ease;
  font-size:13px;
}

#sjcsSliderActionsPage .sa-toast.show{
  opacity:1;
  transform:translateY(0);
}

#sjcsSliderActionsPage .sa-toast.error{
  background:#a82720;
}

@media(max-width:900px){
  #sjcsSliderActionsPage .sa-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:700px){
  #sjcsSliderActionsPage .sa-hero{
    padding:24px;
  }

  #sjcsSliderActionsPage .sa-hero-icon{
    display:none;
  }

  #sjcsSliderActionsPage .sa-footer{
    align-items:stretch;
    flex-direction:column;
  }

  #sjcsSliderActionsPage .sa-btn{
    width:100%;
  }
}
/* ============================================================
   SJCS ADMIN — SLIDER ACTIONS
   TOP VIEW MATCH — NEWS & EVENTS REFERENCE
   CSS ONLY. No JS/API/database changes.
   ============================================================ */

#sjcsSliderActionsPage{
  padding:4px;
}

#sjcsSliderActionsPage .sa-hero{
  position:relative;
  overflow:hidden;
  min-height:150px;
  height:150px;
  margin:0 0 20px;
  padding:30px 34px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  background:
    radial-gradient(circle at 91% 50%,rgba(217,170,59,.055),transparent 23%),
    linear-gradient(135deg,#004c3a,#087258);
  color:#fff;
  box-shadow:0 16px 35px rgba(0,71,53,.13);
}

/* Same decorative circular arcs as the News & Events hero */
#sjcsSliderActionsPage .sa-hero::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-145px;
  bottom:-180px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  box-shadow:
    0 0 0 28px rgba(255,255,255,.025),
    0 0 0 58px rgba(255,255,255,.018);
  pointer-events:none;
}

#sjcsSliderActionsPage .sa-hero::after{
  display:none;
}

#sjcsSliderActionsPage .sa-hero > div:first-child{
  position:relative;
  z-index:2;
  max-width:820px;
}

#sjcsSliderActionsPage .sa-eyebrow{
  display:block;
  margin:0;
  color:#f0ca70;
  font-size:9px;
  line-height:1.4;
  font-weight:900;
  letter-spacing:.18em;
}

#sjcsSliderActionsPage .sa-hero h1{
  margin:8px 0 10px;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  line-height:1.06;
  font-weight:700;
}

#sjcsSliderActionsPage .sa-hero p{
  margin:0;
  max-width:760px;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.65;
}

/* Exact News & Events style icon box */
#sjcsSliderActionsPage .sa-hero-icon{
  position:relative;
  z-index:2;
  width:70px;
  height:70px;
  min-width:70px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:20px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.015);
  color:#f0bd43;
  font-size:28px;
  flex:none;
}

/* The reference top view has no connection-status row */
#sjcsSliderActionsPage .sa-status{
  display:none !important;
}

@media (max-width:900px){
  #sjcsSliderActionsPage .sa-hero{
    height:auto;
    min-height:150px;
  }
}


/* ================================================================
   SLIDER ACTIONS — EXACT NOTICE BOARD SCREENSHOT MATCH
   CSS ONLY. Do not change slider-actions JS/API/database.
   ================================================================ */

#sjcsSliderActionsPage{
  width:100%;
  padding:4px;
}

#sjcsSliderActionsPage .sa-hero{
  min-height:150px;
  height:150px;
  padding:30px 34px;
  margin:0 0 20px;
  border-radius:22px;
  gap:24px;
  box-shadow:0 18px 40px rgba(6,61,46,.16);
  background:linear-gradient(135deg,#063d2e,#07513d);
}

#sjcsSliderActionsPage .sa-hero::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  right:-145px;
  bottom:-180px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  box-shadow:
    0 0 0 28px rgba(255,255,255,.025),
    0 0 0 58px rgba(255,255,255,.018);
  pointer-events:none;
}

#sjcsSliderActionsPage .sa-hero::after{
  display:none !important;
}

#sjcsSliderActionsPage .sa-hero > div:first-child{
  position:relative;
  z-index:2;
  max-width:900px;
}

#sjcsSliderActionsPage .sa-eyebrow{
  display:block;
  color:#f4ce78;
  font-size:11px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.16em;
  margin-bottom:8px;
}

#sjcsSliderActionsPage .sa-hero h1{
  margin:0 0 6px;
  color:#fff;
  font-family:inherit;
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

#sjcsSliderActionsPage .sa-hero p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.55;
  max-width:900px;
}

#sjcsSliderActionsPage .sa-hero-icon{
  width:70px;
  height:70px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:28px;
  color:#f0bd43;
  flex:none;
  position:relative;
  z-index:2;
  background:transparent;
}

#sjcsSliderActionsPage .sa-hero-icon i{
  color:#f0bd43;
}

#sjcsSliderActionsPage .sa-status{
  display:none !important;
}

@media(max-width:820px){
  #sjcsSliderActionsPage{
    padding:0;
  }

  #sjcsSliderActionsPage .sa-hero{
    height:auto;
    min-height:150px;
    padding:28px 24px;
  }
}


/* ================================================================
   NOTICE BOARD — MATCH THE CURRICULUM PAGE SHELL
   The existing admin topbar/sidebar remain untouched.
   ================================================================ */
.sa-page{
  width:100%;
  padding:4px;
}

.sa-hero{
  min-height:150px;
  height:150px;
  padding:30px 34px;
  margin:0 0 20px;
  border-radius:22px;
  gap:24px;
  box-shadow:0 18px 40px rgba(6,61,46,.16);
  background:linear-gradient(135deg,#063d2e,#07513d);
}

.sa-hero-content{
  max-width:900px;
}

.sa-eyebrow{
  color:#f4ce78;
  font-size:11px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.16em;
  margin-bottom:8px;
}

.sa-hero h1{
  margin:0 0 6px;
  color:#fff;
  font-family:inherit;
  font-size:30px;
  line-height:1.15;
  font-weight:800;
}

.sa-hero p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:13px;
  line-height:1.55;
  max-width:900px;
}

.sa-hero-icon{
  width:70px;
  height:70px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:28px;
  color:#f0bd43;
  flex:none;
  position:relative;
  z-index:2;
  background:transparent;
}

.sa-hero-icon i{color:#f0bd43;}

.sa-hero:before{
  width:300px;
  height:300px;
  right:-145px;
  bottom:-180px;
}

.sa-emblem-ring,
.sa-hero-emblem{display:none !important;}

@media(max-width:820px){
  .sa-page{padding:0;}
  .sa-hero{
    height:auto;
    min-height:150px;
    padding:28px 24px;
  }
}


/* ================================================================
   SLIDER ACTIONS — FORCE THE SAME VISIBLE HERO AS NOTICE BOARD
   CSS ONLY. No JS/API/database changes.
   ================================================================ */
#sjcsSliderActionsPage .sa-hero{
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
}


/* SJCS UNIFIED ADMIN HERO THEME — Leadership & Management reference */
.sjcs-leadership-hero, .sjad-hero, .sjac-hero, .sjfs-hero, .sjcb-hero, .ca-hero, .sj-ach-hero, .sjce-hero, .sj-gallery-hero, .sj-video-hero, .sjnb-hero, .sa-hero, .sjdb-hero, .sj-event-hero {
  min-height:140px !important;
  height:140px !important;
  box-sizing:border-box !important;
  padding:28px 30px !important;
  margin:0 0 18px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#0f5132,#176b43) !important;
  color:#fff !important;
  box-shadow:0 12px 30px rgba(15,81,50,.14) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  overflow:hidden !important;
}
.sjcs-leadership-hero h1, .sjad-hero h1, .sjac-hero h1, .sjfs-hero h1, .sjcb-hero h1, .ca-hero h1, .sj-ach-hero h1, .sjce-hero h1, .sj-gallery-hero h1, .sj-video-hero h1, .sjnb-hero h1, .sa-hero h1, .sjdb-hero h1, .sj-event-hero h1 {
  margin:0 0 6px !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:27px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  letter-spacing:-.4px !important;
  max-width:calc(100vw - 260px) !important;
}
.sjcs-eyebrow, .sjad-eyebrow, .sjac-kicker, .sjcb-eyebrow, .sjcb-kicker, .ca-eyebrow, .sj-ach-kicker, .sjce-eyebrow, .sj-gallery-eyebrow, .sjg-kicker, .sj-video-eyebrow, .sjnb-eyebrow, .sa-eyebrow, .sjdb-eyebrow {
  color:rgba(255,255,255,.78) !important;
  font-size:11px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:1.5px !important;
  margin:0 0 7px !important;
}
.sjcs-leadership-hero p, .sjad-hero p, .sjac-hero p, .sjfs-hero p, .sjcb-hero p, .ca-hero p, .sj-ach-hero p, .sjce-hero p, .sj-gallery-hero p, .sj-video-hero p, .sjnb-hero p, .sa-hero p, .sjdb-hero p, .sj-event-hero p {
  margin:0 !important;
  color:rgba(255,255,255,.86) !important;
  font-family:inherit !important;
  font-size:14px !important;
  line-height:1.35 !important;
  max-width:900px !important;
}
.sjcs-leadership-hero > div:first-child, .sjad-hero > div:first-child, .sjac-hero > div:first-child, .sjfs-hero > div:first-child, .sjcb-hero-copy, .ca-hero > div:first-child, .sj-ach-hero > div:first-child, .sjce-hero-copy, .sj-gallery-hero > div:first-child, .sj-video-hero > div:first-child, .sjnb-hero-content, .sa-hero-content, .sjdb-hero-content, .sj-event-hero > div:first-child {
  min-width:0 !important;
  max-width:calc(100% - 100px) !important;
}
.sjcs-leadership-hero .sjcs-primary-btn, .sjad-hero button, .sjac-hero button, .sjfs-hero button, .sjcb-hero button, .ca-hero button, .sj-ach-hero .sj-ach-btn, .sjce-hero button, .sj-gallery-hero .sjg-btn-primary, .sj-video-hero .svg-btn-gold, .sjnb-hero button, .sa-hero button, .sjdb-hero .sjdb-hero-btn.primary, .sj-event-hero button {
  flex:0 0 auto !important;
}
@media(max-width:760px){
  .sjcs-leadership-hero, .sjad-hero, .sjac-hero, .sjfs-hero, .sjcb-hero, .ca-hero, .sj-ach-hero, .sjce-hero, .sj-gallery-hero, .sj-video-hero, .sjnb-hero, .sa-hero, .sjdb-hero, .sj-event-hero {height:140px !important;min-height:140px !important;padding:22px !important;}
  .sjcs-leadership-hero h1, .sjad-hero h1, .sjac-hero h1, .sjfs-hero h1, .sjcb-hero h1, .ca-hero h1, .sj-ach-hero h1, .sjce-hero h1, .sj-gallery-hero h1, .sj-video-hero h1, .sjnb-hero h1, .sa-hero h1, .sjdb-hero h1, .sj-event-hero h1 {font-size:23px !important;max-width:calc(100% - 20px) !important;}
}

/* ================================================================
   SJCS SLIDER ACTIONS — LEADERSHIP & MANAGEMENT MASTER THEME
   CSS ONLY. Existing Slider Actions functionality remains unchanged.
   ================================================================ */

body:has(#sjcsSliderActionsPage) .main .content{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:19px 20px 28px !important;
  box-sizing:border-box !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 0 30px !important;
  box-sizing:border-box !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero{
  width:100% !important;
  min-height:140px !important;
  height:140px !important;
  box-sizing:border-box !important;
  padding:28px 30px !important;
  margin:0 0 18px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#0f5132,#176b43) !important;
  color:#fff !important;
  box-shadow:0 12px 30px rgba(15,81,50,.14) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  overflow:hidden !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero > div:first-child{
  min-width:0 !important;
  max-width:calc(100% - 100px) !important;
  position:relative !important;
  z-index:2 !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-eyebrow{
  display:block !important;
  color:rgba(255,255,255,.78) !important;
  font-size:11px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:1.5px !important;
  margin:0 0 7px !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero h1{
  margin:0 0 6px !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:27px !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  letter-spacing:-.4px !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero p{
  margin:0 !important;
  color:rgba(255,255,255,.86) !important;
  font-family:inherit !important;
  font-size:14px !important;
  line-height:1.35 !important;
  max-width:900px !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero-icon{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  border:1px solid rgba(255,255,255,.20) !important;
  border-radius:12px !important;
  display:grid !important;
  place-items:center !important;
  color:#f0bd43 !important;
  font-size:23px !important;
  flex:none !important;
  position:relative !important;
  z-index:2 !important;
  background:rgba(255,255,255,.04) !important;
}

body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero::after{
  display:none !important;
}

@media(max-width:760px){
  body:has(#sjcsSliderActionsPage) .main .content{
    padding:19px 20px 28px !important;
  }
  body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero{
    height:140px !important;
    min-height:140px !important;
    padding:22px !important;
  }
  body:has(#sjcsSliderActionsPage) #sjcsSliderActionsPage .sa-hero h1{
    font-size:23px !important;
  }
}
