@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.sms-public-wrap * { box-sizing:border-box; font-family:'Plus Jakarta Sans',sans-serif; }
.sms-public-wrap { max-width:1180px; margin:0 auto; padding:20px; color:#d9e4ff; }
.sms-portal-wrap { padding-top:24px; }
.sms-kicker { display:inline-block; padding:6px 12px; border-radius:999px; background:rgba(125,92,255,.14); border:1px solid rgba(125,92,255,.35); color:#c9bbff; font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.sms-hero-card,.sms-public-section,.sms-login-prompt,.sms-login-card,.sms-login-brand { background:linear-gradient(180deg,rgba(9,15,30,.96),rgba(17,24,39,.98)); border:1px solid rgba(107,124,255,.18); box-shadow:0 16px 40px rgba(2,6,23,.28); border-radius:24px; }
.sms-hero-card { padding:28px; display:grid; grid-template-columns:1.4fr 1fr; gap:18px; margin-bottom:22px; }
.sms-hero-card h2,.sms-login-brand h2 { margin:12px 0 10px; color:#fff; font-size:clamp(1.6rem,3vw,2.4rem); line-height:1.1; }
.sms-hero-card p,.sms-login-brand p,.sms-muted { color:#9fb0d7; }
.sms-cta-row,.sms-quick-links,.sms-form-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:18px; }
.sms-mini-grid,.sms-doc-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sms-mini-card,.sms-doc-card,.sms-price-card { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:18px; }
.sms-mini-card strong,.sms-doc-card h4,.sms-price-card strong { display:block; color:#fff; margin-bottom:6px; }
.sms-mini-card span,.sms-doc-card p,.sms-price-card span { color:#9fb0d7; }
.sms-price-card strong { font-size:2rem; }
.sms-public-section { padding:24px; margin-bottom:20px; }
.sms-public-section h3 { margin:0 0 18px; color:#fff; font-size:1.2rem; }
.sms-stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:16px; margin-bottom:20px; }
.sms-stats-grid-xl { grid-template-columns:repeat(4,minmax(0,1fr)); }
.sms-stat-card { border-radius:18px; padding:20px 16px; text-align:center; color:#fff; box-shadow:inset 0 1px 0 rgba(255,255,255,.1); }
.sms-stat-number { font-size:2rem; font-weight:800; line-height:1; }
.sms-stat-label { font-size:.82rem; opacity:.92; margin-top:8px; }
.sms-green{background:linear-gradient(135deg,#0ea574,#0b7a58)} .sms-blue{background:linear-gradient(135deg,#3451ff,#2038d7)} .sms-orange{background:linear-gradient(135deg,#f59e0b,#d97706)} .sms-red{background:linear-gradient(135deg,#ef4444,#dc2626)} .sms-purple{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}
.sms-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border-radius:12px; border:1px solid transparent; font-size:.92rem; font-weight:700; cursor:pointer; text-decoration:none; transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease; }
.sms-btn:hover { transform:translateY(-1px); opacity:.96; text-decoration:none; }
.sms-btn-primary { background:linear-gradient(135deg,#4f68ff,#6d4dff); color:#fff; box-shadow:0 12px 22px rgba(79,104,255,.25); }
.sms-btn-secondary { background:rgba(255,255,255,.04); color:#fff; border-color:rgba(255,255,255,.12); }
.sms-btn-lg { padding:14px 20px; }
.sms-full { width:100%; }
.sms-input,.sms-input-sm,textarea.sms-input,select.sms-input { width:100%; background:rgba(8,14,29,.9); color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:13px 14px; outline:none; }
.sms-input-sm { padding:10px 12px; border-radius:10px; }
.sms-input::placeholder,textarea.sms-input::placeholder { color:#8ea2d1; }
.sms-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.sms-table-wrap { overflow:auto; border:1px solid rgba(255,255,255,.08); border-radius:16px; }
.sms-table { width:100%; border-collapse:collapse; min-width:680px; }
.sms-table th,.sms-table td { padding:14px 12px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left; color:#dce7ff; }
.sms-table th { background:rgba(255,255,255,.04); color:#fff; font-size:.86rem; }
.sms-badge { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-size:.75rem; font-weight:700; }
.sms-badge-pending { background:rgba(245,158,11,.14); color:#ffcc73; }
.sms-badge-graded { background:rgba(34,197,94,.14); color:#8df4b4; }
.sms-badge-submitted { background:rgba(79,104,255,.18); color:#bdd1ff; }
.sms-badge-present { background:rgba(34,197,94,.14); color:#8df4b4; }
.sms-badge-absent { background:rgba(239,68,68,.16); color:#ffb3b3; }
.sms-badge-late { background:rgba(245,158,11,.16); color:#ffd38d; }
.sms-badge-excused { background:rgba(139,92,246,.16); color:#d7c2ff; }
.sms-assignment-card { background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:18px; margin-bottom:16px; }
.sms-assignment-header { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:8px; }
.sms-assignment-meta { display:flex; flex-wrap:wrap; gap:10px 18px; color:#97abd9; font-size:.88rem; margin-bottom:10px; }
.sms-upload-form { display:grid; gap:10px; margin-top:12px; }
.sms-submitted-msg,.sms-grade-result,.sms-inline-success { background:rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.25); color:#b8f7ce; padding:14px 16px; border-radius:14px; }
.sms-loading { padding:18px; text-align:center; color:#cdd8f8; }
.sms-notice { position:fixed; right:18px; bottom:18px; z-index:99999; min-width:280px; max-width:420px; padding:14px 16px; border-radius:16px; color:#fff; box-shadow:0 18px 38px rgba(2,6,23,.34); }
.sms-notice.success { background:linear-gradient(135deg,#0ea574,#0b7a58); }
.sms-notice.error { background:linear-gradient(135deg,#ef4444,#dc2626); }

.sms-login-page { max-width:1280px; }
.sms-login-shell { display:grid; grid-template-columns:1.1fr .9fr; gap:22px; }
.sms-login-brand,.sms-login-card { padding:28px; }
.sms-login-head h3 { margin:0 0 6px; color:#fff; font-size:1.6rem; }
.sms-login-head p,.sms-login-footnote { color:#9fb0d7; }

.sms-inline-notice { margin:14px 0 16px; padding:12px 14px; border-radius:14px; font-weight:600; }
.sms-inline-notice-success { background:rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.28); color:#b8f7ce; }
.sms-inline-notice-error { background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.28); color:#ffc0c0; }
.sms-role-pills { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.sms-role-pills span,.sms-social-btn { padding:10px 14px; border-radius:999px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); color:#fff; font-weight:600; }
.sms-social-btn-link { display:flex; align-items:center; justify-content:center; text-decoration:none; opacity:1; }
.sms-social-btn-link:hover { text-decoration:none; transform:translateY(-1px); }
.sms-login-form { display:grid; gap:10px; }
.sms-login-form label { color:#cfdcff; font-size:.92rem; }
.sms-login-actions { display:flex; justify-content:space-between; gap:10px; align-items:center; font-size:.9rem; color:#aec0e6; margin:4px 0 8px; }
.sms-login-actions a { color:#b8c8ff; }
.sms-remember { display:flex; align-items:center; gap:8px; }
.sms-social-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:14px 0 10px; }
.sms-social-btn { text-align:center; opacity:.65; }

@media (max-width: 991px) {
  .sms-hero-card,.sms-login-shell,.sms-grid-2,.sms-stats-grid-xl { grid-template-columns:1fr; }
  .sms-mini-grid,.sms-doc-grid { grid-template-columns:1fr; }
}

@media (max-width: 767px) {
  .sms-public-wrap { padding:14px; }
  .sms-hero-card,.sms-public-section,.sms-login-card,.sms-login-brand { padding:20px; border-radius:20px; }
  .sms-cta-row,.sms-quick-links,.sms-form-row,.sms-login-actions,.sms-social-row { flex-direction:column; align-items:stretch; }
  .sms-social-row { display:grid; grid-template-columns:1fr; }
  .sms-btn,.sms-role-pills span { width:100%; }
  .sms-assignment-header { flex-direction:column; align-items:flex-start; }
  .sms-table { min-width:620px; }
}
