
/* ==================================================
   QROQUENIANS
   Student Profile and Attendance Monitoring System
   ================================================== */


/* ==================================================
   1. GLOBAL STYLES
   ================================================== */

:root {
    /* Primary navy palette */
    --navy: #102D4E;
    --navy-dark: #091D33;
    --blue: #245B91;
    --teal: #356B9C;
    --purple: #527CA5;

    /* Green variables retained for compatibility */
    --green: #102D4E;
    --green-dark: #091D33;

    /* Neutral palette */
    --background: #F3F6FA;
    --white: #FFFFFF;
    --text: #202D3D;
    --muted: #68798D;
    --border: #E1E8F0;

    /* Shadows */
    --shadow: 0 8px 24px rgba(16, 45, 78, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd2dc;
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(23, 100, 216, 0.12);
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-weight: 600;
}


/* ==================================================
   2. SHARED BUTTON STYLES
   ================================================== */

button,
.btn,
.button,
.portal-button,
a.btn,
a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    transition:
        background-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

button:hover,
.btn:hover,
.button:hover,
.portal-button:hover,
a.btn:hover,
a.button:hover {
    background: #0f53bc;
    box-shadow: 0 5px 12px rgba(23, 100, 216, 0.2);
}

button:active,
.btn:active,
.button:active,
.portal-button:active {
    transform: translateY(1px);
}

button:focus-visible,
.btn:focus-visible,
.button:focus-visible,
.portal-button:focus-visible,
a.btn:focus-visible,
a.button:focus-visible {
    outline: 3px solid rgba(23, 100, 216, 0.28);
    outline-offset: 3px;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* ==================================================
   3. ORIGINAL LOGIN CONTAINER
   Retained for pages using .login-container
   ================================================== */

.login-container {
    width: calc(100% - 32px);
    max-width: 400px;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 20px #00000012;
}

.login-container input {
    display: block;
    margin: 8px 0 18px;
}

.login-container button {
    width: 100%;
    background: var(--green);
}

.login-container button:hover {
    background: var(--green-dark);
}


/* ==================================================
   4. ADMIN LOGIN PAGE
   Classes: .login-page, .hero, .login-side
   ================================================== */

.login-page {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    background: #f3f7fc;
}


/* 4.1 Branding panel */

.login-page .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    padding: 55px clamp(28px, 5vw, 75px);
    background:
        radial-gradient(
            circle at 15% 10%,
            #ffffff 0,
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #dceeff,
            #edf7ff 60%,
            #d1e8f3
        );
    text-align: left;
}


/* 4.2 Branding logo and title */

.login-page .brand {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0 0 65px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: var(--navy);
}

.login-page .brand-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--green);
    color: var(--white);
    font-size: 30px;
    font-weight: 800;
}

.login-page .brand h1 {
    margin: 0;
    color: #082f45;
    font-size: clamp(25px, 3vw, 37px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.login-page .brand p {
    margin: 6px 0 0;
    color: #426c8c;
    font-size: 13px;
}


/* 4.3 Welcome text */

.login-page .hero-copy {
    width: 100%;
    max-width: 570px;
}

.login-page .eyebrow {
    margin-bottom: 17px;
    color: #08705b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.login-page .hero-copy h2 {
    margin: 0 0 22px;
    color: #102d4e;
    font-size: clamp(36px, 4vw, 57px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.8px;
}

.login-page .hero-copy h2 span {
    color: #08705b;
}

.login-page .hero-copy > p {
    max-width: 500px;
    margin: 0;
    color: #456783;
    font-size: 15px;
    line-height: 1.9;
}


/* 4.4 Feature highlights */

.login-page .features {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
}

.login-page .feature {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #123b58;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.login-page .feature-icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--white);
    color: var(--green);
    font-size: 20px;
    box-shadow: 0 5px 15px #183d5210;
}

.login-page .hero-footer {
    margin-top: 55px;
    color: #176653;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* 4.5 Login panel and card */

.login-page .login-side {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 100vh;
    padding: 40px;
    background: linear-gradient(145deg, #f9fbff, #eaf2f9);
}

.login-page .login-card {
    width: 100%;
    max-width: 470px;
    padding: clamp(25px, 3.5vw, 43px);
    border: 1px solid #e4ebf2;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 55px rgba(24, 59, 88, 0.10);
}


/* 4.6 Login heading */

.login-page .login-heading {
    margin: 0 0 32px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #102d4e;
    text-align: center;
}

.login-page .login-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 17px;
    border-radius: 20px;
    background: #e3f3ee;
    color: var(--green);
    font-size: 29px;
}

.login-page .login-heading h2 {
    margin: 0 0 10px;
    color: #102d4e;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.3;
}

.login-page .login-heading p {
    margin: 0;
    color: #687f96;
    font-size: 13px;
    line-height: 1.7;
}


/* 4.7 Login form fields */

.login-page #login-form {
    width: 100%;
}

.login-page .form-group {
    margin-bottom: 21px;
}

.login-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #102d4e;
    font-size: 13px;
    font-weight: 700;
}

.login-page .form-group input {
    display: block;
    width: 100%;
    min-height: 51px;
    padding: 13px 15px;
    border: 1px solid #cbdbea;
    border-radius: 9px;
    background: var(--white);
    color: #172b4d;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-page .form-group input::placeholder {
    color: #91a1b5;
}

.login-page .form-group input:focus {
    border-color: #08705b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 112, 91, 0.12);
}


/* 4.8 Login button and messages */

.login-page .login-button {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 7px;
    padding: 14px 18px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(100deg, #08705b, #075b4b);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.login-page .login-button:hover {
    background: var(--green-dark);
    box-shadow: 0 7px 18px #08665328;
    transform: translateY(-1px);
}

.login-page .login-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.login-page #message {
    margin: 12px 0 0;
    color: #b42318;
    font-size: 12px;
    line-height: 1.6;
}


/* 4.9 Security notice and footer */

.login-page .secure-note {
    margin-top: 26px;
    padding: 16px;
    border-radius: 11px;
    background: #eff7f5;
    color: #245c50;
    font-size: 12px;
    line-height: 1.8;
}

.login-page .secure-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--green);
}

.login-page .secure-note p {
    margin: 0;
    color: #55776f;
    font-size: 11px;
}

.login-page .footer-note {
    margin: 22px 0 0;
    color: #8192a4;
    font-size: 10px;
    text-align: center;
}


/* ==================================================
   5. MAIN PORTAL SELECTION PAGE
   Classes: .portal-home, .portal-grid, .portal-card
   ================================================== */


/* 5.1 Site header */

.site-header {
    width: 100%;
    padding: 24px clamp(20px, 5vw, 65px);
    background: linear-gradient(
        115deg,
        var(--navy-dark),
        var(--navy)
    );
    color: var(--white);
    box-shadow: 0 3px 12px rgba(4, 28, 63, 0.14);
}

.site-header h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 750;
    line-height: 1.2;
}

.site-header p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.94rem;
}


/* 5.2 Welcome section */

.portal-home {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 20px;
}

.portal-home .welcome-section {
    padding: 65px 20px 35px;
    text-align: center;
}

.portal-home .portal-eyebrow {
    margin: 0 0 12px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.portal-home .welcome-section h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 750;
    line-height: 1.2;
}

.portal-home .welcome-section > p:last-child {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1rem;
}


/* 5.3 Portal grid */

.portal-grid,
.portals,
.portal-cards,
.cards-container,
.card-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: min(1060px, calc(100% - 40px));
    margin: 18px auto 35px;
}


/* 5.4 Portal cards */

.portal-card,
.portal,
.card,
.role-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 30px 24px 26px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-top: 5px solid var(--navy);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-card:hover,
.portal:hover,
.card:hover,
.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(20, 39, 74, 0.13);
}


/* 5.5 Portal-specific accent colors */

.portal-home .admin-portal {
    border-top-color: var(--blue);
}

.portal-home .teacher-portal {
    border-top-color: var(--teal);
}

.portal-home .student-portal {
    border-top-color: var(--purple);
}


/* 5.6 Portal icons */

.portal-icon,
.card-icon,
.role-icon,
.icon {
    display: grid;
    place-items: center;
    min-height: 62px;
    margin-bottom: 12px;
    font-size: 2.25rem;
    line-height: 1;
}

.portal-home .portal-icon {
    width: 72px;
    height: 72px;
    min-height: 72px;
    margin-bottom: 18px;
    border-radius: 20px;
    background: #edf4ff;
    font-size: 32px;
}

.portal-home .teacher-portal .portal-icon {
    background: #e5f7f3;
}

.portal-home .student-portal .portal-icon {
    background: #f1eaff;
}


/* 5.7 Portal titles and descriptions */

.portal-card h2,
.portal-card h3,
.portal h2,
.portal h3,
.card h2,
.card h3,
.role-card h2,
.role-card h3 {
    margin: 4px 0 12px;
    color: var(--text);
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
}

.portal-home .portal-card h3 {
    font-size: 21px;
}

.portal-card p,
.portal p,
.card p,
.role-card p {
    flex: 1;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.94rem;
}

.portal-home .portal-card p {
    line-height: 1.8;
}


/* 5.8 Portal buttons */

.portal-home .portal-button {
    width: 100%;
    min-height: 48px;
    border-radius: 9px;
    background: var(--blue);
}

.portal-home .teacher-portal .portal-button {
    background: var(--teal);
}

.portal-home .student-portal .portal-button {
    background: var(--purple);
}

.portal-home .portal-button:hover {
    filter: brightness(0.92);
}


/* 5.9 Portal footer */

.portal-home .portal-footer {
    width: 100%;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}


/* ==================================================
   6. SHARED PORTAL LOGIN PAGE
   Classes: .portal-login-page, .portal-login-card
   ================================================== */

.portal-login-page {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 28px 16px;
    background: linear-gradient(145deg, #eaf3ff, #f7f8fc);
}

.portal-login-card {
    width: 100%;
    max-width: 440px;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 55px rgba(20, 39, 74, 0.10);
}


/* 6.1 Back link */

.portal-login-card .back-link {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
}

.portal-login-card .back-link:hover {
    text-decoration: underline;
}


/* 6.2 Login icon and heading */

.portal-login-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 17px;
    border-radius: 20px;
    background: #e5f3ef;
    font-size: 30px;
}

.portal-login-card > h1 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
}

.portal-login-card > p:not(.login-security-note) {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}


/* 6.3 Login form */

.portal-login-card #login-form {
    margin: 0;
}

.portal-login-card #login-form label {
    margin: 0 0 7px;
    font-size: 13px;
}

.portal-login-card #login-form input {
    min-height: 49px;
    margin: 0 0 19px;
    border-color: #d7deea;
}

.portal-login-card #login-button {
    width: 100%;
    margin-top: 5px;
    background: var(--green);
}

.portal-login-card #login-button:hover {
    background: var(--green-dark);
}

.portal-login-card #login-button:disabled {
    opacity: 0.7;
    cursor: wait;
}


/* 6.4 Login messages and security notice */

.portal-login-card #message {
    overflow-wrap: anywhere;
    font-size: 12px;
}

.portal-login-card .login-security-note {
    margin: 24px 0 0;
    padding: 14px;
    border-radius: 10px;
    background: #eff7f5;
    color: #426c61;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}


/* ==================================================
   7. ADMIN DASHBOARD
   Classes: .sidebar, .dashboard, .stats
   ================================================== */

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 230px;
    padding: 24px 18px;
    overflow-y: auto;
    background: #123b32;
    color: var(--white);
}

.sidebar nav a {
    display: block;
    padding: 12px 8px;
    border-radius: 6px;
    color: var(--white);
    text-decoration: none;
}

.sidebar nav a:hover {
    background: #245649;
}

.sidebar button {
    width: 100%;
    margin-top: 24px;
}

.dashboard {
    min-width: 0;
    margin-left: 230px;
    padding: 32px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.stat-card {
    min-width: 0;
    padding: 22px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 2px 10px #00000008;
}

.stat-card p {
    margin: 8px 0;
    font-size: 28px;
    font-weight: 700;
}


/* ==================================================
   8. FOOTERS
   ================================================== */

footer,
.site-footer,
.page-footer {
    width: min(900px, calc(100% - 40px));
    margin: 42px auto 24px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

footer p,
.site-footer p,
.page-footer p {
    margin: 0;
}


/* ==================================================
   9. RESPONSIVE DESIGN
   ================================================== */


/* 9.1 Tablets */

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-page .hero {
        min-height: auto;
        padding: 40px 30px;
    }

    .login-page .brand {
        margin-bottom: 38px;
    }

    .login-page .hero-copy h2 {
        font-size: 42px;
    }

    .login-page .hero-footer {
        margin-top: 30px;
    }

    .login-page .login-side {
        min-height: auto;
        padding: 35px 20px;
    }

    .login-page .login-card {
        max-width: 500px;
    }

    .portal-grid,
    .portals,
    .portal-cards,
    .cards-container,
    .card-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .portal-card,
    .portal,
    .card,
    .role-card {
        padding: 26px 20px 22px;
    }
}


/* 9.2 Mobile devices */

@media (max-width: 650px) {
    .sidebar {
        position: static;
        width: 100%;
    }

    .dashboard {
        margin-left: 0;
        padding: 18px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .portal-grid,
    .portals,
    .portal-cards,
    .cards-container,
    .card-container {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        gap: 16px;
        margin-top: 10px;
    }

    .portal-card,
    .portal,
    .card,
    .role-card {
        padding: 24px 22px;
    }

    .portal-home .welcome-section {
        padding: 42px 8px 24px;
    }

    .portal-home .portal-grid {
        margin-top: 5px;
    }

    footer,
    .site-footer,
    .page-footer {
        width: calc(100% - 32px);
        margin-top: 30px;
    }
}


/* 9.3 Small mobile devices */

@media (max-width: 480px) {
    .login-container {
        padding: 24px 20px;
    }

    .login-page .hero {
        padding: 30px 22px;
    }

    .login-page .brand {
        gap: 12px;
    }

    .login-page .brand-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .login-page .brand h1 {
        font-size: 24px;
    }

    .login-page .brand p {
        font-size: 11px;
    }

    .login-page .hero-copy h2 {
        font-size: 35px;
    }

    .login-page .hero-copy > p {
        font-size: 13px;
    }

    .login-page .features {
        gap: 14px;
    }

    .login-page .feature {
        font-size: 10px;
    }

    .login-page .login-side {
        padding: 22px 14px;
    }

    .login-page .login-card {
        padding: 26px 21px;
    }

    .login-page .login-heading h2 {
        font-size: 26px;
    }

    .portal-login-card {
        padding: 27px 22px;
    }

    .site-header {
        padding: 16px 20px;
    }
}


/* ==================================================
   10. ACCESSIBILITY
   ================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* QRoquenians Admin Dashboard */
.admin-dashboard-page {
  margin: 0;
  min-height: 100vh;
  background: #f4f7fb;
  color: #182b45;
  font-family: Arial, sans-serif;
}

.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.admin-dashboard-page .sidebar {
  box-sizing: border-box;
  width: 250px;
  min-height: 100vh;
  padding: 28px 20px;
  background: #142c4e;
  color: white;
  flex-shrink: 0;
}

.admin-dashboard-page .sidebar h2 {
  margin-top: 0;
}

.admin-dashboard-page .sidebar nav {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.admin-dashboard-page .sidebar nav a {
  padding: 12px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
}

.admin-dashboard-page .sidebar nav a:hover {
  background: #25466f;
}

.admin-dashboard-page #logoutButton {
  width: 100%;
  margin-top: 32px;
  padding: 12px;
  border: 1px solid #ffffff70;
  border-radius: 8px;
  background: transparent;
  color: white;
  cursor: pointer;
}

.admin-dashboard-page .dashboard {
  box-sizing: border-box;
  flex: 1;
  min-width: 0;
  padding: 36px;
}

.admin-dashboard-page .dashboard-header {
  margin-bottom: 24px;
}

.admin-dashboard-page .dashboard h1 {
  margin-top: 0;
}

.admin-dashboard-page .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 36px;
}

.admin-dashboard-page .stat-card {
  padding: 22px;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: white;
  box-shadow: 0 3px 12px #142c4e0a;
}

.admin-dashboard-page .stat-card h3 {
  font-size: 15px;
  color: #52657d;
}

.admin-dashboard-page .stat-card p {
  margin-bottom: 0;
  font-size: 28px;
  font-weight: bold;
}

.admin-dashboard-page #dashboardContent > section:not(#overview) {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  background: white;
}

.admin-dashboard-page #statusMessage {
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .admin-dashboard-page .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-page .dashboard {
    padding: 24px;
  }
}

@media (max-width: 650px) {
  .dashboard-layout {
    flex-direction: column;
  }

  .admin-dashboard-page .sidebar {
    width: 100%;
    min-height: auto;
  }

  .admin-dashboard-page .sidebar nav {
    margin-top: 16px;
  }

  .admin-dashboard-page .dashboard {
    padding: 20px;
  }
}

.school-login-logo {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-login-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 480px) {
    .school-login-logo {
        width: 62px;
        height: 62px;
    }
}