/* ═══════════════════════════════════════════════════════════
   PDP MUN — Admin Panel Stylesheet
   ═══════════════════════════════════════════════════════════ */

:root {
  --teal:    #1a9e8f;
  --teal2:   #0d7a6e;
  --teal3:   #14b8a6;
  --yellow:  #f5c518;
  --dark:    #0a1628;
  --dark2:   #0f2040;
  --dark3:   #1a2e4a;
  --text:    #e2e8f0;
  --muted:   #94a3b8;
  --border:  rgba(26,158,143,0.22);
  --card-bg: rgba(15,32,64,0.9);
  --radius:  14px;
  --sidebar: 250px;
  --trans:   cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; border: none; }
textarea { resize: vertical; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--teal2); border-radius: 3px; }

.hidden { display: none !important; }

/* ── LOGIN ─────────────────────────────────────────────── */
#loginScreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,158,143,0.15) 0%, transparent 70%),
    var(--dark);
}
.login-card {
  background: rgba(15,32,64,0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.login-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.login-logo img { width: 141px; height: 141px; object-fit: contain; }
.login-title { font-size: 1.8rem; font-weight: 900; }
.login-title span { color: var(--yellow); }
.login-sub { font-size: 0.8rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.login-field {
  position: relative;
  margin-bottom: 18px;
}
.login-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.login-field input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.login-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26,158,143,0.15);
}
.pass-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.pass-toggle:hover { color: var(--teal3); }
.login-error {
  color: #f87171;
  font-size: 0.82rem;
  min-height: 18px;
  margin-bottom: 10px;
}
.login-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(26,158,143,0.35);
  margin-bottom: 16px;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,158,143,0.5); }
.login-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.login-back:hover { color: var(--teal3); }

/* ── DASHBOARD LAYOUT ───────────────────────────────────── */
#dashboard {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar);
  min-width: var(--sidebar);
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: transform 0.35s var(--trans);
  z-index: 100;
  overflow: hidden;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  font-size: 1.25rem;
  font-weight: 900;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-brand img { width: 87px; height: 87px; object-fit: contain; }
.sidebar-brand b { color: var(--yellow); }
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.sn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s;
  position: relative;
}
.sn-item i { width: 18px; text-align: center; font-size: 0.95rem; }
.sn-item:hover { background: rgba(26,158,143,0.1); color: var(--text); }
.sn-item.active { background: rgba(26,158,143,0.18); color: var(--teal3); }
.sn-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--teal3);
  border-radius: 0 3px 3px 0;
}
.sn-badge {
  margin-left: auto;
  background: var(--yellow);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 100px;
  line-height: 1.5;
}
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.admin-profile { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.admin-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--yellow));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.admin-name { font-size: 0.88rem; font-weight: 700; }
.admin-role { font-size: 0.72rem; color: var(--muted); }
.logout-btn {
  color: var(--muted);
  font-size: 1rem;
  transition: color 0.3s;
  padding: 6px;
}
.logout-btn:hover { color: #f87171; }

/* ── MAIN CONTENT ───────────────────────────────────────── */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.admin-topbar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.sidebar-toggle {
  color: var(--muted);
  font-size: 1.1rem;
  padding: 6px;
  transition: color 0.3s;
}
.sidebar-toggle:hover { color: var(--teal3); }
.topbar-search {
  flex: 1;
  max-width: 400px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
}
.topbar-search i { color: var(--muted); font-size: 0.85rem; }
.topbar-search input {
  flex: 1;
  background: none;
  color: var(--text);
  font-size: 0.88rem;
}
.topbar-search input::placeholder { color: var(--muted); }
.topbar-actions { display: flex; gap: 8px; margin-left: auto; }
.tb-btn {
  width: 38px; height: 38px;
  background: rgba(26,158,143,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
  font-size: 0.9rem;
}
.tb-btn:hover { background: rgba(26,158,143,0.18); color: var(--teal3); border-color: var(--teal); }

/* ── PAGES ──────────────────────────────────────────────── */
.pages-wrap { flex: 1; overflow-y: auto; padding: 28px; }
.page { display: none; }
.page.active { display: block; animation: fadeSlide 0.35s var(--trans); }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h1 { font-size: 1.6rem; font-weight: 800; }
.page-date { color: var(--muted); font-size: 0.85rem; }
.ph-actions { display: flex; gap: 10px; }

/* ── KPI CARDS ──────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(15px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.kpi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.kpi-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.kpi-icon.teal   { background: rgba(26,158,143,0.18); color: var(--teal3); }
.kpi-icon.yellow { background: rgba(245,197,24,0.15); color: var(--yellow); }
.kpi-icon.green  { background: rgba(52,211,153,0.15); color: #34d399; }
.kpi-icon.red    { background: rgba(248,113,113,0.15); color: #f87171; }
.kpi-num { display: block; font-size: 1.8rem; font-weight: 900; line-height: 1; }
.kpi-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* ── OVERVIEW GRID ──────────────────────────────────────── */
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(15px);
}
.card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-hd h3 { font-size: 0.95rem; font-weight: 700; }
.card-link { font-size: 0.8rem; color: var(--teal3); }
.card-link:hover { text-decoration: underline; }

/* ── COMMITTEE BARS ─────────────────────────────────────── */
.committee-bars { display: flex; flex-direction: column; gap: 14px; }
.bar-item { }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal3));
  border-radius: 4px;
  transition: width 0.8s var(--trans);
}

/* ── RECENT LIST ────────────────────────────────────────── */
.recent-list { display: flex; flex-direction: column; gap: 10px; }
.recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.ri-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--teal2), var(--teal3));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ri-info { flex: 1; min-width: 0; }
.ri-name { font-size: 0.88rem; font-weight: 600; }
.ri-meta { font-size: 0.75rem; color: var(--muted); }
.ri-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(26,158,143,0.15);
  color: var(--teal3);
  flex-shrink: 0;
}

/* ── FILTERS ────────────────────────────────────────────── */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filters select {
  padding: 9px 32px 9px 14px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a9e8f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
}
.filters select:focus { border-color: var(--teal); }
.filters select option { background: var(--dark2); }

/* ── TABLE ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.admin-table thead tr {
  background: rgba(26,158,143,0.08);
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text);
  vertical-align: middle;
}
.admin-table tbody tr { transition: background 0.2s; }
.admin-table tbody tr:hover { background: rgba(26,158,143,0.05); }
/* keep long email / school from blowing out the table width */
.admin-table td:nth-child(3), .admin-table td:nth-child(4) {
  max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Actions column always reachable — pinned to the right edge even when scrolled */
.admin-table th:last-child, .admin-table td:last-child {
  position: sticky; right: 0;
  background: #0f2040;
  box-shadow: -10px 0 12px -10px rgba(0,0,0,0.55);
}
.admin-table thead th:last-child { background: #102a3f; z-index: 3; }
.admin-table tbody td:last-child { z-index: 1; }
.action-btns { display: flex; gap: 6px; flex-wrap: nowrap; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-badge.pending  { background: rgba(245,197,24,0.12); color: var(--yellow); }
.status-badge.approved { background: rgba(52,211,153,0.12); color: #34d399; }
.status-badge.rejected { background: rgba(248,113,113,0.12); color: #f87171; }
.comm-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(26,158,143,0.12);
  color: var(--teal3);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.action-btns { display: flex; gap: 6px; }
.act-btn {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.25s;
}
.act-btn.view   { background: rgba(26,158,143,0.12); color: var(--teal3); }
.act-btn.approve{ background: rgba(52,211,153,0.12); color: #34d399; }
.act-btn.reject { background: rgba(245,197,24,0.12); color: var(--yellow); }
.act-btn.delete { background: rgba(248,113,113,0.1); color: #f87171; }
.act-btn:hover { filter: brightness(1.3); transform: scale(1.1); }
.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  color: var(--muted);
  gap: 12px;
}
.empty-state.visible { display: flex; }
.empty-state i { font-size: 2.5rem; opacity: 0.4; }
.empty-state p { font-size: 0.9rem; }

/* ── BTN EXPORT / CLEAR ─────────────────────────────────── */
.btn-export, .btn-clear {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-export { background: rgba(26,158,143,0.15); border: 1px solid var(--border); color: var(--teal3); }
.btn-export:hover { background: rgba(26,158,143,0.3); }
.btn-clear  { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); color: #f87171; }
.btn-clear:hover { background: rgba(248,113,113,0.2); }

/* ── COMMITTEES ADMIN ───────────────────────────────────── */
.committees-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.ca-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s;
}
.ca-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.ca-icon {
  width: 48px; height: 48px;
  background: rgba(26,158,143,0.15);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal3);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ca-info { flex: 1; min-width: 0; }
.ca-info h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.ca-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245,197,24,0.12);
  color: var(--yellow);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}
.ca-count { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* ── ANNOUNCEMENTS ──────────────────────────────────────── */
.ann-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: start; }
.ann-form h3, .ann-list h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.3s;
}
.form-group select {
  padding-right: 36px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a9e8f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group select option { background: var(--dark2); }
.btn-ann, .btn-setting {
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--teal), var(--teal2));
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(26,158,143,0.3);
}
.btn-ann:hover, .btn-setting:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,158,143,0.45); }
.ann-entries { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ann-entry {
  padding: 14px 16px;
  border-radius: 10px;
  border-left: 3px solid;
  background: rgba(255,255,255,0.03);
  position: relative;
}
.ann-entry.info    { border-color: var(--teal3); }
.ann-entry.success { border-color: #34d399; }
.ann-entry.warning { border-color: var(--yellow); }
.ann-entry h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; }
.ann-entry p  { font-size: 0.82rem; color: var(--muted); }
.ann-entry .ann-del {
  position: absolute;
  top: 10px; right: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  transition: color 0.3s;
}
.ann-entry .ann-del:hover { color: #f87171; }
.ann-empty { color: var(--muted); font-size: 0.88rem; }

/* ── SETTINGS ───────────────────────────────────────────── */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.settings-grid .admin-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.setting-msg { margin-top: 10px; font-size: 0.82rem; min-height: 18px; }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s var(--trans);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.modal-close:hover { background: rgba(248,113,113,0.2); color: #f87171; }
.modal-box h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 24px; }
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.mg-item { }
.mg-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; font-weight: 600; }
.mg-value { font-size: 0.9rem; color: var(--text); }
.creds-box { background:rgba(47,200,189,.08); border:1px dashed rgba(47,200,189,.55); border-radius:12px; padding:14px 16px; }
.creds-row { display:flex; align-items:flex-end; gap:18px; flex-wrap:wrap; margin-top:8px; }
.creds-row > div { display:flex; flex-direction:column; gap:2px; }
.creds-row span { font-size:0.66rem; text-transform:uppercase; letter-spacing:.5px; color:var(--muted); }
.creds-row strong { font-family:monospace; font-size:1.05rem; color:var(--text); }
.creds-copy { display:inline-flex; align-items:center; gap:6px; background:#0e7a70; color:#fff; border:none; cursor:pointer; font-family:inherit; font-weight:700; font-size:0.82rem; padding:9px 14px; border-radius:9px; transition:.2s; }
.creds-copy:hover { background:#0a544d; }
.modal-actions { display: flex; gap: 10px; }
.ma-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.ma-btn.approve { background: rgba(52,211,153,0.15); color: #34d399; border: 1px solid rgba(52,211,153,0.3); }
.ma-btn.approve:hover { background: rgba(52,211,153,0.3); }
.ma-btn.reject  { background: rgba(245,197,24,0.12); color: var(--yellow); border: 1px solid rgba(245,197,24,0.3); }
.ma-btn.reject:hover  { background: rgba(245,197,24,0.25); }
.ma-btn.delete  { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.ma-btn.delete:hover  { background: rgba(248,113,113,0.2); }

/* ── ADMIN TOAST ────────────────────────────────────────── */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--teal);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s var(--trans);
  z-index: 9999;
  pointer-events: none;
}
.admin-toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .ov-grid  { grid-template-columns: 1fr; }
  .committees-admin-grid { grid-template-columns: 1fr 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .ann-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0); box-shadow: 4px 0 30px rgba(0,0,0,0.4); }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .committees-admin-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .pages-wrap { padding: 18px; }
}
