/* NewTechInfo Admin Panel — Flexbox only, px units */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1F2937;
    background-color: #F3F4F6;
}

a {
    color: #E31E24;
    text-decoration: none;
}

a:hover {
    color: #B91C1C;
}

img {
    max-width: 100%;
    height: auto;
}

/* Flexbox utilities */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1;
}

.flex-align-center {
    align-items: center;
}

.flex-justify-center {
    justify-content: center;
}

.flex-justify-between {
    justify-content: space-between;
}

/* Admin layout */
.admin-body {
    overflow: hidden;
}

.admin-wrapper {
    height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    height: 100vh;
    background-color: #111827;
    color: #D1D5DB;
    overflow-y: auto;
    flex-shrink: 0;
}

.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid #1F2937;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(227, 30, 36, 0.15);
    border-radius: 10px;
    flex-shrink: 0;
}

.logo-brand {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    padding: 16px 12px;
    gap: 4px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.sidebar-link:hover {
    background-color: #1F2937;
    color: #FFFFFF;
}

.sidebar-link.active {
    background-color: #E31E24;
    color: #FFFFFF;
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logout-form {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #1F2937;
}

.sidebar-logout:hover {
    background-color: rgba(227, 30, 36, 0.2);
    color: #FCA5A5;
}

.admin-main {
    flex: 1;
    height: 100vh;
    overflow: hidden;
}

.admin-header {
    height: 64px;
    min-height: 64px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 0 24px;
    flex-shrink: 0;
}

.header-search-wrap {
    flex: 1;
    max-width: 480px;
}

.global-search-box {
    position: relative;
    width: 100%;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0 12px;
    gap: 8px;
}

.search-icon {
    color: #9CA3AF;
    flex-shrink: 0;
}

.global-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
    color: #1F2937;
}

.global-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.global-search-results.show {
    display: block;
}

.search-result-item {
    display: block;
    padding: 10px 16px;
    color: #1F2937;
    border-bottom: 1px solid #F3F4F6;
    font-size: 13px;
}

.search-result-item:hover {
    background-color: #F9FAFB;
}

.search-result-type {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
}

.header-user {
    gap: 12px;
}

.header-user-info {
    text-align: right;
}

.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}

.header-user-role {
    font-size: 11px;
    color: #E31E24;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E31E24;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
}

.admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.page-content {
    width: 100%;
}

/* Alerts */
.alert-container {
    gap: 8px;
    margin-bottom: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0 4px;
}

.alert-close:hover {
    opacity: 1;
}

/* Page header */
.page-header {
    margin-bottom: 24px;
    gap: 16px;
}

.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.date-badge {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #6B7280;
}

/* Stats */
.stats-grid {
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stats-grid .stat-card {
    flex: 1;
    min-width: 200px;
}

.stats-grid-2 .stat-card {
    min-width: 280px;
}

.stats-grid-3 .stat-card {
    min-width: 220px;
}

.stat-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    gap: 8px;
}

.stat-card-header {
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.stat-value-red {
    color: #E31E24;
}

.stat-value-green {
    color: #059669;
}

.stat-value-orange {
    color: #D97706;
}

.stat-change {
    font-size: 12px;
    color: #9CA3AF;
}

.stat-change-up {
    color: #059669;
}

.stat-change-down {
    color: #E31E24;
}

.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-red {
    background-color: rgba(227, 30, 36, 0.1);
    color: #E31E24;
}

.stat-icon-orange {
    background-color: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.stat-icon-dark {
    background-color: #F3F4F6;
    color: #374151;
}

.stat-icon-green {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

/* Cards */
.card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.card-badge {
    font-size: 12px;
    color: #6B7280;
    background-color: #F3F4F6;
    padding: 4px 10px;
    border-radius: 20px;
}

.card-body {
    padding: 20px;
}

.table-card .card-body {
    padding: 0;
}

.table-card .table-responsive {
    padding: 0 20px;
}

.table-card .table-info,
.table-card .pagination-wrap {
    padding: 12px 20px;
}

.chart-card .card-body {
    padding: 16px 20px 24px;
}

.form-card {
    max-width: 800px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table thead th {
    text-align: left;
    padding: 12px 16px;
    background-color: #F9FAFB;
    color: #6B7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #E5E7EB;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #F3F4F6;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background-color: #F9FAFB;
}

.table-user {
    gap: 10px;
}

.table-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #E31E24;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.table-user-name {
    font-weight: 600;
    color: #111827;
    font-size: 13px;
}

.table-user-email {
    font-size: 12px;
    color: #9CA3AF;
}

.table-actions {
    gap: 4px;
}

.table-info {
    font-size: 13px;
    color: #6B7280;
    padding: 8px 0;
}

.text-mono {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #6B7280;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #9CA3AF;
}

.text-truncate {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-success {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-danger {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-secondary {
    background-color: #F3F4F6;
    color: #6B7280;
}

.badge-toggle {
    cursor: pointer;
    border: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background-color: #E31E24;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #B91C1C;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: #F3F4F6;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    background-color: #E5E7EB;
    color: #111827;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: #F3F4F6;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.btn-icon:hover {
    background-color: #E31E24;
    color: #FFFFFF;
    border-color: #E31E24;
}

.btn-back {
    margin-right: 12px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Forms */
.admin-form {
    gap: 20px;
}

.form-row {
    gap: 16px;
    flex-wrap: wrap;
}

.form-group {
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.required {
    color: #E31E24;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    color: #1F2937;
    background-color: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #E31E24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error {
    border-color: #E31E24;
}

.form-input-sm,
.form-select-sm {
    padding: 7px 10px;
    font-size: 13px;
    width: auto;
    min-width: 140px;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 12px;
    color: #9CA3AF;
}

.form-error {
    font-size: 12px;
    color: #E31E24;
    min-height: 16px;
}

.form-actions {
    gap: 12px;
    padding-top: 8px;
}

.checkbox-label {
    gap: 8px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: #E31E24;
}

.filter-form {
    gap: 8px;
    flex-wrap: wrap;
}

.current-media {
    gap: 12px;
    margin-bottom: 8px;
}

/* Pagination */
.pagination-wrap {
    border-top: 1px solid #E5E7EB;
    padding-top: 12px;
    gap: 16px;
    flex-wrap: wrap;
}

.pagination-info {
    font-size: 13px;
    color: #6B7280;
}

.pagination {
    gap: 4px;
    list-style: none;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 13px;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
}

.page-item.active .page-link {
    background-color: #E31E24;
    color: #FFFFFF;
    border-color: #E31E24;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item:not(.disabled):not(.active) .page-link:hover {
    background-color: #F3F4F6;
}

/* Dashboard */
.dashboard-chart-section {
    margin-bottom: 24px;
    gap: 16px;
}

.dashboard-quick-links {
    gap: 16px;
    flex-wrap: wrap;
}

.quick-link-card {
    flex: 1;
    min-width: 220px;
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    gap: 14px;
    color: #1F2937;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.quick-link-card:hover {
    border-color: #E31E24;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.1);
    color: #1F2937;
}

.quick-link-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(227, 30, 36, 0.1);
    color: #E31E24;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-text strong {
    font-size: 14px;
    display: block;
}

.quick-link-text small {
    font-size: 12px;
    color: #9CA3AF;
}

/* Student profile */
.student-profile-layout {
    gap: 24px;
    align-items: flex-start;
}

.student-profile-main {
    gap: 20px;
    min-width: 0;
}

.student-profile-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

.profile-card .card-body {
    padding: 32px 24px;
    gap: 12px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #E31E24;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    text-align: center;
}

.profile-id {
    font-size: 13px;
    color: #9CA3AF;
    text-align: center;
    margin-bottom: 8px;
}

.info-grid {
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    flex: 1;
    min-width: 200px;
    gap: 4px;
}

.info-item-full {
    min-width: 100%;
    flex-basis: 100%;
}

.info-label {
    font-size: 12px;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #111827;
    font-weight: 500;
}

.financial-summary {
    gap: 24px;
}

.financial-stat {
    gap: 2px;
    text-align: right;
}

.financial-label {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
}

.financial-value {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.financial-value-green {
    color: #059669;
}

.financial-value-red {
    color: #E31E24;
}

.documents-list {
    flex-wrap: wrap;
    gap: 12px;
}

.document-item {
    flex: 1;
    min-width: 240px;
    padding: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    gap: 12px;
}

.document-icon {
    color: #E31E24;
    flex-shrink: 0;
}

.document-title {
    font-weight: 600;
    font-size: 14px;
}

.document-link {
    font-size: 12px;
}

/* Attendance */
.attendance-dots {
    gap: 4px;
}

.attendance-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.attendance-dot-present {
    background-color: #059669;
}

.attendance-dot-absent {
    background-color: #E31E24;
}

.attendance-dot-late {
    background-color: #D97706;
}

.attendance-calendar {
    gap: 8px;
}

.calendar-weekdays {
    gap: 4px;
}

.calendar-weekday {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    padding: 8px 0;
    min-width: 60px;
}

.calendar-days {
    gap: 4px;
}

.calendar-day {
    width: calc(14.28% - 4px);
    min-width: 60px;
    height: 64px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    gap: 4px;
    background-color: #FFFFFF;
}

.calendar-day-outside {
    opacity: 0.3;
    background-color: #F9FAFB;
}

.calendar-day-number {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.calendar-day-present {
    background-color: #D1FAE5;
    border-color: #A7F3D0;
}

.calendar-day-present .calendar-day-icon {
    color: #059669;
}

.calendar-day-absent {
    background-color: #FEE2E2;
    border-color: #FECACA;
}

.calendar-day-absent .calendar-day-icon {
    color: #E31E24;
}

.calendar-day-late {
    background-color: #FEF3C7;
    border-color: #FDE68A;
}

.calendar-day-late .calendar-day-icon {
    color: #D97706;
}

.calendar-day-holiday {
    background-color: #F3F4F6;
    border-color: #E5E7EB;
}

.calendar-day-holiday .calendar-day-icon {
    color: #9CA3AF;
}

.attendance-legend {
    gap: 16px;
}

.legend-item {
    gap: 6px;
    font-size: 12px;
    color: #6B7280;
}

.legend-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-present {
    background-color: #D1FAE5;
    color: #059669;
}

.legend-absent {
    background-color: #FEE2E2;
    color: #E31E24;
}

.legend-late {
    background-color: #FEF3C7;
    color: #D97706;
}

.legend-holiday {
    background-color: #F3F4F6;
    color: #9CA3AF;
}

/* Reports */
.reports-layout {
    gap: 20px;
    flex-wrap: wrap;
}

.method-breakdown {
    gap: 12px;
    margin-top: 20px;
}

.method-item {
    font-size: 13px;
    color: #374151;
}

.method-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.method-percent {
    font-weight: 700;
    color: #111827;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #F3F4F6;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

/* Notifications */
.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon-megaphone {
    background-color: rgba(227, 30, 36, 0.1);
    color: #E31E24;
}

.notification-icon-alert {
    background-color: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.notification-icon-calendar {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

/* Rating */
.rating-stars {
    gap: 2px;
}

/* Static pages */
.static-pages-layout {
    gap: 20px;
    align-items: flex-start;
}

.static-pages-list {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
}

.static-page-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    gap: 2px;
    transition: background-color 0.2s;
}

.static-page-item:hover {
    background-color: #F3F4F6;
}

.static-page-item.active {
    background-color: rgba(227, 30, 36, 0.1);
    border-left: 3px solid #E31E24;
}

.static-page-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.static-page-slug {
    font-size: 12px;
    color: #9CA3AF;
}

.editor-toolbar {
    padding: 8px 16px;
    border-bottom: 1px solid #E5E7EB;
    gap: 4px;
    flex-wrap: wrap;
    background-color: #F9FAFB;
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar-btn:hover {
    background-color: #F3F4F6;
    color: #111827;
}

.toolbar-divider {
    width: 1px;
    height: 24px;
    background-color: #E5E7EB;
    margin: 0 4px;
}

.static-page-editor {
    min-height: 400px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    line-height: 1.7;
    color: #1F2937;
}

.static-page-editor:focus {
    border-color: #E31E24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.static-page-editor h1,
.static-page-editor h2,
.static-page-editor h3 {
    margin-bottom: 12px;
}

.static-page-editor p {
    margin-bottom: 12px;
}

.static-page-editor ul,
.static-page-editor ol {
    margin-bottom: 12px;
    padding-left: 24px;
}

/* Login page */
.login-body {
    background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #374151 100%);
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    gap: 24px;
}

.login-logo {
    gap: 8px;
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(227, 30, 36, 0.1);
    border-radius: 16px;
    margin-bottom: 8px;
}

.login-brand {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.login-subtitle {
    font-size: 14px;
    color: #6B7280;
}

.login-form {
    gap: 16px;
}

.login-hint {
    font-size: 12px;
    color: #9CA3AF;
    text-align: center;
}

/* Enquiry */
.enquiry-message {
    font-size: 13px;
    color: #6B7280;
}

/* Loading overlay */
.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 220px;
        min-width: 220px;
    }

    .student-profile-sidebar {
        width: 240px;
        min-width: 240px;
    }

    .static-pages-list {
        width: 220px;
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .admin-wrapper {
        flex-direction: column;
    }

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

    .admin-main {
        height: auto;
    }

    .student-profile-layout {
        flex-direction: column;
    }

    .student-profile-sidebar {
        width: 100%;
        min-width: 100%;
    }

    .static-pages-layout {
        flex-direction: column;
    }

    .static-pages-list {
        width: 100%;
        min-width: 100%;
    }

    .reports-layout {
        flex-direction: column;
    }

    .calendar-day {
        min-width: 40px;
        height: 52px;
    }
}
