/* Shared Student Portal Styles
   Centralizes common tokens and reusable components across the portal.
   Page-specific CSS can still live in individual HTML files when needed.
*/

:root {
  --bg: #0b1220;
  --card: #111a2e;
  --button: #0d1628;
  --primary: #4cc9f0;
  --primary-glow: rgba(76, 201, 240, 0.5);
  --text: #e6edf6;
  --muted: #9fb3c8;
  --border: #1f2a44;
  --danger: #ff6b6b;
  --success: #67e8a5;
  --accent: #7dd3fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
}

a {
  color: inherit;
}

.portal-back-button,
.back-button {
  text-decoration: none;
}

.external-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(159, 179, 200, 0.24);
  background: rgba(159, 179, 200, 0.08);
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(76, 201, 240, 0.3);
  background: rgba(76, 201, 240, 0.08);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-pill strong {
  color: var(--primary);
}

.student-note {
  background: rgba(76, 201, 240, 0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  padding: 15px 17px;
  line-height: 1.5;
}

.error-message {
  color: var(--danger);
}

.success-message {
  color: var(--success);
}

.hidden {
  display: none !important;
}

@media print {
  .back-button,
  .portal-back-button,
  .logout-form,
  button {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}
