/* Bravelyn Digital Academy - Facilitator Portal: Assignment Management (navy / gold / white). Classes start with "asg-". */
.asg { --asg-navy: #0b1f3a; --asg-navy-2: #12305a; --asg-gold: #f5b400; --asg-gold-2: #ffd24d; }
.tp-btn-gold { background: linear-gradient(90deg, var(--asg-gold), var(--asg-gold-2)); color: #0b1f3a !important; border-color: transparent; font-weight: 800; }
.tp-btn-gold:hover { filter: brightness(1.06); }
.asg-hero { background: linear-gradient(135deg, #0b1f3a, #12305a); border: 1px solid rgba(245,180,0,.35); border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; position: relative; overflow: hidden; }
.asg-hero::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(245,180,0,.28), transparent 70%); }
.asg-hero h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; } .asg-hero p { margin: 4px 0 0; color: #cbd5e1; font-size: 13px; max-width: 640px; }
.asg-tabs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); margin-bottom: 16px; }
.asg-tab { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--tp-line); background: var(--tp-panel); color: var(--tp-text); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.asg-tab:hover { border-color: rgba(245,180,0,.55); transform: translateY(-1px); }
.asg-tab.on { background: linear-gradient(135deg, rgba(245,180,0,.18), rgba(245,180,0,.06)); border-color: var(--asg-gold); }
.asg-tab b { display: block; font-size: 14px; color: #fff; } .asg-tab small { display: block; font-size: 11.5px; color: var(--tp-muted); margin-top: 2px; line-height: 1.35; }
.asg-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #0b1f3a; border: 1px solid rgba(245,180,0,.45); color: var(--asg-gold); font-size: 16px; font-weight: 800; }
.asg-count { font-style: normal; background: var(--asg-gold); color: #0b1f3a; border-radius: 999px; padding: 1px 8px; font-size: 11px; margin-left: 4px; }
.asg-card { background: var(--tp-panel); border: 1px solid var(--tp-line); border-radius: 18px; padding: 20px; }
.asg-card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.asg-card-h h3 { margin: 0; font-size: 19px; color: #fff; } .asg-card-h p { margin: 4px 0 0; font-size: 12.5px; color: var(--tp-muted); }
.asg-section { border-top: 1px solid var(--tp-line); padding: 16px 0 6px; }
.asg-section h4 { margin: 0 0 12px; font-size: 15px; color: #fff; display: flex; align-items: center; gap: 9px; }
.asg-section h4 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--asg-gold); color: #0b1f3a; font-size: 12px; font-weight: 800; }
.asg-grid { display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); } .asg-full { grid-column: 1 / -1; }
.asg-radios { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-bottom: 10px; }
.asg-radio { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--tp-line); border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.03); }
.asg-radio.on { border-color: var(--asg-gold); background: rgba(245,180,0,.1); } .asg-radio input { margin-top: 3px; accent-color: var(--asg-gold); }
.asg-radio b { display: block; color: #fff; font-size: 13.5px; } .asg-radio small { color: var(--tp-muted); font-size: 11.5px; }
.asg-picks { border: 1px solid var(--tp-line); border-radius: 14px; padding: 12px; background: rgba(0,0,0,.12); }
.asg-picklist { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); max-height: 260px; overflow: auto; }
.asg-pick { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; background: var(--tp-panel); cursor: pointer; border: 1px solid transparent; }
.asg-pick:hover { border-color: rgba(245,180,0,.45); } .asg-pick.off { opacity: .5; cursor: not-allowed; } .asg-pick input { accent-color: var(--asg-gold); }
.asg-pick b { display: block; font-size: 12.5px; color: #fff; } .asg-pick small { display: block; font-size: 11px; color: var(--tp-muted); }
.asg-av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--asg-navy-2); border: 1px solid rgba(245,180,0,.5); color: var(--asg-gold-2); font-size: 11px; font-weight: 800; }
.asg-info { background: rgba(245,180,0,.09); border: 1px solid rgba(245,180,0,.35); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #fde68a; }
.asg-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; border-top: 1px solid var(--tp-line); padding-top: 16px; margin-top: 12px; }
.asg-stats { margin-bottom: 14px; }
.asg-bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 4px; } .asg-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--asg-gold), var(--asg-gold-2)); }
.asg-due { font-size: 11px; font-weight: 700; color: var(--tp-muted); } .asg-due.warn { color: #fcd34d; } .asg-due.bad { color: #fca5a5; }
.asg-link { color: var(--asg-gold-2); font-weight: 700; word-break: break-all; }
.asg-revgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.asg-rev { background: var(--tp-panel); border: 1px solid var(--tp-line); border-left: 4px solid var(--asg-gold); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.asg-rev-h { display: flex; align-items: center; gap: 10px; } .asg-rev-h b { color: #fff; }
.asg-rev-m { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 8px; }
.asg-rev-m span { background: rgba(255,255,255,.05); border-radius: 10px; padding: 7px 9px; } .asg-rev-m small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--tp-muted); } .asg-rev-m b { font-size: 12.5px; color: #fff; }
.asg-fb { margin: 0; font-size: 12.5px; background: rgba(245,180,0,.08); border-radius: 10px; padding: 8px 10px; white-space: pre-wrap; }
.asg-rv ul { margin: 6px 0 12px 18px; }
@media (max-width: 720px) { .asg-hero h2 { font-size: 19px; } .asg-tabs { grid-template-columns: 1fr 1fr; } .asg-tab small { display: none; } .asg-actions .tp-btn { flex: 1 1 100%; } }
