/* Bravelyn Digital Academy - Announcement Management Centre (navy / gold / white). Self-contained, so it looks the same in the Admin and Facilitator portals. */
.anc { --n1: #0b1f3a; --n2: #12305a; --n3: #1b447c; --gold: #f5b400; --gold2: #ffd24d; --line: rgba(255,255,255,.14); --mut: #a9b8d0; background: var(--n1); color: #eaf0fb; border-radius: 20px; padding: 18px; border: 1px solid rgba(245,180,0,.3); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.anc * { box-sizing: border-box; }
.anc-hero h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; } .anc-hero p { margin: 4px 0 14px; color: var(--mut); font-size: 13px; }
.anc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; margin-bottom: 14px; }
.anc-stats div { background: var(--n2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; } .anc-stats b { display: block; font-size: 26px; color: var(--gold); line-height: 1.1; } .anc-stats span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); font-weight: 700; }
.anc-stats .ok b { color: #34d399; } .anc-stats .warn b { color: #fbbf24; }
.anc-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 10px; margin-bottom: 16px; }
.anc-tab { display: flex; gap: 10px; text-align: left; align-items: flex-start; background: var(--n2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: #eaf0fb; cursor: pointer; transition: .15s; }
.anc-tab:hover { border-color: rgba(245,180,0,.6); transform: translateY(-1px); } .anc-tab.on { background: linear-gradient(135deg, rgba(245,180,0,.22), rgba(245,180,0,.06)); border-color: var(--gold); }
.anc-tab b { display: block; color: #fff; font-size: 14px; } .anc-tab small { display: block; color: var(--mut); font-size: 11.5px; margin-top: 2px; line-height: 1.35; }
.anc-tab i { font-style: normal; background: var(--gold); color: var(--n1); border-radius: 99px; padding: 1px 8px; font-size: 11px; margin-left: 4px; }
.anc-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--n1); border: 1px solid rgba(245,180,0,.5); color: var(--gold); font-size: 16px; font-weight: 800; }
.anc-card { background: var(--n2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.anc-card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .anc-card-h h3 { margin: 0; font-size: 19px; color: #fff; } .anc-card-h p { margin: 4px 0 0; font-size: 12.5px; color: var(--mut); }
.anc-new { margin-left: 8px; background: var(--gold); color: var(--n1); font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 99px; vertical-align: middle; }
.anc-sec { border-top: 1px solid var(--line); padding: 16px 0 8px; } .anc-sec h4 { margin: 0 0 12px; font-size: 15px; color: #fff; display: flex; align-items: center; gap: 9px; }
.anc-sec h4 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--n1); font-size: 12px; font-weight: 800; }
.anc-grid { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); } .anc-wide { grid-column: 1 / -1; }
.anc-f label { display: block; font-size: 12.5px; font-weight: 700; color: #dbe5f6; margin-bottom: 5px; } .anc-f small, .anc-hint { display: block; font-size: 11.5px; color: var(--mut); margin-top: 4px; } .anc-opt { font-weight: 400; color: var(--mut); }
.anc input:not([type=checkbox]), .anc select, .anc textarea { width: 100%; background: #08162b; color: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; font-size: 14px; font-family: inherit; }
.anc input:focus, .anc select:focus, .anc textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); } .anc input[readonly] { opacity: .75; } .anc select option { background: #0b1f3a; color: #fff; }
.anc input[type=checkbox], .anc input[type=radio] { accent-color: var(--gold); width: 17px; height: 17px; flex: none; margin-top: 2px; } .anc textarea { resize: vertical; }
.anc-dyn { margin-top: 14px; border: 1px dashed rgba(245,180,0,.55); border-radius: 14px; padding: 14px; background: rgba(245,180,0,.06); } .anc-dyn h5 { margin: 0 0 4px; color: var(--gold2); font-size: 14px; }
.anc-reach { margin-top: 12px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.35); border-radius: 12px; padding: 10px 13px; font-size: 13px; } .anc-count { color: var(--gold2); }
.anc-switch { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; } .anc-switch small { display: block; font-weight: 400; color: var(--mut); font-size: 11.5px; margin-top: 2px; }
.anc-att { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 8px; margin-bottom: 8px; } @media (max-width: 640px) { .anc-att { grid-template-columns: 1fr; } }
.anc-quick { margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--gold2); }
.anc-info { background: rgba(245,180,0,.09); border: 1px solid rgba(245,180,0,.35); color: #fde68a; border-radius: 12px; padding: 11px 14px; font-size: 13px; margin-bottom: 12px; }
.anc-warn { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.45); color: #fecaca; border-radius: 12px; padding: 11px 14px; font-size: 13px; margin-bottom: 12px; }
.anc-err { color: #fca5a5; font-weight: 700; font-size: 13px; min-height: 18px; margin-top: 10px; }
.anc-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.anc-btn { background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; } .anc-btn:hover { background: rgba(255,255,255,.14); }
.anc-btn-sm { padding: 5px 11px; font-size: 12px; border-radius: 9px; } .anc-btn-gold { background: linear-gradient(90deg, var(--gold), var(--gold2)); color: var(--n1); border-color: transparent; font-weight: 800; } .anc-btn-gold:hover { filter: brightness(1.06); background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.anc-btn-danger { color: #fca5a5; border-color: rgba(239,68,68,.5); }
.anc-picks { margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: rgba(0,0,0,.15); }
.anc-picks-h { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 8px; } .anc-picks-h input { max-width: 260px; } .anc-picks-h span { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--mut); }
.anc-picklist { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); max-height: 240px; overflow: auto; } .anc-pick { display: flex; gap: 9px; align-items: center; background: var(--n2); border-radius: 10px; padding: 7px 10px; cursor: pointer; } .anc-pick b { display: block; font-size: 12.5px; } .anc-pick small { color: var(--mut); font-size: 11px; }
.anc-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .anc-bar input, .anc-bar select { width: auto; flex: 1 1 170px; }
.anc-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; } .anc-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 760px; }
.anc-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); padding: 10px 12px; background: rgba(0,0,0,.2); } .anc-table td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.anc-sm { font-size: 11.5px; color: var(--mut); } .anc-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.anc-chip { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.12); margin-left: 4px; } .anc-chip.gold { background: rgba(245,180,0,.25); color: var(--gold2); } .anc-chip.red { background: rgba(239,68,68,.25); color: #fecaca; }
.anc-b { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.12); }
.anc-b-published { background: rgba(52,211,153,.2); color: #6ee7b7; } .anc-b-scheduled { background: rgba(251,191,36,.2); color: #fcd34d; } .anc-b-draft { background: rgba(148,163,184,.2); color: #cbd5e1; } .anc-b-archived, .anc-b-expired { background: rgba(239,68,68,.18); color: #fca5a5; }
.anc-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); } .anc-sch { background: var(--n2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.anc-sch-h { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .anc-sch-when { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; } .anc-sch-when em { font-style: normal; color: var(--gold2); }
.anc-meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px; margin-bottom: 14px; } .anc-meters div { background: rgba(0,0,0,.2); border-radius: 12px; padding: 10px 12px; }
.anc-meters span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); font-weight: 700; } .anc-meters b { font-size: 22px; color: var(--gold); } .anc-meters em { font-style: normal; margin-left: 6px; font-size: 12px; color: var(--mut); }
.anc-meter { display: block; height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin-top: 6px; } .anc-meter u { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); }
.anc-empty { text-align: center; color: var(--mut); padding: 34px 16px; } .anc-empty b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
@media (max-width: 720px) { .anc { padding: 12px; border-radius: 14px; } .anc-tabs { grid-template-columns: 1fr 1fr; } .anc-tab small { display: none; } .anc-actions .anc-btn { flex: 1 1 100%; } }
