/* Regal Sunbeam Schools OMS - additions (website link, crest branding, notices) */
.visit-site { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(120,120,140,.35); font-size: 13px; font-weight: 600; color: inherit; line-height: 1; }
.visit-site:hover { background: #4f46e5; border-color: #4f46e5; color: #fff; text-decoration: none; }
.visit-site-li { margin-right: 6px; }
.login-crest { height: 96px; width: auto; background: #fff; border-radius: 18px; padding: 6px 12px; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.back-to-site { font-weight: 600; }
.header-area-left .logo img { width: auto; }
.module-off-banner { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: #fff4e5; border: 1px solid #ffcf99; color: #7a4100; font-size: 14px; }
.badge-danger.ml-2 { font-size: 11px; vertical-align: middle; }
@media (max-width: 767px) { .visit-site span { display: none; } }

/* status pills used by several new pages */
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-new { background: #e0ecff; color: #1d4ed8; } .pill-read { background: #eef2f6; color: #475569; }
.pill-archived { background: #f1f5f9; color: #94a3b8; } .pill-pending { background: #fff4e5; color: #b45309; }
.pill-approved, .pill-active { background: #e2f8ea; color: #15803d; } .pill-rejected { background: #fde8e8; color: #b91c1c; }

/* feature-flag switches */
.switch { position: relative; display: inline-block; width: 48px; height: 26px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; cursor: pointer; inset: 0; background: #cbd5e1; border-radius: 26px; transition: .2s; }
.switch .slider:before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: #16a34a; }
.switch input:checked + .slider:before { transform: translateX(22px); }

/* header crest: the theme sets a fixed width, which stretched the tall crest */
.header-area .header-area-left .logo span img { width: auto; height: 46px; margin-top: -2px; }
.header-area .header-area-left .logo i img { width: auto; height: 36px; }

/* "what's new" note */
.changelog-toast { position: fixed; right: 20px; bottom: 20px; z-index: 1060; width: 320px; max-width: calc(100vw - 40px); background: #fff; color: #1e293b;
  border-radius: 12px; box-shadow: 0 10px 34px rgba(15,23,42,.28); overflow: hidden; transition: opacity .6s; }
.changelog-toast.is-faded { opacity: .55; }
.changelog-toast:hover { opacity: 1; }
.changelog-toast-head { display: flex; justify-content: space-between; align-items: center; background: #4f46e5; color: #fff; padding: 10px 14px; }
.changelog-toast-x { border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.changelog-toast ul { margin: 12px 14px 8px 30px; padding: 0; font-size: 13px; }
.changelog-toast .btn { margin: 4px 14px 14px; width: calc(100% - 28px); }

/* notifications in the bell */
.notify-item.is-unread { background: #f3f6ff; }

/* help page */
.help-step { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef2f6; }
.help-step:last-child { border-bottom: 0; }
.help-step .num { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #4f46e5; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* registration */
.register-form-body { padding: 36px 44px; max-width: 640px; margin: 0 auto; }
.role-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.role-pills label { margin: 0; cursor: pointer; }
.role-pills input { position: absolute; opacity: 0; }
.role-pills span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; font-weight: 600; font-size: 14px; }
.role-pills input:checked + span { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.role-pills input:focus + span { box-shadow: 0 0 0 3px rgba(79,70,229,.25); }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
@media (max-width: 767px) { .register-form-body { padding: 26px 20px; } }

/* readable cards on the new screens (the theme's glass cards let the photo background show through the text) */
.solid-cards .card { background: rgba(255, 255, 255, .95) !important; border: 1px solid rgba(229, 233, 242, .95) !important; }
.solid-cards .card .table { background: transparent; }
.changelog-toast ul, .help-list { list-style: disc; }
.solid-cards .nav-pills .nav-link.bg-white { color: #4f46e5; }
@media (max-width: 575px) {
  .changelog-toast { left: 10px; right: 10px; bottom: 10px; width: auto; max-width: none; }
  .changelog-toast ul li:nth-child(n+3) { display: none; }
}
