/* GRAVIIT admin tweaks on top of AdminLTE 3 */
:root { --brand: #195b96; --brand-deep: #0b2b4c; --accent: #da251d; }
.main-sidebar { background: var(--brand-deep) !important; }
.brand-link { display: flex !important; align-items: center; gap: 10px; border-bottom-color: rgba(255,255,255,.1) !important; }
.brand-logo-box { background: #fff; border-radius: 8px; padding: 3px 6px; display: inline-flex; }
.brand-logo-box img { height: 32px; }
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active { background: var(--accent) !important; box-shadow: 0 4px 12px rgba(218,37,29,.35); }
.nav-header { color: #7f95b3 !important; font-size: .75rem !important; letter-spacing: 1px; }
.btn-primary { background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { background: #124574; border-color: #124574; }
.card-primary.card-outline { border-top-color: var(--brand); }
.content-header h1 { font-weight: 700; color: var(--brand-deep); }
.thumb-sm { width: 70px; height: 50px; object-fit: cover; border-radius: 6px; }
.thumb-yt { width: 110px; height: 62px; object-fit: cover; border-radius: 6px; }
.photo-admin { position: relative; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.photo-admin img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-admin .cover-tag { position: absolute; top: 8px; left: 8px; }
.photo-admin .p-2 { font-size: .85rem; }
.type-panel { display: none; }
.type-panel.show { display: block; }
.login-page { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.login-logo img { height: 110px; background: #fff; padding: 10px 18px; border-radius: 14px; }
.detail-table th { width: 38%; color: #5d6778; font-weight: 600; }
.dataTables_filter input { border-radius: 20px; padding-left: 12px; }

/* Home slider admin */
.slide-admin { overflow: hidden; }
.slide-admin.inactive .slide-thumb { filter: grayscale(1); opacity: .6; }
.slide-thumb { position: relative; aspect-ratio: 1920/900; background: #0b2b4c center/cover no-repeat; }
.slide-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,43,76,.85) 0%, rgba(11,43,76,.25) 70%); }
.slide-thumb .order-tag { position: absolute; top: 8px; right: 8px; z-index: 2; }
.slide-thumb .state-tag { position: absolute; top: 8px; left: 8px; z-index: 2; }
.slide-thumb-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; line-height: 1.25; }
.slide-thumb-text small { display: block; font-size: .65rem; letter-spacing: 1px; opacity: .8; }
.slide-thumb-text span { color: #ff5a52; }
.slide-preview { position: relative; aspect-ratio: 1920/900; border-radius: 10px; overflow: hidden; background: #0b2b4c center/cover no-repeat; margin-bottom: 6px; }
.sp-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,43,76,.9) 20%, rgba(11,43,76,.15) 75%); }
.sp-text { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); width: 60%; color: #fff; }
.sp-text.center { left: 10%; right: 10%; width: auto; text-align: center; }
.sp-badge { display: inline-block; font-size: .6rem; letter-spacing: 1px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; padding: 2px 8px; margin-bottom: 6px; }
.sp-title { font-weight: 800; font-size: clamp(.9rem, 2vw, 1.5rem); line-height: 1.2; }
.sp-title span { color: #ff5a52; }
.sp-sub { font-size: .72rem; opacity: .85; margin: 6px 0; }
.sp-btn { display: inline-block; background: #da251d; border-radius: 20px; padding: 3px 12px; font-size: .7rem; font-weight: 700; }
.sp-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(255,255,255,.6); }

/* Faculty / Achievers / Facilities lists */
.thumb-round { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; }
.initials-round { width: 46px; height: 46px; border-radius: 50%; background: #195b96; color: #fff; display: inline-grid; place-items: center; font-weight: 700; }
.icon-box { width: 70px; height: 50px; border-radius: 6px; background: #eef3f9; color: #195b96; display: inline-grid; place-items: center; font-size: 1.3rem; }
