/*
File: assets/css/frontend.css
Purpose: Final frontend styling for teacher + parent + principal + enrollment + timetable
Version: 3.0.0
*/

/* =========================================================
   GLOBAL BASE
   ======================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.smaio-card {
    background: #f7f8fb;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow:
        8px 8px 16px rgba(15, 23, 42, 0.08),
        -6px -6px 12px rgba(255, 255, 255, 0.85);
}

.smaio-form-wrapper {
    width: min(100%, 920px);
    margin: 24px auto;
    padding: 22px 24px;
    box-sizing: border-box;
}

.smaio-form-wrapper h2,
.smaio-form-wrapper h3,
.smaio-form-wrapper h4,
.smaio-teacher-dashboard h2,
.smaio-parent-page h2,
.smaio-principal-dashboard h2 {
    margin-top: 0;
    color: #111827;
    font-weight: 700;
}

.smaio-subtitle {
    color: #6b7280;
    margin-top: -2px;
    margin-bottom: 14px;
}

/* =========================================================
   INPUTS / FORMS
   ======================================================= */

.smaio-form-wrapper input[type="text"],
.smaio-form-wrapper input[type="password"],
.smaio-form-wrapper input[type="number"],
.smaio-form-wrapper input[type="date"],
.smaio-form-wrapper input[type="email"],
.smaio-form-wrapper input[type="url"],
.smaio-form-wrapper input[type="time"],
.smaio-form-wrapper select,
.smaio-form-wrapper textarea,
.smaio-parent-page input[type="text"],
.smaio-parent-page input[type="number"],
.smaio-parent-page input[type="date"],
.smaio-parent-page input[type="email"],
.smaio-parent-page input[type="url"],
.smaio-parent-page input[type="time"],
.smaio-parent-page select,
.smaio-parent-page textarea,
.smaio-principal-dashboard input[type="text"],
.smaio-principal-dashboard input[type="number"],
.smaio-principal-dashboard input[type="date"],
.smaio-principal-dashboard input[type="email"],
.smaio-principal-dashboard input[type="url"],
.smaio-principal-dashboard input[type="time"],
.smaio-principal-dashboard input[type="search"],
.smaio-principal-dashboard select,
.smaio-principal-dashboard textarea,
.smaio-enrollment-page input[type="text"],
.smaio-enrollment-page input[type="number"],
.smaio-enrollment-page input[type="date"],
.smaio-enrollment-page input[type="email"],
.smaio-enrollment-page select,
.smaio-enrollment-page textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    background: #f9fafb;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.smaio-form-wrapper textarea,
.smaio-parent-page textarea,
.smaio-principal-dashboard textarea,
.smaio-enrollment-page textarea {
    min-height: 90px;
    resize: vertical;
}

.smaio-form-wrapper input:focus,
.smaio-form-wrapper select:focus,
.smaio-form-wrapper textarea:focus,
.smaio-parent-page input:focus,
.smaio-parent-page select:focus,
.smaio-parent-page textarea:focus,
.smaio-principal-dashboard input:focus,
.smaio-principal-dashboard select:focus,
.smaio-principal-dashboard textarea:focus,
.smaio-enrollment-page input:focus,
.smaio-enrollment-page select:focus,
.smaio-enrollment-page textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.smaio-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 10px;
}

.smaio-form-col {
    flex: 1 1 220px;
    min-width: 220px;
}

/* =========================================================
   BUTTONS
   ======================================================= */

.smaio-btn-primary,
.smaio-form-wrapper button,
.smaio-principal-dashboard button[type="submit"],
.smaio-enrollment-page button[type="submit"] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
    text-decoration: none;
}

.smaio-btn-primary:hover,
.smaio-form-wrapper button:hover,
.smaio-principal-dashboard button[type="submit"]:hover,
.smaio-enrollment-page button[type="submit"]:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
    transform: translateY(-1px);
}

.smaio-btn-secondary {
    background: #eef1f7;
    color: #111827;
    border: 1px solid #d1d5db;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .15s ease;
}

.smaio-btn-secondary:hover {
    background: #e0e7ef;
    border-color: #cbd5e1;
}

/* =========================================================
   ALERTS
   ======================================================= */

.smaio-error {
    background: #fef2f2;
    color: #b91c1c;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    margin-top: 8px;
    margin-bottom: 12px;
    font-size: 13px;
}

.smaio-success {
    background: #ecfdf3;
    color: #166534;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    margin-bottom: 12px;
    font-size: 13px;
}

/* =========================================================
   TABLES
   ======================================================= */

.smaio-table-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.smaio-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    font-size: 13px;
    background: #fff;
}

.smaio-table th,
.smaio-table td {
    border: 1px solid #e5e7eb;
    padding: 8px 9px;
    text-align: left;
    vertical-align: top;
}

.smaio-table th {
    background: #f3f4f6;
    font-weight: 700;
    color: #374151;
}

/* =========================================================
   TEACHER DASHBOARD
   ======================================================= */

.smaio-teacher-dashboard {
    width: min(100%, 1120px);
    margin: 28px auto;
    padding: 0 12px 24px;
    box-sizing: border-box;
}

.smaio-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f2f4fa;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow:
        8px 8px 16px rgba(15, 23, 42, 0.08),
        -6px -6px 12px rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.smaio-page-header h2 {
    margin: 0 0 4px;
    color: #111827;
}

.smaio-page-header .smaio-subtitle {
    margin: 0;
    color: #6b7280;
}

.smaio-teacher-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.smaio-teacher-nav button {
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #111827;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.smaio-teacher-nav button:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.smaio-teacher-nav button.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.smaio-teacher-panels {
    width: 100%;
}

.smaio-teacher-panel {
    display: none;
    width: 100%;
}

.smaio-teacher-panel.is-active {
    display: block;
}

.smaio-teacher-panel .smaio-teacher-section {
    width: 100%;
    padding: 18px;
    overflow: hidden;
}

/* =========================================================
   PRINCIPAL DASHBOARD
   ======================================================= */

.smaio-principal-dashboard {
    width: min(100%, 1200px);
    margin: 28px auto;
    padding: 0 12px 24px;
    box-sizing: border-box;
}

.smaio-principal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 16px 18px;
    border-radius: 18px;
    margin-bottom: 14px;
    color: #fff;
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.18);
}

.smaio-principal-header h2 {
    margin: 0 0 4px;
    color: #fff;
}

.smaio-principal-header .smaio-subtitle {
    margin: 0;
    color: rgba(255,255,255,0.88);
}

.smaio-principal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.smaio-principal-tab-btn {
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #111827;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.smaio-principal-tab-btn:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.smaio-principal-tab-btn.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.smaio-principal-panels {
    width: 100%;
}

.smaio-p-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.smaio-p-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #111827;
    font-weight: 800;
}

.smaio-p-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.smaio-p-stat {
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.smaio-p-stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
}

.smaio-p-stat-label {
    margin-top: 5px;
    font-size: 12px;
}

/* =========================================================
   ICONS / BADGES
   ======================================================= */

.smaio-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 600;
    font-size: 12px;
}

.smaio-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 6px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.20);
}

.smaio-icon-filter { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.smaio-icon-attendance { background: linear-gradient(135deg, #22c55e, #16a34a); }
.smaio-icon-fee { background: linear-gradient(135deg, #f97316, #ea580c); }
.smaio-icon-result { background: linear-gradient(135deg, #6366f1, #4f46e5); }

/* =========================================================
   PARENT PORTAL
   ======================================================= */

.smaio-parent-page {
    width: min(100%, 1160px);
    margin: 24px auto 30px;
    padding: 0 12px 18px;
    box-sizing: border-box;
}

.smaio-parent-topbar {
    margin-bottom: 14px;
}

.smaio-parent-topbar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f7faff, #eef3ff);
    border: 1px solid #dbe4f0;
    box-shadow:
        6px 6px 14px rgba(15, 23, 42, 0.06),
        -4px -4px 10px rgba(255, 255, 255, 0.95);
}

.smaio-parent-logo-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.smaio-parent-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
    font-size: 18px;
}

.smaio-parent-school-meta {
    display: flex;
    flex-direction: column;
}

.smaio-parent-school-name {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}

.smaio-parent-school-tagline {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}

.smaio-parent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.smaio-parent-card {
    padding: 18px;
    background: linear-gradient(180deg, #fbfcfe, #f4f7fb);
    min-height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.smaio-parent-card > *:last-child {
    margin-bottom: 0;
}

.smaio-parent-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    color: #111827;
    display: flex;
    align-items: center;
    font-weight: 800;
    line-height: 1.2;
}

.smaio-card-desc {
    margin: 0 0 12px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.smaio-student-mini {
    margin-top: 10px;
}

.smaio-student-mini-meta {
    color: #6b7280;
    font-size: 12px;
    margin-top: 2px;
}

/* =========================================================
   ATTENDANCE CARD
   ======================================================= */

.smaio-chip {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 6px;
    margin-bottom: 4px;
    border: 1px solid transparent;
}
.smaio-chip-present { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.smaio-chip-absent  { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.smaio-chip-leave   { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.smaio-chip-sunday  { background: #e0e7ff; color: #4338ca; border-color: #c7d2fe; }

.smaio-att-status {
    font-size: 15px;
    font-weight: 700;
}

.smaio-attendance-today {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

/* =========================================================
   FEES / RESULTS
   ======================================================= */

.smaio-inline-print-form {
    margin: 8px 0 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.smaio-overall-performance {
    margin-top: 14px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
}

.smaio-highlight-percentage {
    font-size: 24px;
    font-weight: 800;
    color: #166534;
    margin: 0;
}

.smaio-fee-summary-card {
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 14px;
}

.smaio-fee-summary-card p {
    margin: 0 0 8px;
}

.smaio-fee-summary-card p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ENROLLMENT
   ======================================================= */

.smaio-enrollment-page {
    width: min(100%, 900px);
    margin: 24px auto;
    padding: 0 12px 24px;
}

.smaio-enrollment-header {
    margin-bottom: 18px;
}

.smaio-enrollment-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    padding: 18px;
}

.smaio-enrollment-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #dbeafe;
    background: #fff;
}

.smaio-enrollment-school-name {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.smaio-enrollment-tagline {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.smaio-enrollment-form-wrap {
    padding: 20px;
}

.smaio-enrollment-section {
    margin-bottom: 18px;
}

.smaio-enrollment-section h3 {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #111827;
}

.smaio-enrollment-submit {
    margin-top: 10px;
}

.smaio-enrollment-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
}

.smaio-enrollment-success-icon {
    font-size: 54px;
    line-height: 1;
    margin-bottom: 10px;
}

.smaio-enrollment-footer {
    margin-top: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

/* =========================================================
   TIMETABLE
   ======================================================= */

.smaio-month-sheet {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 12px 20px;
}

.smaio-att-sheet-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.smaio-att-sheet-table th,
.smaio-att-sheet-table td {
    border: 1px solid #e5e7eb;
    padding: 3px 4px;
    text-align: center;
}

.smaio-att-sheet-table th {
    background: #f3f4f6;
    font-weight: 700;
    color: #111827;
}

.smaio-att-sheet-name {
    text-align: left !important;
    min-width: 160px;
}

.smaio-att-sheet-roll {
    min-width: 55px;
}

.smaio-att-sheet-sunday {
    background: #dcfce7;
}

.smaio-att-sheet-pagebreak {
    display: none;
}

/* =========================================================
   PRINT HELPERS
   ======================================================= */

.smaio-print-hide {
    margin-bottom: 12px;
}

.smaio-parent-print-page {
    max-width: 1000px;
    margin: 0 auto;
}

.smaio-print-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.smaio-pagination-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.smaio-pagination-info {
    font-size: 12px;
    color: #6b7280;
}

/* =========================================================
   EXAM GENERATOR
   ======================================================= */

.smaio-teacher-section iframe {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

/* =========================================================
   PRINT
   ======================================================= */

@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }

    header,
    footer,
    nav,
    .site-header,
    .site-footer,
    .smaio-print-actions,
    .smaio-print-hide {
        display: none !important;
    }

    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .smaio-parent-page,
    .smaio-parent-print-page,
    .smaio-form-wrapper,
    .smaio-teacher-dashboard,
    .smaio-principal-dashboard,
    .smaio-card,
    .smaio-p-card {
        box-shadow: none !important;
        border: 0 !important;
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .smaio-table,
    .smaio-att-sheet-table {
        font-size: 11px !important;
    }

    .smaio-table thead,
    .smaio-att-sheet-table thead {
        display: table-header-group !important;
    }

    .smaio-table tr,
    .smaio-att-sheet-table tr {
        page-break-inside: avoid;
    }
}

/* =========================================================
   LARGE TABLET / SMALL LAPTOP
   ======================================================= */

@media (max-width: 1100px) {
    .smaio-parent-page,
    .smaio-teacher-dashboard,
    .smaio-principal-dashboard {
        width: 100% !important;
        max-width: 100% !important;
    }

    .smaio-parent-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .smaio-parent-card {
        padding: 16px;
    }

    .smaio-teacher-panel .smaio-teacher-section {
        padding: 16px;
    }

    .smaio-table {
        min-width: 620px;
    }
}

/* =========================================================
   TABLET
   ======================================================= */

@media (max-width: 900px) {
    .smaio-parent-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .smaio-form-col {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .smaio-table {
        min-width: 540px;
    }

    .smaio-p-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   MOBILE
   ======================================================= */

@media (max-width: 700px) {
    .smaio-form-wrapper,
    .smaio-parent-page,
    .smaio-teacher-dashboard,
    .smaio-principal-dashboard,
    .smaio-enrollment-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 14px auto !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
        box-sizing: border-box !important;
    }

    .smaio-form-wrapper {
        padding-top: 14px !important;
        padding-bottom: 18px !important;
    }

    .smaio-parent-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .smaio-parent-card,
    .smaio-teacher-panel .smaio-teacher-section,
    .smaio-form-wrapper,
    .smaio-card,
    .smaio-p-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .smaio-parent-card,
    .smaio-p-card {
        padding: 14px !important;
        min-height: auto !important;
    }

    .smaio-teacher-panel .smaio-teacher-section {
        padding: 14px !important;
    }

    .smaio-page-header,
    .smaio-principal-header,
    .smaio-enrollment-header-inner {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .smaio-page-header h2,
    .smaio-principal-header h2 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    .smaio-parent-school-name,
    .smaio-enrollment-school-name {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    .smaio-parent-school-tagline,
    .smaio-subtitle {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .smaio-teacher-nav,
    .smaio-principal-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .smaio-teacher-nav button,
    .smaio-principal-tab-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    .smaio-form-row {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .smaio-form-col {
        width: 100% !important;
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .smaio-inline-print-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
    }

    .smaio-inline-print-form .smaio-btn-secondary,
    .smaio-inline-print-form .smaio-btn-primary,
    .smaio-btn-secondary,
    .smaio-btn-primary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .smaio-att-summary {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .smaio-chip {
        margin-right: 0 !important;
    }

    .smaio-table {
        min-width: 500px !important;
    }

    .smaio-pagination-controls {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
        text-align: center !important;
    }

    .smaio-p-stats {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   SMALL MOBILE
   ======================================================= */

@media (max-width: 480px) {
    .smaio-form-wrapper,
    .smaio-parent-page,
    .smaio-teacher-dashboard,
    .smaio-principal-dashboard,
    .smaio-enrollment-page {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .smaio-parent-card,
    .smaio-teacher-panel .smaio-teacher-section,
    .smaio-form-wrapper,
    .smaio-p-card,
    .smaio-enrollment-form-wrap {
        padding: 12px !important;
    }

    .smaio-parent-topbar-inner {
        padding: 12px !important;
        gap: 10px !important;
    }

    .smaio-parent-logo-wrap img,
    .smaio-parent-logo-placeholder,
    .smaio-enrollment-logo {
        width: 42px !important;
        height: 42px !important;
    }

    .smaio-parent-school-name,
    .smaio-enrollment-school-name {
        font-size: 15px !important;
    }

    .smaio-card-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }

    .smaio-att-status {
        font-size: 14px !important;
    }

    .smaio-highlight-percentage {
        font-size: 20px !important;
    }

    .smaio-table {
        min-width: 440px !important;
    }
}

/* END OF FILE */