/*
 * NCS shared design system.
 * Single source of truth for the "modern" visual language introduced across
 * editUserModal, adminDashboard/teacherDashboard, sidebar, toppers, welcome.
 * Any new page revamp should reuse these tokens/classes instead of
 * redeclaring colors, radii, shadows, chips, switches, badges or buttons
 * inside a page-local <style> block.
 */

#topLoadingBar {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0%;
	background: linear-gradient(90deg, #d90000, #ff3b30);
	box-shadow: 0 0 10px 1px rgba(217, 0, 0, 0.7), 0 0 4px rgba(255, 59, 48, 0.9);
	z-index: 99999;
	opacity: 0;
	transition: width 0.4s ease, opacity 0.3s ease;
	pointer-events: none;
}
#topLoadingBar.active { opacity: 1; width: 85%; }
#topLoadingBar.done {
	width: 100%;
	transition: width 0.2s ease, opacity 0.3s ease 0.15s;
	opacity: 0;
}

:root {
	/* accent */
	--ds-accent: #43d5b1;
	--ds-accent-dark: #2fb996;
	--ds-accent-tint: rgba(67, 213, 177, 0.14);
	--ds-accent-tint-strong: rgba(67, 213, 177, 0.24);

	/* text */
	--ds-text: #2d3748;
	--ds-text-muted: #4a5568;
	--ds-text-faint: #a0aec0;

	/* surfaces */
	--ds-border: #e2e8f0;
	--ds-bg: #f9fbfb;
	--ds-surface: #fff;

	/* radius */
	--ds-radius-sm: 8px;
	--ds-radius-md: 12px;
	--ds-radius-lg: 16px;
	--ds-radius-pill: 999px;

	/* shadow */
	--ds-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
	--ds-shadow-modal: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--ds-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.2);

	/* multi-color gradient palette used for dashboard quick-link tiles */
	--ds-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--ds-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	--ds-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	--ds-gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
	--ds-gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
	--ds-gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
	--ds-gradient-7: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
	--ds-gradient-8: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
	--ds-gradient-9: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

/* ---------- card / section ---------- */

.ds-card {
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-md);
}

.ds-section {
	background: var(--ds-surface);
	border-radius: var(--ds-radius-lg);
	box-shadow: var(--ds-shadow-card);
	padding: 24px;
	margin-bottom: 24px;
}

.ds-section.compact {
	padding: 16px 20px;
}

.ds-section-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f0f0f0;
}

.ds-section.compact .ds-section-header {
	margin-bottom: 12px;
	padding-bottom: 10px;
}

.ds-section-icon {
	width: 44px;
	height: 44px;
	border-radius: var(--ds-radius-md);
	background: var(--ds-gradient-1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
	flex-shrink: 0;
}

.ds-section-title {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin: 0;
}

.ds-section-subtitle {
	margin: -12px 0 16px;
	color: #999;
	font-size: 13px;
}

.ds-section.compact .ds-section-subtitle {
	margin: -8px 0 10px;
	font-size: 12px;
}

.ds-section-badge {
	margin-left: auto;
	background: #f44336;
	color: #fff;
	border-radius: var(--ds-radius-pill);
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
}

/* ---------- modal header ---------- */

.ds-modal-content {
	border: none;
	border-radius: var(--ds-radius-lg);
	overflow: hidden;
	box-shadow: var(--ds-shadow-modal);
}

.ds-modal-header-gradient {
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark));
	border: none;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ds-modal-header-gradient .modal-title {
	color: #fff;
	font-weight: 600;
	margin: 0;
}

.ds-modal-header-gradient .modal-title i {
	margin-right: 8px;
}

.ds-modal-header-gradient small {
	color: rgba(255, 255, 255, 0.85);
}

.ds-modal-header-gradient .close {
	color: #fff;
	opacity: 0.85;
	text-shadow: none;
}

.ds-modal-header-gradient .close:hover {
	opacity: 1;
}

.ds-modal-body {
	background: var(--ds-bg);
	padding: 24px;
}

.ds-modal-footer {
	border-top: 1px solid #edf2f7;
	background: #fff;
	padding: 16px 24px;
}

/* ---------- profile / avatar strip ---------- */

.ds-profile-strip {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-md);
	padding: 14px 16px;
	margin-bottom: 20px;
}

.ds-avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	background: var(--ds-accent-tint);
	color: var(--ds-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.ds-profile-name {
	font-weight: 600;
	color: var(--ds-text);
	font-size: 15px;
}

.ds-profile-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}

.ds-profile-meta .ds-meta-muted {
	color: #888;
	font-size: 12px;
}

/* ---------- badge ---------- */

.ds-badge {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ds-accent-dark);
	background: var(--ds-accent-tint);
	padding: 2px 8px;
	border-radius: var(--ds-radius-pill);
}

.ds-badge:empty {
	display: none;
}

.ds-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-right: 6px;
	vertical-align: middle;
}

.ds-tag.tag-warning {
	background: #fff3cd;
	color: #997404;
}

.ds-tag.tag-info {
	background: #cff4fc;
	color: #087990;
}

.ds-tag.tag-success {
	background: var(--ds-accent-tint);
	color: var(--ds-accent-dark);
}

.ds-tag.tag-danger {
	background: #fde2e2;
	color: #c53030;
}

/* ---------- form section / label ---------- */

.ds-form-section {
	margin-bottom: 22px;
}

.ds-form-section:last-child {
	margin-bottom: 0;
}

.ds-label {
	display: block;
	font-weight: 600;
	color: var(--ds-text-muted);
	font-size: 13px;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
}

.ds-label i {
	color: var(--ds-accent);
	margin-right: 6px;
}

.ds-hint {
	display: block;
	color: var(--ds-text-faint);
	font-size: 11px;
	margin-top: 6px;
}

/* ---------- password / input with trailing icon button ---------- */

.ds-input-wrap {
	position: relative;
}

.ds-input-wrap .form-control {
	padding-right: 40px;
}

.ds-input-icon-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	color: var(--ds-text-faint);
	width: 32px;
	height: 32px;
	cursor: pointer;
}

.ds-input-icon-btn:hover {
	color: var(--ds-accent);
}

/* ---------- chip grid (checkbox chips, e.g. role selection) ---------- */

.ds-chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
}

.ds-chip {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-sm);
	padding: 10px 32px 10px 12px;
	margin: 0;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ds-chip:hover {
	border-color: var(--ds-accent);
}

.ds-chip input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.ds-chip-check {
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 5px;
	border: 1.5px solid #cbd5e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	font-size: 10px;
	transition: all 0.2s ease;
}

.ds-chip-name {
	font-size: 13px;
	color: var(--ds-text);
	font-weight: 500;
	flex: 1;
}

.ds-chip-info {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #cbd5e0;
}

.ds-chip-info:hover {
	color: var(--ds-accent);
}

.ds-chip:has(input:checked) {
	background: var(--ds-accent-tint);
	border-color: var(--ds-accent);
	box-shadow: 0 0 0 3px var(--ds-accent-tint-strong);
}

.ds-chip:has(input:checked) .ds-chip-check {
	background: var(--ds-accent);
	border-color: var(--ds-accent);
	color: #fff;
}

.ds-chip:has(input:focus-visible) {
	outline: 2px solid var(--ds-accent);
	outline-offset: 2px;
}

/* ---------- status row + toggle switch ---------- */

.ds-status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-md);
	padding: 12px 16px;
}

.ds-status-row .ds-label {
	margin-bottom: 0;
}

.ds-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	margin: 0;
}

.ds-switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.ds-switch-slider {
	width: 42px;
	height: 24px;
	border-radius: var(--ds-radius-pill);
	background: var(--ds-border);
	position: relative;
	transition: background 0.2s ease;
}

.ds-switch-slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	top: 3px;
	left: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.ds-switch input:checked + .ds-switch-slider {
	background: var(--ds-accent);
}

.ds-switch input:checked + .ds-switch-slider::before {
	transform: translateX(18px);
}

.ds-switch-text {
	margin-left: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ds-text-faint);
}

.ds-switch input:checked ~ .ds-switch-text {
	color: var(--ds-accent-dark);
}

/* ---------- buttons ---------- */

.ds-btn-cancel {
	border: 1px solid var(--ds-border);
	background: #fff;
	color: var(--ds-text-muted);
	border-radius: var(--ds-radius-sm);
	padding: 8px 18px;
	font-weight: 600;
}

.ds-btn-cancel:hover {
	background: #f7fafc;
}

.ds-btn-primary {
	background: var(--ds-accent);
	border: 1px solid var(--ds-accent);
	color: #fff;
	border-radius: var(--ds-radius-sm);
	padding: 8px 20px;
	font-weight: 600;
}

.ds-btn-primary:hover {
	background: var(--ds-accent-dark);
	border-color: var(--ds-accent-dark);
	color: #fff;
}

/* ---------- gradient quick-link tiles (dashboards) ---------- */

.ds-tile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.ds-gradient-tile {
	background: var(--ds-gradient-1);
	border-radius: var(--ds-radius-md);
	padding: 10px;
	text-align: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	text-decoration: none;
	display: block;
	color: #fff;
}

.ds-gradient-tile::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.ds-gradient-tile:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: var(--ds-shadow-hover);
	color: #fff;
	text-decoration: none;
}

.ds-gradient-tile:hover::before {
	transform: translateY(0);
}

.ds-gradient-tile.ds-gradient-1 { background: var(--ds-gradient-1); }
.ds-gradient-tile.ds-gradient-2 { background: var(--ds-gradient-2); }
.ds-gradient-tile.ds-gradient-3 { background: var(--ds-gradient-3); }
.ds-gradient-tile.ds-gradient-4 { background: var(--ds-gradient-4); }
.ds-gradient-tile.ds-gradient-5 { background: var(--ds-gradient-5); }
.ds-gradient-tile.ds-gradient-6 { background: var(--ds-gradient-6); }
.ds-gradient-tile.ds-gradient-7 { background: var(--ds-gradient-7); }
.ds-gradient-tile.ds-gradient-8 { background: var(--ds-gradient-8); }
.ds-gradient-tile.ds-gradient-9 { background: var(--ds-gradient-9); }

.ds-tile-icon {
	font-size: 20px;
	margin-bottom: 5px;
	position: relative;
	z-index: 1;
	display: inline-block;
}

.ds-tile-text {
	font-size: 11px;
	font-weight: 600;
	position: relative;
	z-index: 1;
	line-height: 1.3;
}

.ds-tile-notification-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: #f44336;
	color: #fff;
	border-radius: 20px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
	z-index: 2;
	animation: ds-pulse 2s infinite;
}

@keyframes ds-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* ---------- list item (e.g. pending tasks, notifications) ---------- */

.ds-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 350px;
	overflow-y: auto;
}

.ds-list.ds-scroll::-webkit-scrollbar {
	width: 8px;
}

.ds-list.ds-scroll::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.ds-list.ds-scroll::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

.ds-list-item {
	width: 99%;
	padding: 12px;
	margin-bottom: 12px;
	background: linear-gradient(to right, #f8f9fa, #fff);
	border-radius: 10px;
	border-left: 4px solid #667eea;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ds-list-item:hover {
	background: linear-gradient(to right, #e9ecef, #f8f9fa);
	transform: translateX(6px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ds-list-item a {
	color: #333;
	text-decoration: none;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.ds-list-item a:hover {
	color: #667eea;
}

.ds-list-icon {
	color: #667eea;
	font-size: 18px;
	flex-shrink: 0;
}

/* ---------- empty state ---------- */

.ds-empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.ds-empty-state i {
	font-size: 64px;
	margin-bottom: 20px;
	color: #e0e0e0;
}

.ds-empty-state h4 {
	font-size: 18px;
	color: #666;
	margin: 0;
}

/* ---------- centered auth card (login / password screens) ---------- */

.ds-auth-shell {
	min-height: calc(100vh - 260px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
}

.ds-auth-card {
	width: 100%;
	max-width: 420px;
	background: var(--ds-surface);
	border-radius: var(--ds-radius-lg);
	box-shadow: var(--ds-shadow-modal);
	overflow: hidden;
}

.ds-auth-header {
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark));
	padding: 32px 32px 24px;
	text-align: center;
	color: #fff;
}

.ds-auth-header .ds-auth-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.ds-auth-header h1 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
}

.ds-auth-header p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}

.ds-auth-body {
	padding: 28px 32px 32px;
}

.ds-auth-body .form-group {
	margin-bottom: 18px;
}

.ds-auth-remember {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--ds-text-muted);
}

.ds-auth-remember input {
	margin: 0;
}

.ds-btn-primary.ds-btn-block {
	width: 100%;
	padding: 11px 20px;
	font-size: 14px;
}

/* ---------- bill / list card with header row (fee payment pages) ---------- */

.ds-bill-card {
	margin-bottom: 20px;
}

.ds-bill-card-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 2px solid #f0f0f0;
}

.ds-bill-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ds-text);
}

/* ---------- status modal (success / error confirmation) ---------- */

.ds-status-modal .modal-content {
	padding: 20px;
	font-size: 16px;
	border-radius: var(--ds-radius-sm);
	border: none;
}

.ds-status-modal .modal-header {
	border-bottom: none;
	position: relative;
	text-align: center;
	margin: -20px -20px 0;
	border-radius: var(--ds-radius-sm) var(--ds-radius-sm) 0 0;
	padding: 35px;
}

.ds-status-modal .close {
	position: absolute;
	top: 15px;
	right: 15px;
	color: #fff;
	text-shadow: none;
	opacity: 0.5;
}

.ds-status-modal .modal-body p {
	font-size: 16px;
}

.ds-status-modal.ds-status-success .modal-header {
	background: var(--ds-accent);
}

.ds-status-modal .ds-status-icon {
	color: #fff;
	width: 95px;
	height: 95px;
	display: inline-block;
	border-radius: 50%;
	z-index: 9;
	border: 5px solid #fff;
	padding: 15px;
	text-align: center;
}

.ds-status-modal.ds-status-success .ds-status-icon i {
	font-size: 64px;
	margin: -4px 0 0 -4px;
}

.ds-status-modal.ds-status-error .ds-status-icon i {
	font-size: 110px;
	margin: -4px 0 0 -4px;
	color: #e53e3e;
}

/* ---------- select (shared dropdown focus/hover treatment) ---------- */

.ds-select.form-control {
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-select.form-control:hover:not(:disabled) {
	border-color: var(--ds-accent);
}

.ds-select.form-control:focus {
	border-color: var(--ds-accent);
	box-shadow: 0 0 0 3px var(--ds-accent-tint-strong);
	outline: none;
}

/* ---------- table ---------- */

.ds-table {
	margin: 0;
}

.ds-table thead th {
	border-top: none;
	border-bottom: 2px solid #f0f0f0;
	color: #999;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 700;
	padding: 10px 12px;
}

.ds-table tbody td {
	padding: 14px 12px;
	vertical-align: middle;
	border-top: 1px solid #f4f4f4;
}

.ds-table tbody tr {
	transition: background 0.2s ease;
}

.ds-table tbody tr:hover {
	background: #f8f9fa;
}

/* ---------- consistent vertical rhythm ----------
   Pages mix the legacy .page-row block (30px bottom margin, styles-green.css)
   with .ds-section (24px bottom margin) at different nesting depths. These
   rules keep the spacing between stacked content blocks predictable
   regardless of which wrapper (or combination) a given page uses, instead
   of every page needing its own margin tweaks. */

.dashboard-main-content > *:first-child {
	margin-top: 0;
}

.dashboard-main-content > *:last-child,
.page-row > .ds-section:last-child,
.page-row:last-child {
	margin-bottom: 0;
}

/* ---------- alert / callout card ---------- */

.ds-alert-card {
	background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
	border-radius: var(--ds-radius-md);
	padding: 20px;
	margin-bottom: 24px;
	box-shadow: 0 4px 12px rgba(253, 203, 110, 0.3);
}

.ds-alert-card a {
	color: #2d3436;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ds-alert-card a:hover {
	color: #000;
}

.ds-alert-icon {
	font-size: 24px;
}

/* ---------- announcement / homepage popup modal (max 90% screen size) ---------- */

.modal.ncs-popup-modal {
	--ncs-popup-max-w: 90vw;
	--ncs-popup-max-h: 90vh;
	--ncs-popup-max-h-dvh: 90dvh;
	text-align: center;
	padding: 0 !important;
}

.modal.ncs-popup-modal:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -4px;
}

.modal.ncs-popup-modal .modal-dialog {
	display: inline-block !important;
	text-align: left;
	vertical-align: middle;
	width: auto !important;
	max-width: var(--ncs-popup-max-w) !important;
	max-height: var(--ncs-popup-max-h) !important;
	max-height: var(--ncs-popup-max-h-dvh) !important;
	margin: 20px auto !important;
	box-sizing: border-box !important;
	pointer-events: auto;
}

.modal.ncs-popup-modal .modal-content {
	position: relative !important;
	max-width: var(--ncs-popup-max-w) !important;
	max-height: var(--ncs-popup-max-h) !important;
	max-height: var(--ncs-popup-max-h-dvh) !important;
	width: auto !important;
	overflow: hidden !important;
	border-radius: var(--ds-radius-lg, 12px);
	box-shadow: var(--ds-shadow-modal, 0 20px 35px -5px rgba(0, 0, 0, 0.25));
	background: #fff;
	box-sizing: border-box !important;
}

.modal.ncs-popup-modal .modal-header {
	position: relative;
	padding: 12px 20px;
	border-bottom: 1px solid var(--ds-border, #e5e5e5);
	background: #fff;
	box-sizing: border-box !important;
}

/* Close 'X' button ALWAYS pinned to top-right corner */
.modal.ncs-popup-modal .close {
	position: absolute !important;
	top: 10px !important;
	right: 12px !important;
	z-index: 1055 !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	line-height: 26px !important;
	color: #334155 !important;
	opacity: 0.85 !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 50% !important;
	width: 32px !important;
	height: 32px !important;
	text-align: center !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
	transition: all 0.2s ease !important;
}

.modal.ncs-popup-modal .close:hover {
	opacity: 1 !important;
	color: #dc2626 !important;
	background: #fee2e2 !important;
	border-color: #fca5a5 !important;
	transform: scale(1.08) !important;
}

.modal.ncs-popup-modal .modal-body {
	max-height: calc(90vh - 100px) !important;
	max-height: calc(90dvh - 100px) !important;
	max-width: var(--ncs-popup-max-w) !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	text-align: center;
	padding: 15px !important;
	box-sizing: border-box !important;
}

.modal.ncs-popup-modal .modal-footer {
	padding: 10px 15px;
	border-top: 1px solid var(--ds-border, #e5e5e5);
	text-align: right;
	background: #fff;
	box-sizing: border-box !important;
}

/* Any image inside popup modal: max width is max of parent, height fits within 90% screen */
.modal.ncs-popup-modal .modal-body img {
	max-width: 100% !important;
	max-width: calc(90vw - 30px) !important;
	max-height: calc(90vh - 120px) !important;
	max-height: calc(90dvh - 120px) !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 auto !important;
}

/* Constrain child wrappers & media so their max-width is max of parent */
.modal.ncs-popup-modal .modal-body :is(p, div, a, figure, table, iframe, video, embed, span) {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.modal.ncs-popup-modal .modal-body :is(iframe, video, embed) {
	max-height: calc(90vh - 120px) !important;
	max-height: calc(90dvh - 120px) !important;
}

.modal.ncs-popup-modal .modal-body table {
	table-layout: auto;
}

/* ============================================
   Microsoft Fluent Style Progress Ring Loaders
   Replaces legacy GIF spinners across the app
   ============================================ */

.ms-fluent-ring {
	position: relative;
	width: 48px;
	height: 48px;
	display: inline-block;
}

.ms-fluent-ring.compact {
	width: 32px;
	height: 32px;
}

.ms-dot {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	will-change: transform, opacity;
	animation: ms-fluent-spin 4.5s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.ms-dot::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	margin: 0 auto;
	background: #2fb996;
	background: linear-gradient(135deg, #43d5b1, #2fb996);
	border-radius: 50%;
	box-shadow: 0 0 6px rgba(47, 185, 150, 0.65);
}

.ms-fluent-ring.compact .ms-dot::before {
	width: 4.5px;
	height: 4.5px;
}

.ms-dot.dot-1 { animation-delay: 0.10s; }
.ms-dot.dot-2 { animation-delay: 0.24s; }
.ms-dot.dot-3 { animation-delay: 0.38s; }
.ms-dot.dot-4 { animation-delay: 0.52s; }
.ms-dot.dot-5 { animation-delay: 0.66s; }
.ms-dot.dot-6 { animation-delay: 0.80s; }

@keyframes ms-fluent-spin {
	0% {
		transform: rotate(0deg);
		opacity: 0;
	}
	8% {
		opacity: 1;
	}
	28% {
		transform: rotate(200deg);
	}
	72% {
		transform: rotate(480deg);
	}
	92% {
		opacity: 1;
	}
	100% {
		transform: rotate(720deg);
		opacity: 0;
	}
}

.ncs-inline-orbital-loader {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
}

/* ==========================================================================
   LIVE CHAT & MESSAGES WORKSPACE
   ========================================================================== */

.messenger-workspace-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	height: calc(100vh - 120px);
	min-height: 560px;
	max-height: 880px;
	overflow: hidden;
	margin-bottom: 20px;
}

.mobile-nav-bar {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	padding: 6px 8px;
	gap: 6px;
}

.mobile-nav-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: #64748b;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.mobile-nav-btn.active {
	background: #ffffff;
	color: #0284c7;
	border-color: #cbd5e1;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mobile-unread-badge {
	background: #ef4444;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 10px;
}

.messenger-body {
	display: flex;
	flex: 1;
	height: 100%;
	overflow: hidden;
}

.pane-chats-list {
	width: 320px;
	flex-shrink: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pane-chat-box {
	flex: 1;
	min-width: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.pane-directory-side {
	width: 300px;
	flex-shrink: 0;
	height: 100%;
	border-left: 1px solid #e2e8f0;
	background: #f8fafc;
	padding: 10px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ChatList Styles */
.chat-list-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #ffffff;
	border-right: 1px solid #e2e8f0;
	overflow: hidden;
}

.chat-list-header {
	padding: 12px 14px 10px;
	border-bottom: 1px solid #edf2f7;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.chat-search-wrap {
	position: relative;
	width: 100%;
}

.chat-search-icon {
	position: absolute;
	left: 11px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 12px;
	pointer-events: none;
}

.chat-search-input {
	width: 100%;
	height: 34px;
	padding: 0 30px 0 32px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	font-size: 12.5px;
	color: #1e293b;
	transition: all 0.2s ease;
}

.chat-search-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.chat-search-clear {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 11px;
	cursor: pointer;
	padding: 3px;
}

.chat-search-clear:hover {
	color: #0f172a;
}

.chat-filters-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.chat-filter-pills {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
	background: #f1f5f9;
	padding: 3px;
	border-radius: 7px;
}

.filter-pill {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 11.5px;
	font-weight: 600;
	padding: 4px 6px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.filter-pill:hover {
	color: #0f172a;
}

.filter-pill.active {
	background: #ffffff;
	color: #0284c7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pill-badge {
	background: #ef4444;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 10px;
	line-height: 1.2;
}

.chat-report-select-wrap {
	flex-shrink: 0;
}

.chat-report-select {
	height: 28px;
	font-size: 11.5px;
	font-weight: 600;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0 8px;
	cursor: pointer;
}

.chat-report-select:focus {
	outline: none;
	border-color: #0284c7;
}

.chat-threads-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.chat-thread-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 8px;
	cursor: pointer;
	border: 1px solid transparent;
	border-bottom: 1px solid #e2e8f0;
	transition: all 0.15s ease;
	position: relative;
}

.chat-thread-card:last-of-type {
	border-bottom-color: transparent;
}

.chat-thread-card:hover {
	background: #f8fafc;
}

.chat-thread-card.active {
	background: #f0fdfa;
	border-color: #99f6e4;
}

.chat-thread-card.unread {
	background: #f8fafc;
}

.chat-thread-card.unread.active {
	background: #ecfeff;
	border-color: #a5f3fc;
}

/* Avatar Gradients */
.thread-avatar,
.contact-avatar,
.thread-header-avatar {
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #ffffff;
	flex-shrink: 0;
	position: relative;
}

.thread-avatar {
	width: 38px;
	height: 38px;
	font-size: 13px;
}

.thread-header-avatar {
	width: 38px;
	height: 38px;
	font-size: 14px;
}

.contact-avatar {
	width: 28px;
	height: 28px;
	font-size: 11px;
}

.avatar-grad-1 { background: linear-gradient(135deg, #0284c7, #0369a1); }
.avatar-grad-2 { background: linear-gradient(135deg, #0d9488, #0f766e); }
.avatar-grad-3 { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.avatar-grad-4 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.avatar-grad-5 { background: linear-gradient(135deg, #ec4899, #db2777); }

/* Text/badge tints that match the avatar-grad-N hues, so a conversation's
   avatar, subject badge and sender name always read as the same color. */
.text-tint-1 { color: #0284c7; }
.text-tint-2 { color: #0f766e; }
.text-tint-3 { color: #4f46e5; }
.text-tint-4 { color: #7c3aed; }
.text-tint-5 { color: #db2777; }

.thread-subject-badge.badge-tint-1 { color: #0284c7; background: #e0f2fe; }
.thread-subject-badge.badge-tint-2 { color: #0f766e; background: #ccfbf1; }
.thread-subject-badge.badge-tint-3 { color: #4f46e5; background: #e0e7ff; }
.thread-subject-badge.badge-tint-4 { color: #7c3aed; background: #ede9fe; }
.thread-subject-badge.badge-tint-5 { color: #db2777; background: #fce7f3; }

.online-indicator {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #10b981;
	border: 2px solid #ffffff;
}

.contact-online-dot {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	border: 1.5px solid #ffffff;
}

.header-online-dot {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #10b981;
	border: 2px solid #ffffff;
}

.thread-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.thread-top-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.thread-name {
	font-size: 12.5px;
	font-weight: 700;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	flex: 1;
	min-width: 0;
}

.thread-time {
	font-size: 10.5px;
	color: #94a3b8;
	flex-shrink: 0;
}

.thread-subject-badge {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 600;
	color: #0284c7;
	background: #e0f2fe;
	padding: 1px 6px;
	border-radius: 4px;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.thread-sub-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.thread-snippet {
	font-size: 11.5px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}

.thread-snippet.unread-text {
	font-weight: 700;
	color: #0f172a;
}

.thread-actions-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	flex-shrink: 0;
}

.unread-pill {
	background: linear-gradient(135deg, #fb7185, #e11d48);
	color: #ffffff;
	font-size: 9.5px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 10px;
	text-transform: uppercase;
}

.btn-group-members {
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	color: #475569;
	font-size: 10px;
	padding: 2px 5px;
	cursor: pointer;
}

.btn-group-members:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/* MessageBox Styles */
.message-box-container {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #f8fafc;
	position: relative;
	overflow: hidden;
}

.no-chat-selected {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 24px;
}

.no-chat-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 36px 28px;
	text-align: center;
	max-width: 440px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.no-chat-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f0fdfa;
	color: #0d9488;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin: 0 auto 16px;
}

.no-chat-card h4 {
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}

.no-chat-card p {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 20px;
}

.thread-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	z-index: 10;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.thread-header-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.btn-thread-back {
	display: none;
	align-items: center;
	gap: 4px;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 8px;
	cursor: pointer;
}

.btn-thread-back:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.thread-header-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.thread-header-title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.thread-header-sub {
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.online-text {
	color: #10b981;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.online-text i {
	font-size: 7px;
}

.thread-header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.btn-header-action {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-header-action:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.btn-delete-chat:hover {
	background: #fef2f2;
	color: #dc2626;
	border-color: #fecaca;
}

.multiuser-banner {
	background: #e0f2fe;
	color: #0369a1;
	border-bottom: 1px solid #bae6fd;
	padding: 6px 16px;
	font-size: 11.5px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.messages-stream {
	flex: 1;
	overflow-y: auto;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background-color: #f8fafc;
	background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
	background-size: 24px 24px;
}

.message-row {
	display: flex;
	width: 100%;
}

.message-row.sent-by-me {
	justify-content: flex-end;
}

.message-row.sent-by-other {
	justify-content: flex-start;
}

.message-bubble {
	max-width: 76%;
	min-width: 100px;
	border-radius: 16px;
	padding: 9px 13px;
	position: relative;
	font-size: 12.5px;
	line-height: 1.45;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.15s ease;
}

/* Sent by Current User (teal brand gradient, matches the composer send button) */
.sent-by-me .message-bubble {
	background: linear-gradient(135deg, #43d5b1, #2fb996);
	color: #ffffff;
	border: none;
	border-bottom-right-radius: 4px;
	box-shadow: 0 4px 12px rgba(47, 185, 150, 0.22);
}

.sent-by-me .message-bubble a {
	color: #ffffff !important;
	font-weight: 600;
	text-decoration: underline;
}

/* Sent by Other User (Clean Crisp White) */
.sent-by-other .message-bubble {
	background: #ffffff;
	color: #1e293b;
	border: 1px solid #f1f5f9;
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bubble-sender-name {
	font-size: 11px;
	font-weight: 700;
	color: #0284c7;
	margin-bottom: 3px;
}

.bubble-sender-handle {
	font-weight: 400;
	color: #64748b;
}

.bubble-text {
	word-break: break-word;
}

.bubble-attachment {
	margin-top: 4px;
	margin-bottom: 2px;
}

.attachment-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	border-radius: 6px;
	text-decoration: none !important;
	font-size: 11px;
	font-weight: 500;
	max-width: 100%;
	transition: all 0.15s ease;
}

.sent-by-me .attachment-link {
	background: rgba(255, 255, 255, 0.2);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.sent-by-me .attachment-link:hover {
	background: rgba(255, 255, 255, 0.3);
}

.sent-by-other .attachment-link {
	background: #f1f5f9;
	color: #334155 !important;
	border: 1px solid #e2e8f0;
}

.sent-by-other .attachment-link:hover {
	background: #e2e8f0;
}

.attach-icon-mini {
	font-size: 11.5px;
	color: #0284c7;
	flex-shrink: 0;
}

.sent-by-me .attach-icon-mini {
	color: #ffffff;
}

.sent-by-other .attach-icon-mini {
	color: #64748b;
}

.attach-name {
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
}

.bubble-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	margin-top: 4px;
	font-size: 10px;
	opacity: 0.85;
}

.sent-by-me .bubble-meta {
	color: rgba(255, 255, 255, 0.85);
}

.sent-by-other .bubble-meta {
	color: #94a3b8;
}

.sent-by-me .bubble-status i {
	color: rgba(255, 255, 255, 0.85);
}

.bubble-status i {
	font-size: 9.5px;
}

.typing-bubble {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	border-bottom-left-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.typing-dots {
	display: flex;
	align-items: center;
	gap: 3px;
}

.typing-dots span {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #0284c7;
	animation: typingDot 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingDot {
	0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
	40% { transform: scale(1); opacity: 1; }
}

.typing-user-text {
	font-size: 11px;
	color: #64748b;
}

.btn-scroll-bottom {
	position: absolute;
	bottom: 85px;
	right: 24px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	z-index: 20;
	transition: all 0.15s ease;
}

.btn-scroll-bottom:hover {
	background: #0284c7;
	color: #ffffff;
}

.message-composer-wrap {
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	padding: 10px 14px 8px;
	position: relative;
	z-index: 10;
}

.attachment-preview-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 2px 6px;
	font-size: 11px;
	color: #334155;
	margin-bottom: 6px;
	max-width: 100%;
}

.attach-chip-icon {
	color: #0284c7;
	font-size: 10.5px;
}

.attach-chip-name {
	font-weight: 600;
	max-width: 180px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 10.5px;
}

.btn-remove-attachment {
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 0 2px;
	font-size: 10px;
	display: flex;
	align-items: center;
}

.btn-remove-attachment:hover {
	color: #dc2626;
}

.composer-box {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 4px 6px;
	transition: all 0.2s ease;
	position: relative;
}

.composer-box:focus-within {
	background: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.hidden-file-input,
input[type="file"].hidden-file-input {
	display: none !important;
	position: absolute !important;
	left: -9999px !important;
	width: 0 !important;
	height: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.btn-composer-attach {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	border: none;
	background: transparent;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13.5px;
	cursor: pointer;
	transition: all 0.15s ease;
	flex-shrink: 0;
	margin-bottom: 1px;
}

.btn-composer-attach:hover {
	background: #e2e8f0;
	color: #0284c7;
}

.composer-editor-wrap {
	flex: 1;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Quill Editor Container for Chat Composer */
.composer-quill.ql-container {
	font-family: inherit !important;
	font-size: 13.5px !important;
	border: none !important;
	background: transparent !important;
	box-sizing: border-box;
	position: relative;
	overflow: visible !important;
	width: 100%;
	min-height: 28px;
}

.composer-quill .ql-editor {
	font-family: inherit !important;
	font-size: 13.5px !important;
	line-height: 1.45 !important;
	color: #1e293b !important;
	min-height: 28px !important;
	max-height: 120px !important;
	height: auto !important;
	padding: 5px 8px !important;
	overflow-y: auto !important;
	outline: none !important;
	border: none !important;
	word-break: break-word;
	tab-size: 4;
	white-space: pre-wrap;
}

.composer-quill .ql-editor p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: inherit !important;
}

.composer-quill .ql-editor ol,
.composer-quill .ql-editor ul {
	margin: 0 !important;
	padding-left: 18px !important;
}

.composer-quill .ql-editor.ql-blank::before {
	left: 8px !important;
	right: 8px !important;
	top: 5px !important;
	color: #94a3b8 !important;
	font-style: normal !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	pointer-events: none !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* Floating bubble tooltip for rich text actions in chat */
.composer-quill .ql-tooltip {
	background: #1e293b !important;
	border-radius: 20px !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28) !important;
	padding: 4px 10px !important;
	z-index: 10005 !important;
	white-space: nowrap !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	top: -46px !important;
	left: 0 !important;
	bottom: auto !important;
}

.composer-quill .ql-tooltip-arrow {
	top: auto !important;
	bottom: -6px !important;
	border-top: 6px solid #1e293b !important;
	border-bottom: none !important;
	border-left: 6px solid transparent !important;
	border-right: 6px solid transparent !important;
}

.composer-quill .ql-tooltip .ql-toolbar {
	padding: 0 !important;
	border: none !important;
	display: flex !important;
	align-items: center !important;
	gap: 2px !important;
}

.composer-quill .ql-tooltip button {
	width: 24px !important;
	height: 24px !important;
	padding: 2px !important;
	color: #cbd5e1 !important;
	border-radius: 4px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.15s ease !important;
}

.composer-quill .ql-tooltip button:hover,
.composer-quill .ql-tooltip button.ql-active {
	color: #38bdf8 !important;
	background: rgba(255, 255, 255, 0.1) !important;
}

.composer-quill .ql-tooltip button svg .ql-stroke {
	stroke: currentColor !important;
}

.composer-quill .ql-tooltip button svg .ql-fill {
	fill: currentColor !important;
}

.btn-composer-send {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: none;
	background: linear-gradient(135deg, #43d5b1, #2fb996);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.15s ease;
	flex-shrink: 0;
	margin-bottom: 0;
	box-shadow: 0 2px 8px rgba(47, 185, 150, 0.3);
}

.btn-composer-send:hover:not(:disabled) {
	background: linear-gradient(135deg, #2fb996, #23926f);
	transform: translateY(-1px);
}

.btn-composer-send:disabled {
	background: #cbd5e1;
	color: #94a3b8;
	cursor: not-allowed;
}

.composer-helper-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 4px;
	padding: 0 2px;
}

.composer-hint {
	font-size: 10.5px;
	color: #94a3b8;
}

.composer-file-limit {
	font-size: 10px;
	color: #94a3b8;
}

/* Directory & Broadcast Common Styles */
.teachers-online-panel {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	flex: 1;
	min-height: 200px;
	height: auto;
}

.students-select-panel {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: visible;
	position: relative;
	z-index: 30;
	flex-shrink: 0;
}

.panel-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	border-bottom: none;
}

.panel-title-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}

.panel-icon {
	color: #ffffff;
	font-size: 12px;
}

.panel-heading-text {
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
}

.online-count-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	font-weight: 600;
	color: #10b981;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 1px 6px;
	border-radius: 10px;
}

.online-count-pill i { font-size: 6px; }

.directory-search-wrap {
	position: relative;
	padding: 6px 8px;
	border-bottom: 1px solid #edf2f7;
	background: #ffffff;
}

.directory-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 11px;
	pointer-events: none;
}

.directory-search-input {
	width: 100%;
	height: 28px;
	padding: 0 24px 0 26px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	font-size: 11.5px;
	color: #1e293b;
	transition: all 0.2s ease;
}

.directory-search-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.btn-clear-directory-search {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 10px;
	cursor: pointer;
	padding: 2px;
}

.directory-users-scroll {
	flex: 1;
	overflow-y: auto;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 120px;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 6px;
	border-radius: 6px;
	border: 1px solid transparent;
	transition: all 0.15s ease;
}

.contact-card:hover {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.contact-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.contact-name {
	font-size: 11.5px;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.contact-sub {
	font-size: 9.5px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.contact-actions {
	display: flex;
	align-items: center;
	gap: 3px;
	flex-shrink: 0;
}

.btn-student-msg {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #eff6ff;
	color: #0284c7;
	border: 1px solid #bfdbfe;
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 10.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-student-msg:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
}

.btn-contact-icon {
	width: 24px;
	height: 24px;
	border-radius: 4px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-formal-msg { color: #0284c7; }
.btn-formal-msg:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
}

.btn-direct-chat { color: #0d9488; }
.btn-direct-chat:hover {
	background: #0d9488;
	color: #ffffff;
	border-color: #0d9488;
}

.broadcast-body {
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group-compact {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.compact-label {
	font-size: 10.5px;
	font-weight: 700;
	color: #475569;
	margin: 0;
}

.compact-select {
	height: 28px;
	font-size: 11.5px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	padding: 2px 6px;
}

.compact-select:focus {
	border-color: #0284c7;
	background: #ffffff;
	box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.broadcast-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-top: 2px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	color: #334155;
	margin: 0;
	cursor: pointer;
}

.btn-start-broadcast {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, #6366f1, #4f46e5);
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
	box-shadow: 0 2px 8px rgba(79, 70, 229, 0.28);
}

.btn-start-broadcast:hover:not(:disabled) {
	background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.broadcast-body {
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	overflow: visible;
	position: relative;
}

.broadcast-checkbox-row {
	margin: 1px 0;
}

.is-disabled-group {
	opacity: 0.65;
}

.text-faint-label {
	font-weight: 400;
	font-size: 9.5px;
	color: #94a3b8;
	margin-left: 4px;
}

.btn-block-broadcast {
	width: 100%;
	justify-content: center;
	padding: 6px 12px;
	font-size: 11.5px;
}

.btn-start-broadcast:disabled {
	background: #cbd5e1;
	cursor: not-allowed;
}

/* Compact Multiselect inside Broadcast Panel */
.students-select-panel .multiselect {
	min-height: 32px;
	position: relative;
}

.students-select-panel .multiselect--active {
	z-index: 99999 !important;
}

.students-select-panel .multiselect--disabled {
	background: #f1f5f9 !important;
	opacity: 0.75;
	pointer-events: none;
}

.students-select-panel .multiselect__select {
	height: 32px;
	width: 30px;
	padding: 6px 8px;
}

.students-select-panel .multiselect__tags {
	min-height: 32px;
	padding: 4px 30px 4px 8px;
	border-radius: 7px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	font-size: 11.5px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.students-select-panel .multiselect__input,
.students-select-panel .multiselect__single {
	font-size: 11.5px;
	margin: 0;
	padding: 2px 4px;
	background: transparent;
	color: #1e293b;
	line-height: 1.4;
}

.students-select-panel .multiselect__placeholder {
	font-size: 11px;
	color: #94a3b8;
	margin: 0;
	padding: 2px 0;
	line-height: 1.4;
}

.students-select-panel .multiselect__tags-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.students-select-panel .multiselect__tag {
	margin: 0;
	padding: 2px 18px 2px 6px;
	font-size: 10.5px;
	font-weight: 600;
	background: #0284c7;
	border-radius: 4px;
	color: #ffffff;
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	position: relative;
}

.students-select-panel .multiselect__tag span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 140px;
}

.students-select-panel .multiselect__tag-icon {
	line-height: 18px;
	border-radius: 0 4px 4px 0;
	font-weight: 700;
}

.students-select-panel .multiselect__tag-icon:hover {
	background: #0369a1;
}

.students-select-panel .multiselect__content-wrapper {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-height: 220px !important;
	z-index: 99999 !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 0 0 8px 8px !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
	overflow-y: auto !important;
}

.students-select-panel .multiselect__content {
	width: 100%;
	padding: 4px 0;
	list-style: none;
	margin: 0;
}

.students-select-panel .multiselect__option {
	padding: 6px 10px !important;
	min-height: 38px !important;
	font-size: 12px !important;
	display: flex !important;
	align-items: center !important;
	cursor: pointer;
	border-bottom: 1px solid #f1f5f9;
}

.students-select-panel .multiselect__option--highlight {
	background: #f0f9ff !important;
	color: #0369a1 !important;
}

.students-select-panel .multiselect__option--selected {
	background: #e0f2fe !important;
	color: #0284c7 !important;
	font-weight: 600;
}

.students-select-panel .multiselect__option--selected.multiselect__option--highlight {
	background: #fecaca !important;
	color: #dc2626 !important;
}

/* Custom Student Option Layout in Dropdown */
.multiselect-student-item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.student-item-avatar {
	width: 26px;
	height: 26px;
	min-width: 26px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #cbd5e1;
	background: #e2e8f0;
}

.student-item-avatar-placeholder {
	width: 26px;
	height: 26px;
	min-width: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, #38bdf8, #0284c7);
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
}

.student-item-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.student-item-name {
	font-size: 11.5px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.25;
}

.student-item-sub {
	font-size: 10px;
	color: #64748b;
	line-height: 1.2;
}

/* ==========================================================================
   CIRCULARS MANAGEMENT WORKSPACE
   ========================================================================== */

.circular-manager-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 12px 14px;
}

.toolbar-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px 12px;
	margin-bottom: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.toolbar-content-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
}

.count-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f1f5f9;
	color: #475569;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
}

.count-num { color: #0f172a; }
.count-label { color: #64748b; }

.toolbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.btn-create-circular {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0284c7;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 0 12px;
	height: 32px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-create-circular:hover {
	background: #0369a1;
	transform: translateY(-1px);
}

.list-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.circular-table {
	margin-bottom: 0;
	border-collapse: collapse;
}

.circular-table thead th {
	background: #f8fafc;
	color: #475569;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 8px 12px;
	border-bottom: 1px solid #e2e8f0;
	border-top: none;
}

.circular-row td {
	padding: 7px 12px;
	vertical-align: middle;
	border-top: 1px solid #f1f5f9;
}

.circular-row:hover {
	background: #f8fafc;
}

.date-badge {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	padding: 2px 6px;
	border-radius: 4px;
	white-space: nowrap;
}

.file-format-icon {
	width: 24px;
	height: 24px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	flex-shrink: 0;
}

.format-pdf { background: #fef2f2; color: #ef4444; }
.format-word { background: #eff6ff; color: #2563eb; }
.format-txt { background: #f8fafc; color: #64748b; }
.format-generic { background: #f1f5f9; color: #475569; }

.circular-title-text {
	font-size: 12.5px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.35;
	word-break: break-word;
}

.btn-action-download {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
	border-radius: 4px;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}

.btn-action-download:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.circular-table .btn-action {
	width: 26px;
	height: 26px;
	border-radius: 4px;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.circular-table .btn-action.edit {
	background: #f1f5f9;
	color: #475569;
	border-color: #e2e8f0;
}

.circular-table .btn-action.edit:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.circular-table .btn-action.delete {
	background: #fef2f2;
	color: #dc2626;
	border-color: #fecaca;
}

.circular-table .btn-action.delete:hover {
	background: #dc2626;
	color: #ffffff;
	border-color: #dc2626;
}

/* Edit Drawer */
.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(2px);
	z-index: 9999;
}

.edit-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 420px;
	max-width: 100%;
	background: #ffffff;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	display: flex;
	flex-direction: column;
}

.drawer-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 18px;
	background: #0284c7;
	color: #ffffff;
}

.drawer-icon-wrap {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}

.drawer-header-text h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
}

.drawer-header-text span {
	font-size: 11px;
	opacity: 0.9;
}

.drawer-close {
	background: none;
	border: none;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	opacity: 0.8;
	padding: 4px;
	border-radius: 5px;
}

.drawer-close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

.drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.drawer-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 12px 18px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

.btn-cancel-drawer {
	background: #ffffff;
	color: #475569;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
}

.btn-cancel-drawer:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.btn-save-drawer {
	background: #0284c7;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	padding: 6px 16px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.btn-save-drawer:hover {
	background: #0369a1;
}

/* Transitions */
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* Responsive Overrides */
@media (max-width: 991px) {
	.messenger-workspace-card {
		height: calc(100vh - 100px);
		border-radius: 8px;
		margin-bottom: 12px;
	}

	.pane-chats-list,
	.pane-chat-box,
	.pane-directory-side {
		width: 100%;
		border-left: none;
		border-right: none;
	}

	.mobile-hidden {
		display: none !important;
	}

	.btn-thread-back {
		display: inline-flex;
	}

	.message-bubble {
		max-width: 88%;
	}
}





/* ==========================================================================
   HOMECENTERIMAGES.VUE STYLES
   ========================================================================== */
.home-center-images-page {
	padding: 16px;
	max-width: 980px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.upload-card,
.list-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
	box-sizing: border-box;
	width: 100%;
}

.section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 8px;
}

.form-layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	width: 100%;
}

/* --- Dropzone Area --- */
.hidden-file-input {
	display: none;
}

.dropzone-box {
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	padding: 20px 14px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
}

.dropzone-box:hover {
	border-color: #0680a6;
	background: #f0fdfa;
}

.dropzone-box.dragging {
	border-color: #0680a6;
	background: #e6fffa;
	transform: scale(1.01);
	box-shadow: 0 0 0 4px rgba(6, 128, 166, 0.15);
}

.dropzone-box.has-file {
	border: 1px solid #e2e8f0;
	background: #fff;
	cursor: default;
}

.dropzone-prompt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
}

.dropzone-circle-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 4px;
	flex-shrink: 0;
}

.dropzone-text {
	font-size: 13px;
	color: #334155;
	line-height: 1.4;
}

.browse-link {
	color: #0680a6;
	font-weight: 600;
	text-decoration: underline;
}

.dropzone-hint {
	font-size: 11px;
	color: #94a3b8;
}

.dropzone-preview {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	width: 100%;
	min-width: 0;
}

.preview-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #0680a6;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.preview-info {
	width: 100%;
	min-width: 0;
}

.preview-name {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
	margin: 0 auto;
}

.preview-size {
	font-size: 11px;
	color: #64748b;
	margin-top: 1px;
}

.preview-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.btn-preview-action {
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: background 0.15s;
}

.btn-preview-action.change {
	color: #0680a6;
	background: #f0fdfa;
}

.btn-preview-action.change:hover {
	background: #ccfbf1;
}

.btn-preview-action.remove {
	color: #dc2626;
	background: #fef2f2;
}

.btn-preview-action.remove:hover {
	background: #fee2e2;
}

.form-fields {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	width: 100%;
}

.form-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 100%;
}

.ds-form-section {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	width: 100%;
}

.ds-label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 2px;
}

.ds-input {
	width: 100%;
	box-sizing: border-box;
}

.submit-btn {
	margin-top: 6px;
	height: 38px;
	font-size: 13px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
}

/* --- Quill Editor Styling --- */
.hero-quill-editor {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.hero-quill-editor .ql-toolbar {
	border: none;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	padding: 6px 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.hero-quill-editor .ql-container {
	border: none;
	font-family: inherit;
	font-size: 13px;
	width: 100%;
	box-sizing: border-box;
}

.hero-quill-editor .ql-editor {
	min-height: 120px;
	max-height: 220px;
	overflow-y: auto;
	padding: 10px 12px;
	word-break: break-word;
}

.modal-quill .ql-editor {
	min-height: 160px;
	max-height: 260px;
}

/* --- Section 2: Hero Grid --- */
.list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
	gap: 8px;
}

.list-sublabel {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.btn-delete-all {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: all 0.15s;
}

.btn-delete-all:hover {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
}

.hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
	gap: 16px;
}

.hero-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
	position: relative;
	min-width: 0;
	box-sizing: border-box;
}

.hero-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
	transform: translateY(-2px);
}

.hero-card.active-hero {
	border-color: #0680a6;
	background: #f0fdfa;
	box-shadow: 0 0 0 1px #0680a6;
}

.hero-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 6px;
}

.active-badge {
	font-size: 10px;
	font-weight: 700;
	color: #0d9488;
	background: #ccfbf1;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.past-badge {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	background: #e2e8f0;
	padding: 2px 6px;
	border-radius: 4px;
}

.card-actions {
	display: flex;
	gap: 6px;
}

.btn-card-action {
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 6px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: background 0.15s;
}

.btn-card-action.edit {
	color: #0680a6;
	background: #e0f2fe;
}

.btn-card-action.edit:hover {
	background: #bae6fd;
}

.btn-card-action.delete {
	color: #dc2626;
	background: #fee2e2;
}

.btn-card-action.delete:hover {
	background: #fecaca;
}

.hero-card-body {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.hero-avatar-wrap {
	flex-shrink: 0;
}

.hero-circle-img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hero-meta {
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.hero-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 2px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hero-shortdesc {
	font-size: 11px;
	font-weight: 600;
	color: #0680a6;
	margin: 0 0 3px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hero-desc-preview {
	font-size: 11px;
	color: #64748b;
	margin: 0;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.empty-state {
	padding: 40px 16px;
	text-align: center;
	color: #94a3b8;
}

.empty-icon {
	font-size: 36px;
	color: #cbd5e1;
	margin-bottom: 8px;
}

.empty-state p {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 4px 0;
}

/* --- In-Place Edit Modal --- */
.modal-backdrop-custom {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1050;
	padding: 16px;
	box-sizing: border-box;
}

.edit-modal-dialog {
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: modalSlide 0.2s ease-out;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
}

@keyframes modalSlide {
	from { transform: translateY(10px) scale(0.98); opacity: 0; }
	to { transform: translateY(0) scale(1); opacity: 1; }
}

.edit-modal-content {
	display: flex;
	flex-direction: column;
	max-height: 100%;
	overflow: hidden;
}

.edit-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	flex-shrink: 0;
}

.edit-modal-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.close-btn {
	border: none;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.close-btn:hover {
	color: #0f172a;
}

.edit-modal-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow-y: auto;
	flex: 1;
}

.edit-preview-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: #f1f5f9;
	border-radius: 8px;
}

.edit-avatar-thumb {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #0680a6;
	flex-shrink: 0;
}

.edit-avatar-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.edit-avatar-info strong {
	font-size: 13px;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.edit-avatar-info span {
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.edit-modal-footer {
	padding: 12px 18px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	background: #f8fafc;
	flex-shrink: 0;
}

.btn-secondary-custom {
	background: #e2e8f0;
	color: #475569;
	border: none;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 6px;
	cursor: pointer;
}

.btn-secondary-custom:hover {
	background: #cbd5e1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet & Smaller Desktops (dashboard sidebar active) */
@media (max-width: 900px) {
	.form-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.dropzone-box {
		min-height: 140px;
		padding: 16px;
	}

	.dropzone-box.has-file .dropzone-preview {
		flex-direction: row;
		text-align: left;
		align-items: center;
		justify-content: flex-start;
		gap: 14px;
	}

	.dropzone-box.has-file .preview-avatar {
		width: 64px;
		height: 64px;
	}

	.dropzone-box.has-file .preview-info {
		text-align: left;
	}

	.dropzone-box.has-file .preview-actions {
		justify-content: flex-start;
	}
}

/* Mobile & Small Tablets */
@media (max-width: 640px) {
	.home-center-images-page {
		padding: 10px 8px;
	}

	.upload-card,
	.list-card {
		padding: 14px;
		border-radius: 10px;
		margin-bottom: 14px;
	}

	.form-grid-2 {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.hero-quill-editor .ql-editor {
		min-height: 100px;
		max-height: 180px;
		padding: 8px 10px;
	}

	.hero-quill-editor .ql-toolbar {
		padding: 4px 6px;
	}

	.hero-quill-editor .ql-toolbar button {
		width: 24px;
		height: 24px;
	}

	.modal-backdrop-custom {
		padding: 8px;
	}

	.edit-modal-dialog {
		max-height: 95vh;
		border-radius: 10px;
	}

	.edit-modal-header {
		padding: 10px 14px;
	}

	.edit-modal-body {
		padding: 12px 14px;
		gap: 10px;
	}

	.edit-modal-footer {
		padding: 10px 14px;
	}

	.edit-modal-footer button {
		flex: 1;
		justify-content: center;
	}
}

/* ==========================================================================
   HOMECAROUSEL.VUE STYLES
   ========================================================================== */
.home-carousel-page {
	padding: 16px;
	max-width: 900px;
	margin: 0 auto;
}

.upload-card,
.list-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
}

.section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.upload-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* --- Dropzone Area --- */
.hidden-file-input {
	display: none;
}

.dropzone-box {
	border: 2px dashed #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	padding: 18px 14px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dropzone-box:hover {
	border-color: #0680a6;
	background: #f0fdfa;
}

.dropzone-box.dragging {
	border-color: #0680a6;
	background: #e6fffa;
	transform: scale(1.01);
	box-shadow: 0 0 0 4px rgba(6, 128, 166, 0.15);
}

.dropzone-box.has-file {
	border: 1px solid #e2e8f0;
	background: #fff;
	padding: 10px;
	cursor: default;
}

.dropzone-prompt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.dropzone-circle-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 2px;
}

.dropzone-text {
	font-size: 13px;
	color: #334155;
}

.browse-link {
	color: #0680a6;
	font-weight: 600;
	text-decoration: underline;
}

.dropzone-hint {
	font-size: 11px;
	color: #94a3b8;
}

.dropzone-preview {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
}

.preview-banner {
	width: 130px;
	height: 65px;
	border-radius: 6px;
	object-fit: cover;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
}

.preview-info {
	flex: 1;
	min-width: 0;
}

.preview-name {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.preview-size {
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

.preview-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.btn-preview-action {
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: background 0.15s;
}

.btn-preview-action.change {
	color: #0680a6;
	background: #f0fdfa;
}

.btn-preview-action.change:hover {
	background: #ccfbf1;
}

.btn-preview-action.remove {
	color: #dc2626;
	background: #fef2f2;
}

.btn-preview-action.remove:hover {
	background: #fee2e2;
}

.upload-action-row {
	display: flex;
	justify-content: flex-end;
}

.upload-btn {
	height: 36px;
	font-size: 12.5px;
	font-weight: 600;
	padding: 0 16px;
}

/* --- Section 2: Carousel Preview & Slide Grid --- */
.list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
}

.list-sublabel {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.btn-delete-all {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: all 0.15s;
}

.btn-delete-all:hover {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
}

/* Live Compact Carousel Preview */
.carousel-preview-wrap {
	max-width: 520px;
	margin: 0 auto 20px;
	background: #0f172a;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.carousel-preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-badge {
	color: #38bdf8;
	font-size: 10.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.preview-counter {
	color: #94a3b8;
	font-size: 10.5px;
	font-weight: 500;
}

.carousel-viewport {
	position: relative;
	width: 100%;
	height: 160px;
	background: #020617;
	display: flex;
	align-items: center;
	justify-content: center;
}

.active-slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.carousel-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(15, 23, 42, 0.6);
	color: #fff;
	border: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.2s;
	z-index: 5;
}

.carousel-nav-btn:hover {
	background: rgba(6, 128, 166, 0.9);
	transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
	left: 8px;
}

.carousel-nav-btn.next {
	right: 8px;
}

.carousel-dots {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
	z-index: 5;
}

.dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.2s;
}

.dot.active {
	background: #38bdf8;
	width: 16px;
	border-radius: 3px;
}

/* Slide Grid - Compact Smaller Cards */
.slide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
}

.slide-card {
	position: relative;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.slide-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}

.slide-card.preview-active {
	border-color: #0680a6;
	box-shadow: 0 0 0 2px #0680a6;
}

.slide-badge {
	position: absolute;
	top: 4px;
	left: 4px;
	background: rgba(15, 23, 42, 0.8);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	z-index: 2;
}

.slide-img-container {
	position: relative;
	width: 100%;
	height: 85px;
	background: #e2e8f0;
	cursor: pointer;
	overflow: hidden;
}

.slide-img-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.slide-img-container:hover img {
	transform: scale(1.05);
}

.slide-overlay-click {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}

.slide-overlay-click span {
	font-size: 11px;
	color: #fff;
}

.slide-img-container:hover .slide-overlay-click {
	opacity: 1;
}

.btn-slide-delete {
	position: absolute;
	top: 4px;
	right: 4px;
	border: none;
	background: rgba(220, 38, 38, 0.85);
	backdrop-filter: blur(2px);
	color: #fff;
	width: 22px;
	height: 22px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	transition: all 0.15s;
	z-index: 3;
}

.btn-slide-delete:hover {
	background: #dc2626;
	transform: scale(1.1);
}

.empty-state {
	padding: 30px 16px;
	text-align: center;
	color: #94a3b8;
}

.empty-icon {
	font-size: 32px;
	color: #cbd5e1;
	margin-bottom: 6px;
}

.empty-state p {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 2px 0;
}

/* ==========================================================================
   HOMEGALLERYIMAGES.VUE STYLES
   ========================================================================== */
.home-images-page {
	padding: 16px;
	max-width: 860px;
	margin: 0 auto;
}

.upload-card,
.reorder-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
}

.section-title-row {
	margin-bottom: 14px;
}

/* --- Dropzone Area --- */
.hidden-file-input {
	display: none;
}

.dropzone-box {
	border: 2px dashed #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	padding: 24px 16px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-bottom: 16px;
}

.dropzone-box:hover {
	border-color: #0680a6;
	background: #f0fdfa;
}

.dropzone-box.dragging {
	border-color: #0680a6;
	background: #e6fffa;
	transform: scale(1.01);
	box-shadow: 0 0 0 4px rgba(6, 128, 166, 0.15);
}

.dropzone-box.has-file {
	border: 1px solid #e2e8f0;
	background: #fff;
	padding: 12px;
	cursor: default;
}

.dropzone-prompt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.dropzone-icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 4px;
}

.dropzone-text {
	font-size: 14px;
	color: #334155;
}

.browse-link {
	color: #0680a6;
	font-weight: 600;
	text-decoration: underline;
}

.dropzone-hint {
	font-size: 12px;
	color: #94a3b8;
}

.dropzone-preview {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
}

.preview-thumbnail {
	width: 68px;
	height: 68px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	flex-shrink: 0;
}

.preview-info {
	flex: 1;
	min-width: 0;
}

.preview-name {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.preview-size {
	font-size: 11px;
	color: #64748b;
	margin-top: 2px;
}

.preview-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.btn-preview-action {
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: background 0.15s;
}

.btn-preview-action.change {
	color: #0680a6;
	background: #f0fdfa;
}

.btn-preview-action.change:hover {
	background: #ccfbf1;
}

.btn-preview-action.remove {
	color: #dc2626;
	background: #fef2f2;
}

.btn-preview-action.remove:hover {
	background: #fee2e2;
}

/* --- Segmented Control --- */
.type-segmented-control {
	display: flex;
	background: #f1f5f9;
	border-radius: 8px;
	padding: 3px;
	gap: 4px;
}

.segment-btn {
	flex: 1;
	padding: 7px 10px;
	border: none;
	background: transparent;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.segment-btn.active {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ds-form-section {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ds-label {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 2px;
}

.input-with-icon {
	position: relative;
	display: flex;
	align-items: center;
}

.input-icon {
	position: absolute;
	left: 12px;
	color: #94a3b8;
	font-size: 13px;
}

.input-with-icon input {
	padding-left: 34px !important;
}

.submit-btn {
	margin-top: 6px;
	width: 100%;
	justify-content: center;
	height: 38px;
	font-size: 13px;
	font-weight: 600;
}

/* --- Section 2: Preview & Drag List --- */
.preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.drag-hint {
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 500;
	padding: 3px 8px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.btn-delete-all {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: all 0.15s;
}

.btn-delete-all:hover {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
}

/* Centered Sidebar Frame (Exact 280px scale matching homepage) */
.sidebar-replica-frame {
	width: 100%;
	max-width: 290px;
	margin: 0 auto;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 8px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Side Gallery Grid (Matches homepage exactly: 2 columns, small images) */
.side-gallery-grid {
	column-count: 2;
	column-gap: 6px;
}

.side-gallery-item {
	break-inside: avoid;
	margin-bottom: 6px;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	background: #fff;
	cursor: grab;
	position: relative;
}

.side-gallery-item:active {
	cursor: grabbing;
}

.side-gallery-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

.side-gallery-item.dragging {
	opacity: 0.35;
	transform: scale(0.95);
	outline: 2px dashed #0680a6;
}

.side-gallery-item.drag-over {
	box-shadow: 0 0 0 2px #0680a6;
}

.side-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
}

.side-gallery-item:hover img {
	transform: scale(1.04);
}

/* Badges & Overlays */
.seq-badge {
	position: absolute;
	top: 4px;
	left: 4px;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 1px 5px;
	border-radius: 3px;
	z-index: 5;
}

.link-badge {
	position: absolute;
	top: 4px;
	left: 28px;
	background: rgba(6, 128, 166, 0.85);
	backdrop-filter: blur(2px);
	color: #fff;
	font-size: 8px;
	padding: 2px 4px;
	border-radius: 3px;
	z-index: 5;
}

.tile-delete {
	position: absolute;
	top: 5px;
	right: 5px;
	background: #dc2626;
	color: #ffffff;
	border: 1.5px solid #ffffff;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 25;
	opacity: 1 !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tile-delete:hover {
	transform: scale(1.18);
	background: #b91c1c;
	box-shadow: 0 3px 8px rgba(220, 38, 38, 0.6);
}

.tile-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 3px 5px;
	font-size: 9px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.empty-gallery-state {
	padding: 30px 15px;
	text-align: center;
	color: #94a3b8;
}

.empty-icon {
	font-size: 32px;
	color: #cbd5e1;
	margin-bottom: 8px;
}

.empty-gallery-state p {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	margin: 0 0 4px 0;
}

.empty-gallery-state small {
	font-size: 11px;
	display: block;
}

@media (max-width: 640px) {
	.form-grid {
		grid-template-columns: 1fr;
	}
	.sidebar-replica-frame {
		max-width: 100%;
	}
}

/* ==========================================================================
   ARTICLESMANAGER.VUE STYLES
   ========================================================================== */
.articles-manager-page {
	padding: 16px;
	max-width: 1020px;
	margin: 0 auto;
}

.main-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.section-sublabel {
	font-size: 12.5px;
	color: #64748b;
	margin-top: 3px;
}

/* Satellite Grid */
.satellite-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 20px;
}

.satellite-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
	position: relative;
}

.satellite-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	border-color: #cbd5e1;
}

.satellite-card.slot-one {
	border-top: 4px solid #0284c7;
}

.satellite-card.slot-two {
	border-top: 4px solid #0d9488;
}

.satellite-card.slot-three {
	border-top: 4px solid #f59e0b;
}

.satellite-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.slot-badge-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.slot-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

.slot-one .slot-icon {
	background: #e0f2fe;
	color: #0284c7;
}

.slot-two .slot-icon {
	background: #ccfbf1;
	color: #0d9488;
}

.slot-three .slot-icon {
	background: #fef3c7;
	color: #d97706;
}

.slot-name {
	font-size: 13px;
	font-weight: 700;
	color: #1e293b;
	display: block;
}

.slot-position {
	font-size: 10.5px;
	color: #64748b;
	display: block;
}

.type-pill {
	font-size: 10px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.type-pill.type-article {
	background: #e0e7ff;
	color: #4338ca;
}

.type-pill.type-link {
	background: #f1f5f9;
	color: #475569;
}

.satellite-card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

/* Homepage Satellite Bubble Mockup Preview */
.satellite-bubble-preview {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bubble-tag {
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #0680a6;
	display: block;
	margin-bottom: 2px;
}

.bubble-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bubble-desc {
	font-size: 11.5px;
	color: #475569;
	margin: 0;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.satellite-meta {
	font-size: 11px;
	color: #64748b;
}

.meta-row {
	display: flex;
	align-items: center;
	gap: 6px;
	overflow: hidden;
}

.meta-label {
	font-weight: 600;
	flex-shrink: 0;
}

.meta-link {
	color: #0680a6;
	text-decoration: underline;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.satellite-card-footer {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}

.btn-edit-satellite {
	flex: 1;
	background: #0680a6;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 7px 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: background 0.15s;
}

.btn-edit-satellite:hover {
	background: #056887;
}

.btn-view-public {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 6px 10px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: all 0.15s;
}

.btn-view-public:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/* --- In-Place Edit Modal --- */
.modal-backdrop-custom {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1050;
	padding: 16px;
}

.edit-modal-dialog {
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: modalSlide 0.2s ease-out;
}

@keyframes modalSlide {
	from { transform: translateY(10px) scale(0.98); opacity: 0; }
	to { transform: translateY(0) scale(1); opacity: 1; }
}

.edit-modal-content {
	display: flex;
	flex-direction: column;
}

.edit-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
}

.modal-header-info {
	display: flex;
	flex-direction: column;
}

.edit-modal-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.modal-slot-sub {
	font-size: 11px;
	color: #64748b;
}

.close-btn {
	border: none;
	background: transparent;
	font-size: 22px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
}

.close-btn:hover {
	color: #0f172a;
}

.edit-modal-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: calc(85vh - 120px);
	overflow-y: auto;
}

/* Modal Live Orbit Preview */
.modal-live-preview {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
}

.live-label {
	font-size: 11px;
	font-weight: 700;
	color: #0680a6;
	display: block;
	margin-bottom: 6px;
}

.preview-bubble {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 10px;
}

.preview-tag {
	font-size: 9.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	display: block;
}

.preview-title {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	margin: 2px 0;
}

.preview-desc {
	font-size: 11.5px;
	color: #475569;
	margin: 0;
}

/* Segmented Control */
.type-segmented-control {
	display: flex;
	background: #f1f5f9;
	border-radius: 8px;
	padding: 3px;
	gap: 4px;
}

.segment-btn {
	flex: 1;
	padding: 7px 10px;
	border: none;
	background: transparent;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.segment-btn.active {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- Quill Editor Styling --- */
.article-quill-editor {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	overflow: hidden;
}

.article-quill-editor .ql-toolbar {
	border: none;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	padding: 6px 8px;
}

.article-quill-editor .ql-container {
	border: none;
	font-family: inherit;
	font-size: 13px;
}

.article-quill-editor .ql-editor {
	min-height: 160px;
	max-height: 280px;
	overflow-y: auto;
	padding: 10px 12px;
}

.input-with-icon {
	position: relative;
	display: flex;
	align-items: center;
}

.input-icon {
	position: absolute;
	left: 12px;
	color: #94a3b8;
	font-size: 13px;
}

.input-with-icon input {
	padding-left: 34px !important;
}

.edit-modal-footer {
	padding: 12px 18px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	background: #f8fafc;
}

.btn-secondary-custom {
	background: #e2e8f0;
	color: #475569;
	border: none;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
}

.btn-secondary-custom:hover {
	background: #cbd5e1;
}

.empty-state {
	padding: 40px 16px;
	text-align: center;
	color: #94a3b8;
}

.empty-icon {
	font-size: 36px;
	color: #cbd5e1;
	margin-bottom: 8px;
}

/* ==========================================================================
   ARTICLEDETAIL.VUE STYLES
   ========================================================================== */
.article-detail-page {
	padding: 30px 16px 60px;
	background: #f8fafc;
	min-height: 70vh;
}

.article-container {
	max-width: 860px;
	margin: 0 auto;
}

.article-header {
	margin-bottom: 24px;
}

.article-breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 12px;
}

.breadcrumb-link {
	color: #0680a6;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.breadcrumb-link:hover {
	text-decoration: underline;
}

.breadcrumb-sep {
	color: #cbd5e1;
}

.breadcrumb-current {
	color: #475569;
	font-weight: 500;
}

.article-title {
	font-size: 28px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.3;
	margin: 0 0 12px 0;
}

.article-lead {
	font-size: 16px;
	line-height: 1.5;
	color: #475569;
	margin: 0;
	padding-left: 14px;
	border-left: 3px solid #0680a6;
}

.article-hero-image-wrap {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
	background: #fff;
	text-align: center;
}

.article-hero-img {
	max-width: 100%;
	max-height: 480px;
	width: auto;
	height: auto;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.article-content-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.article-body {
	font-size: 15px;
	line-height: 1.75;
	color: #334155;
	word-break: break-word;
}

.pre-line {
	white-space: pre-line;
}

.external-link-box {
	margin-top: 24px;
	padding: 16px;
	background: #f0fdfa;
	border: 1px solid #99f6e4;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.link-info {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #0f766e;
}

.link-info i {
	font-size: 20px;
}

.link-info strong {
	display: block;
	font-size: 13px;
}

.link-info p {
	font-size: 12px;
	margin: 0;
	word-break: break-all;
}

.article-footer-nav {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.btn-back-home {
	color: #0680a6;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 6px;
	background: #f0fdfa;
	transition: background 0.15s;
}

.btn-back-home:hover {
	background: #ccfbf1;
}

.article-loading {
	padding: 80px 20px;
	text-align: center;
	color: #94a3b8;
}

.loading-icon {
	font-size: 32px;
	color: #0680a6;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.article-title {
		font-size: 22px;
	}
	.article-content-card {
		padding: 20px;
	}
}

/* ==========================================================================
   HOMEGALLERYDETAIL.VUE STYLES
   ========================================================================== */
.gallery-detail-page {
	padding: 30px 16px 60px;
	background: #f8fafc;
	min-height: 70vh;
}

.gallery-container {
	max-width: 860px;
	margin: 0 auto;
}

.gallery-header {
	margin-bottom: 20px;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 10px;
}

.breadcrumb-link {
	color: #0680a6;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.breadcrumb-link:hover {
	text-decoration: underline;
}

.breadcrumb-sep {
	color: #cbd5e1;
}

.breadcrumb-current {
	color: #475569;
	font-weight: 500;
}

.gallery-title {
	font-size: 26px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

.gallery-card {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.gallery-image-wrap {
	text-align: center;
	background: #0f172a;
	border-radius: 10px;
	overflow: hidden;
	padding: 12px;
	margin-bottom: 20px;
}

.gallery-img {
	max-width: 100%;
	max-height: 70vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	border-radius: 6px;
}

.gallery-desc-wrap {
	padding: 12px 0 20px;
}

.gallery-body {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
	word-break: break-word;
}

.pre-line {
	white-space: pre-line;
}

.gallery-footer-nav {
	padding-top: 18px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	justify-content: flex-start;
}

.btn-back-home {
	color: #0680a6;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 6px;
	background: #f0fdfa;
	transition: background 0.15s;
}

.btn-back-home:hover {
	background: #ccfbf1;
}

.gallery-loading {
	padding: 80px 20px;
	text-align: center;
	color: #94a3b8;
}

.loading-icon {
	font-size: 32px;
	color: #0680a6;
	margin-bottom: 10px;
}

@media (max-width: 768px) {
	.gallery-title {
		font-size: 20px;
	}
	.gallery-card {
		padding: 16px;
	}
}

/* ==========================================================================
   STUDENTPHOTO.VUE STYLES
   ========================================================================== */
/* Page & Grid Styles */
.page-wrapper {
	padding: 0;
	background-color: transparent !important;
	min-height: auto;
}
.student-photo-manager {
	padding: 10px 0;
	background-color: transparent;
}

.header-section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: white;
	padding: 10px 20px;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.search-form {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
}

.search-input-wrapper {
	position: relative;
	flex: 1;
}

.search-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #a0aec0;
}

.modern-input {
	width: 100%;
	padding: 8px 12px 8px 35px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.3s;
}

.modern-input:focus {
	border-color: #667eea;
}

/* Toggle Switch */
.toggle-switch {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}
.toggle-switch input {
	display: none;
}
.slider {
	position: relative;
	width: 44px;
	height: 24px;
	background-color: #ccc;
	transition: .4s;
	border-radius: 34px;
}
.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}
input:checked + .slider {
	background-color: #667eea;
}
input:checked + .slider:before {
	transform: translateX(20px);
}
.label-text {
	font-weight: 500;
	color: #4a5568;
}

.btn-primary-custom {
	background: var(--ds-gradient-1, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary-custom:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

/* Photo Grid */
.photo-grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 15px;
}

.photo-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
	display: flex;
	flex-direction: column;
}

.photo-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

.card-image {
	width: 100%;
	aspect-ratio: 1; /* Square for consistency */
	background: #f0f0f0;
	position: relative;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.status-indicator {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #48bb78;
	color: white;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.card-content {
	padding: 10px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.student-name {
	font-size: 14px;
	font-weight: 700;
	color: #2d3748;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.meta-info {
	font-size: 12px;
	color: #718096;
	display: flex;
	gap: 4px;
}

.date-tag {
	margin-top: auto;
	font-size: 12px;
	color: #cbd5e0;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 50px 0;
	color: #718096;
}
.empty-icon {
	font-size: 48px;
	margin-bottom: 15px;
	color: #cbd5e0;
}
.end-marker {
	text-align: center;
	padding: 20px;
	color: #cbd5e0;
	font-size: 14px;
}

/* Modal / Carousel Styles */
.carousel-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(10, 10, 15, 0.95);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none;
}

.modal-close-btn {
	position: absolute;
	top: 25px;
	right: 25px;
	background: transparent;
	border: none;
	color: white;
	font-size: 32px;
	cursor: pointer;
	z-index: 1001;
	opacity: 0.7;
	transition: opacity 0.2s;
}
.modal-close-btn:hover {
	opacity: 1;
}

.carousel-content-wrapper {
	display: flex;
	align-items: center;
	gap: 20px;
	width: 85%;
	max-width: 900px;
	height: 75vh;
}

.nav-btn {
	background: rgba(255,255,255,0.1);
	border: none;
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	transition: background 0.3s;
	flex-shrink: 0;
}
.nav-btn:hover {
	background: rgba(255,255,255,0.25);
}

.modal-card {
	flex: 1;
	background: white;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	height: 100%;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-image-col {
	flex: 2;
	background: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.modal-image-col img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.modal-info-col {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow-y: auto;
}

.student-header {
	margin-bottom: 30px;
	border-bottom: 1px solid #edf2f7;
	padding-bottom: 20px;
}

.student-header h2 {
	margin: 0 0 10px 0;
	color: #1a202c;
	font-weight: 800;
}

.student-id-badge {
	background: #ebf4ff;
	color: #4299e1;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
}

.details-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}

.detail-item label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: #a0aec0;
	letter-spacing: 0.05em;
	margin-bottom: 5px;
	font-weight: 600;
}
.detail-item p {
	font-size: 16px;
	color: #2d3748;
	margin: 0;
	font-weight: 500;
}

.action-footer {
	margin-top: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.btn-action {
	border: none;
	padding: 10px 15px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: transform 0.2s, opacity 0.2s;
}
.btn-action:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.approve {
	background: #48bb78;
	color: white;
}
.reject {
	background: #fc8181; /* Soft red */
	color: white;
}

.approved-state {
	grid-column: 1 / -1;
	background: #cbd5e0;
	color: #666;
	cursor: default;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
	.carousel-content-wrapper {
		flex-direction: column;
		width: 100%;
		height: 100%;
		padding: 10px;
	}
	.modal-card {
		flex-direction: column;
		width: 100%;
		height: auto;
		flex: 1;
	}
	.modal-image-col {
		height: 50%;
	}
	.modal-info-col {
		padding: 20px;
	}
	.nav-btn {
		position: absolute;
		top: 50%;
		z-index: 1000;
	}
	.nav-btn.prev { left: 10px; }
	.nav-btn.next { right: 10px; }
}

/* Vue Transitions */
.modal-fade-enter-active, .modal-fade-leave-active {
	transition: opacity 0.3s ease;
}
.modal-fade-enter, .modal-fade-leave-to {
	opacity: 0;
}

/* ==========================================================================
   USERS.VUE STYLES
   ========================================================================== */
.users-page {
	padding: 20px;
	max-width: 1100px;
	margin: 0 auto;
}

/* ---------- hero / stats ---------- */
.users-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}
.users-hero-text h2 {
	margin: 0 0 4px 0;
	color: var(--ds-text);
	font-weight: 800;
}
.users-hero-text p {
	margin: 0;
	color: var(--ds-text-faint);
	font-size: 13px;
}
.users-stats {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.stat-tile {
	min-width: 110px;
	border-radius: var(--ds-radius-md);
	padding: 12px 18px;
	color: #fff;
	box-shadow: var(--ds-shadow-card);
}
.stat-tile-clickable {
	border: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-tile-clickable:hover {
	transform: translateY(-2px);
	box-shadow: var(--ds-shadow-card-hover, 0 8px 20px rgba(0, 0, 0, 0.18));
}
.stat-tile-clickable.is-selected {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px currentColor, var(--ds-shadow-card);
}
.stat-value {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}
.stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.9;
	margin-top: 2px;
}

/* ---------- toolbar ---------- */
.users-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-lg);
	padding: 12px 16px;
	margin-bottom: 18px;
}
.type-pills {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.type-pill {
	border: 1px solid var(--ds-border);
	background: var(--ds-bg);
	color: var(--ds-text-muted);
	font-size: 12.5px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: var(--ds-radius-pill);
	cursor: pointer;
	transition: all 0.15s ease;
}
.type-pill:hover {
	border-color: var(--ds-accent);
	color: var(--ds-accent-dark);
}
.type-pill.active {
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 10px var(--ds-accent-tint-strong);
}
.search-wrap {
	position: relative;
	flex: 1;
	min-width: 220px;
	max-width: 320px;
}
.search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ds-text-faint);
	font-size: 13px;
}
.search-input {
	width: 100%;
	padding: 8px 12px 8px 32px;
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-pill);
	font-size: 13px;
	outline: none;
	transition: border-color 0.2s;
}
.search-input:focus {
	border-color: var(--ds-accent);
}

/* ---------- list ---------- */
.users-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.user-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-left: 4px solid var(--ds-accent);
	border-radius: var(--ds-radius-md);
	padding: 12px 14px;
	cursor: pointer;
	transition: box-shadow 0.2s, transform 0.2s;
}
.user-card:hover {
	box-shadow: var(--ds-shadow-hover);
	transform: translateY(-1px);
}
.user-card.blocked {
	border-left-color: #e57373;
	opacity: 0.85;
}
.user-avatar {
	width: 42px;
	height: 42px;
	min-width: 42px;
	border-radius: 50%;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.user-main {
	flex: 1;
	min-width: 0;
}
.user-name-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.user-name {
	font-weight: 700;
	color: var(--ds-text);
	font-size: 14.5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.user-class {
	font-size: 12px;
	color: var(--ds-text-faint);
}
.user-sub-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
}
.user-username {
	font-size: 12px;
	color: var(--ds-text-faint);
}
.user-roles {
	margin-top: 6px;
}
.user-status {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}
.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.user-status.is-active { color: var(--ds-accent-dark); }
.user-status.is-active .status-dot { background: var(--ds-accent); }
.user-status.is-blocked { color: #c53030; }
.user-status.is-blocked .status-dot { background: #e57373; }
.user-detail-btn, .user-edit-btn {
	border: none;
	background: var(--ds-accent-tint);
	color: var(--ds-accent-dark);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s;
}
.user-detail-btn:hover, .user-edit-btn:hover {
	background: var(--ds-accent-tint-strong);
}

.list-end-marker {
	text-align: center;
	padding: 20px;
	color: var(--ds-text-faint);
	font-size: 13px;
}
.list-empty-state {
	text-align: center;
	padding: 50px 0;
	color: var(--ds-text-faint);
}
.list-empty-state i {
	font-size: 40px;
	margin-bottom: 12px;
	color: var(--ds-border);
}
.list-empty-state h3 {
	color: var(--ds-text-muted);
	margin: 0 0 4px 0;
}

/* ---------- edit drawer ---------- */
.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 10, 15, 0.5);
	z-index: 1000;
}
.edit-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 420px;
	max-width: 100%;
	background: var(--ds-surface);
	box-shadow: var(--ds-shadow-modal);
	z-index: 1001;
	display: flex;
	flex-direction: column;
}
.drawer-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark));
	color: #fff;
}
.drawer-avatar {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.6);
	overflow: hidden;
}
.drawer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.drawer-header-text {
	flex: 1;
	min-width: 0;
}
.drawer-header-text h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
}
.drawer-header-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	opacity: 0.9;
	margin-top: 2px;
}
.drawer-header-meta .ds-badge {
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
}
.drawer-close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 18px;
	opacity: 0.85;
	cursor: pointer;
}
.drawer-close:hover {
	opacity: 1;
}
.drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}
.drawer-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid var(--ds-border);
}

.drawer-fade-enter-active, .drawer-fade-leave-active {
	transition: opacity 0.2s ease;
}
.drawer-fade-enter-from, .drawer-fade-leave-to {
	opacity: 0;
}
.drawer-slide-enter-active, .drawer-slide-leave-active {
	transition: transform 0.25s ease;
}
.drawer-slide-enter-from, .drawer-slide-leave-to {
	transform: translateX(100%);
}

@media (max-width: 640px) {
	.users-toolbar { flex-direction: column; align-items: stretch; }
	.search-wrap { max-width: none; }
}

/* ==========================================================================
   STAFFDIRECTORY.VUE STYLES
   ========================================================================== */
.staff-directory-page { padding: 20px; max-width: 1100px; margin: 0 auto; }
.page-hero { text-align: center; margin-bottom: 26px; }
.page-hero h2 { margin: 0 0 16px 0; font-weight: 800; color: var(--ds-text, #2d3748); }
.search-wrap { position: relative; max-width: 400px; margin: 0 auto; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ds-text-faint, #a0aec0); }
.search-input {
	width: 100%;
	padding: 10px 14px 10px 38px;
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-pill, 999px);
	font-size: 14px;
	outline: none;
}
.search-input:focus { border-color: var(--ds-accent, #43d5b1); }

.staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 18px;
}
.staff-card {
	background: var(--ds-surface, #fff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-lg, 16px);
	padding: 22px 14px;
	text-align: center;
	cursor: pointer;
	transition: box-shadow 0.2s, transform 0.2s;
}
.staff-card:hover {
	box-shadow: var(--ds-shadow-hover, 0 10px 20px rgba(0,0,0,0.1));
	transform: translateY(-2px);
}
.staff-avatar {
	width: 80px;
	height: 80px;
	margin: 0 auto 14px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--ds-gradient-1, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.staff-avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h5 {
	margin: 0 0 4px 0;
	font-weight: 700;
	color: var(--ds-text, #2d3748);
	font-size: 14px;
	min-height: 40px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.view-profile-label { font-size: 11px; color: var(--ds-text-faint, #a0aec0); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 50px 0; color: var(--ds-text-faint, #a0aec0); }
.empty-state i { font-size: 40px; margin-bottom: 12px; }

/* ==========================================================================
   ALBUMMANAGER.VUE STYLES
   ========================================================================== */
.album-manager-page {
	padding: 20px;
	max-width: 1000px;
	margin: 0 auto;
}
.back-link {
	display: inline-block;
	color: var(--ds-accent-dark, #2fb996);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
	cursor: pointer;
}
.title-row {
	display: flex;
	gap: 10px;
}
.dropzone-area {
	border: 2px dashed var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 12px);
	padding: 30px;
	text-align: center;
	cursor: pointer;
	color: var(--ds-text-faint, #a0aec0);
	transition: border-color 0.2s, background 0.2s;
}
.dropzone-area.dragging, .dropzone-area:hover {
	border-color: var(--ds-accent, #43d5b1);
	background: var(--ds-accent-tint, rgba(67, 213, 177, 0.14));
}
.dropzone-area i {
	font-size: 32px;
	margin-bottom: 8px;
}
.dropzone-area p {
	margin: 0;
	font-weight: 600;
}
.hide-input {
	display: none;
}
.pending-list {
	margin-top: 14px;
}
.pending-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	background: var(--ds-bg, #f9fbfb);
	border-radius: 6px;
	font-size: 13px;
	margin-bottom: 4px;
}
.pending-item i {
	cursor: pointer;
	color: #c53030;
}
.upload-progress {
	margin-top: 10px;
	color: var(--ds-text-faint, #a0aec0);
	font-size: 13px;
}
.photos-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}
.photo-tile {
	position: relative;
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #f0f0f0;
	border: 2px solid transparent;
}
.photo-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.photo-tile.selected {
	border-color: #c53030;
}
.select-check {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	color: transparent;
	font-size: 11px;
}
.photo-tile.selected .select-check {
	background: #c53030;
	color: #fff;
}

/* ==========================================================================
   ALBUMDETAIL.VUE STYLES
   ========================================================================== */
.album-detail-page {
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.album-detail-hero {
	margin-bottom: 18px;
}
.back-link {
	display: inline-block;
	color: var(--ds-accent-dark, #2fb996);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	cursor: pointer;
}
.album-detail-hero h2 {
	margin: 0;
	font-weight: 800;
}
.photo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 10px;
}
.photo-tile {
	aspect-ratio: 1;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #f0f0f0;
}
.photo-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s;
}
.photo-tile:hover img {
	transform: scale(1.05);
}
.no-photos {
	text-align: center;
	padding: 60px 0;
	color: #a0aec0;
}
.no-photos i {
	font-size: 40px;
	margin-bottom: 12px;
}

.lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none;
}
.lightbox-image {
	max-width: 90%;
	max-height: 88vh;
	object-fit: contain;
}
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 25px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 18px;
	cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-fade-enter-active, .lightbox-fade-leave-active { transition: opacity 0.2s ease; }
.lightbox-fade-enter-from, .lightbox-fade-leave-to { opacity: 0; }

/* ==========================================================================
   REPORTS.VUE STYLES
   ========================================================================== */
.reports-page {
	padding: 20px;
	max-width: 1100px;
	margin: 0 auto;
}
.reports-hero { margin-bottom: 18px; }
.reports-hero-text h2 { margin: 0 0 4px 0; color: var(--ds-text); font-weight: 800; }
.reports-hero-text p { margin: 0; color: var(--ds-text-faint); font-size: 13px; }

.date-range-row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.date-range-sep {
	color: var(--ds-text-faint);
	font-size: 12px;
}

.reports-filter-card {
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-lg);
	padding: 20px;
	margin-bottom: 18px;
}
.reports-filters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 14px;
}
.radio-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.radio-pill {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--ds-bg);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-pill);
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}
.reports-submit-row {
	text-align: center;
	margin-top: 18px;
}

.student-search-wrap { position: relative; }
.assign-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-md);
	box-shadow: var(--ds-shadow-hover);
	margin-top: 4px;
	max-height: 220px;
	overflow-y: auto;
	z-index: 5;
}
.assign-result-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 13px;
}
.assign-result-row:hover { background: var(--ds-accent-tint); }
.assign-result-username { color: var(--ds-text-faint); font-size: 12px; }

.reports-loading {
	text-align: center;
	padding: 40px 0;
	color: var(--ds-text-faint);
}

.download-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-left: 4px solid var(--ds-accent);
	border-radius: var(--ds-radius-md);
	padding: 14px 18px;
	margin-bottom: 16px;
}
.download-card > div:first-child {
	display: flex;
	align-items: center;
	gap: 12px;
}
.download-card i.fa-file-csv {
	font-size: 26px;
	color: var(--ds-accent);
}
.download-title { font-weight: 700; color: var(--ds-text); }
.download-sub { font-size: 12px; color: var(--ds-text-faint); }

.leaves-card {
	background: #fff3cd;
	border-radius: var(--ds-radius-md);
	padding: 14px 18px;
	margin-bottom: 16px;
	font-size: 13px;
}
.leaves-title { font-weight: 700; }
.leaves-dates { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 10px; }

.no-data-card {
	text-align: center;
	padding: 40px 0;
	color: var(--ds-text-faint);
	background: var(--ds-surface);
	border: 1px solid var(--ds-border);
	border-radius: var(--ds-radius-lg);
}

/* ==========================================================================
   MAINTAINMPD.VUE STYLES
   ========================================================================== */
.category-item {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}
.category-item:hover {
    background: #f7fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.category-item.active {
    border-color: #3182ce;
    border-left: 4px solid #3182ce;
    background: #ebf8ff;
}
.badge-fields {
    background-color: #ebf4ff;
    color: #2b6cb0;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
}
.badge-files {
    background-color: #e6fffa;
    color: #234e52;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 12px;
    text-transform: uppercase;
}
.reorder-btn {
    color: #cbd5e0;
    background: none;
    border: none;
    padding: 2px 5px;
    transition: color 0.2s;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}
.reorder-btn:hover:not(:disabled) {
    color: #4a5568;
}
.reorder-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.btn-primary-outline {
    background: none;
    border: 1px solid #cbd5e0;
    color: #718096;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    outline: none;
}
.btn-primary-outline:hover {
    border-color: #3182ce;
    color: #3182ce;
    background: #ebf8ff;
}
.btn-danger-outline {
    background: none;
    border: 1px solid #cbd5e0;
    color: #718096;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    outline: none;
}
.btn-danger-outline:hover:not(:disabled) {
    border-color: #e53e3e;
    color: #e53e3e;
    background: #fff5f5;
}
.btn-danger-outline:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.mb-20 {
    margin-bottom: 20px;
}
.mt-20 {
    margin-top: 20px;
}

/* ==========================================================================
   SESSION.VUE STYLES
   ========================================================================== */
.session-data-management-page {
	padding: 16px;
	max-width: 1140px;
	margin: 0 auto;
}

/* Header Card */
.header-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	margin-bottom: 20px;
}

.header-main-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-icon-box {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.page-main-title {
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 2px 0;
}

.page-subtitle {
	font-size: 12.5px;
	color: #64748b;
	margin: 0;
}

.header-stats {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.stat-pill {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 6px 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 80px;
}

.stat-pill.highlight {
	background: #fef2f2;
	border-color: #fecaca;
}

.stat-num {
	font-size: 16px;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.2;
}

.stat-lbl {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Nav Tabs */
.session-nav-tabs {
	display: flex;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 8px;
	gap: 4px;
	flex-wrap: wrap;
}

.session-tab-btn {
	flex: 1;
	min-width: 180px;
	padding: 9px 14px;
	border: none;
	background: transparent;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.session-tab-btn:hover {
	color: #1e293b;
}

.session-tab-btn.active {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-counter-badge {
	background: #dc2626;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 10px;
}

/* Tab 1: Database Layout */
.database-layout {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 20px;
	align-items: start;
}

.category-sidebar {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.sidebar-search-box {
	position: relative;
	padding: 12px;
	border-bottom: 1px solid #f1f5f9;
	background: #f8fafc;
}

.search-icon {
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 12px;
}

.sidebar-search-input {
	padding-left: 32px !important;
	font-size: 12px;
	height: 34px;
	border-radius: 6px;
}

.category-list {
	max-height: 520px;
	overflow-y: auto;
	padding: 6px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.category-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.15s ease;
	border: 1px solid transparent;
}

.category-item:hover {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.category-item.active {
	background: #f0fdfa;
	border-color: #0680a6;
	box-shadow: 0 1px 3px rgba(6, 128, 166, 0.1);
}

.category-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}

.category-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.category-title {
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.category-sub {
	font-size: 11px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chevron-icon {
	font-size: 11px;
	color: #cbd5e1;
	transition: transform 0.15s;
}

.category-item.active .chevron-icon {
	color: #0680a6;
	transform: translateX(2px);
}

/* Category Detail Panel */
.category-detail-panel {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.object-header-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	flex-wrap: wrap;
	gap: 12px;
}

.banner-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.banner-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.banner-title {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 2px 0;
}

.banner-desc {
	font-size: 12px;
	color: #64748b;
	margin: 0;
}

.banner-badges {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.badge-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.badge-tag.soft {
	background: #fef3c7;
	color: #92400e;
}

.badge-tag.hard {
	background: #fee2e2;
	color: #991b1b;
}

.badge-tag.move {
	background: #e0e7ff;
	color: #3730a3;
}

.session-list-wrapper {
	padding: 20px;
}

.list-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
	gap: 6px;
}

.list-section-header h4 {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.list-hint {
	font-size: 11.5px;
	color: #64748b;
}

.session-cards-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.session-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	transition: all 0.15s ease;
}

.session-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.session-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.session-name-wrap {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.session-badge {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.session-dates {
	font-size: 11.5px;
	color: #64748b;
}

.session-index {
	font-size: 11px;
	font-weight: 600;
	color: #94a3b8;
	background: #e2e8f0;
	padding: 2px 6px;
	border-radius: 4px;
}

.session-card-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.session-card-actions .btn-action,
.session-card-actions .btn-session-action,
.btn-session-action {
	border: 1px solid transparent !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	padding: 6px 14px !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	width: auto !important;
	height: auto !important;
	white-space: nowrap !important;
	transition: all 0.15s ease !important;
}

.session-card-actions .btn-action.move,
.session-card-actions .btn-session-move,
.btn-session-move {
	background: #e0e7ff !important;
	color: #4338ca !important;
	border-color: #c7d2fe !important;
}

.session-card-actions .btn-action.move:hover,
.session-card-actions .btn-session-move:hover,
.btn-session-move:hover {
	background: #c7d2fe !important;
	color: #3730a3 !important;
}

.session-card-actions .btn-action.soft-delete,
.session-card-actions .btn-session-soft-delete,
.btn-session-soft-delete {
	background: #fef3c7 !important;
	color: #b45309 !important;
	border-color: #fde68a !important;
}

.session-card-actions .btn-action.soft-delete:hover,
.session-card-actions .btn-session-soft-delete:hover,
.btn-session-soft-delete:hover {
	background: #fde68a !important;
	color: #92400e !important;
}

.session-card-actions .btn-action.hard-delete,
.session-card-actions .btn-session-hard-delete,
.btn-session-hard-delete {
	background: #fee2e2 !important;
	color: #dc2626 !important;
	border-color: #fecaca !important;
}

.session-card-actions .btn-action.hard-delete:hover,
.session-card-actions .btn-session-hard-delete:hover,
.btn-session-hard-delete:hover {
	background: #dc2626 !important;
	color: #ffffff !important;
	border-color: #dc2626 !important;
}

/* Empty State Card */
.empty-state-card {
	padding: 48px 20px;
	text-align: center;
	color: #64748b;
}

.empty-icon-success {
	font-size: 42px;
	color: #10b981;
	margin-bottom: 12px;
}

.empty-state-card h4 {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px 0;
}

.empty-state-card p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

/* TAB 2: Storage Layout */
.storage-layout {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.storage-selector-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.selector-left {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.selector-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #1e293b;
	white-space: nowrap;
}

.session-dropdown-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.session-select-dropdown {
	min-width: 180px;
	height: 38px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	background-color: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.session-select-dropdown:hover,
.session-select-dropdown:focus {
	border-color: #0680a6;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(6, 128, 166, 0.12);
	outline: none;
}

.session-total-badge {
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
	background: #f1f5f9;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.storage-content-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.storage-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f1f5f9;
	flex-wrap: wrap;
	gap: 10px;
}

.storage-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 2px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.storage-title code {
	background: #e0f2fe;
	color: #0369a1;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
}

.storage-sub {
	font-size: 12px;
	color: #64748b;
}

.btn-refresh-storage {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.btn-refresh-storage:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.folder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}

.folder-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: all 0.2s ease;
}

.folder-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
	border-color: #cbd5e1;
}

.folder-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
}

.folder-icon-circle {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.folder-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.folder-name {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.folder-card-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.btn-folder-action {
	border: none;
	font-size: 11px;
	font-weight: 600;
	padding: 7px 8px;
	border-radius: 6px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	transition: all 0.15s ease;
	text-align: center;
}

.btn-folder-action.download {
	background: #e0f2fe;
	color: #0369a1;
}

.btn-folder-action.download:hover {
	background: #bae6fd;
}

.btn-folder-action.download-delete {
	background: #fef3c7;
	color: #b45309;
}

.btn-folder-action.download-delete:hover {
	background: #fde68a;
}

.btn-folder-action.server-backup {
	background: #f3e8ff;
	color: #7e22ce;
}

.btn-folder-action.server-backup:hover {
	background: #e9d5ff;
}

.btn-folder-action.delete-perm {
	background: #fee2e2;
	color: #dc2626;
}

.btn-folder-action.delete-perm:hover {
	background: #dc2626;
	color: #fff;
}

/* TAB 3: Maintenance Layout */
.maintenance-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

.maintenance-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
}

.maintenance-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #fef2f2;
	color: #dc2626;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
}

.maintenance-title {
	font-size: 17px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 4px 0;
}

.maintenance-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	max-width: 680px;
}

.maintenance-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.trash-summary-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.trash-info-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.trash-count-badge {
	font-size: 22px;
	font-weight: 800;
	color: #dc2626;
	background: #fee2e2;
	padding: 6px 14px;
	border-radius: 10px;
}

.trash-count-title {
	font-size: 14px;
	color: #1e293b;
	display: block;
}

.trash-count-sub {
	font-size: 12px;
	color: #64748b;
	display: block;
}

.btn-purge-all {
	background: #dc2626;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 18px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background 0.15s;
}

.btn-purge-all:hover:not(:disabled) {
	background: #b91c1c;
}

.btn-purge-all:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.maintenance-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.detail-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 14px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.detail-icon {
	font-size: 20px;
	margin-top: 2px;
	flex-shrink: 0;
}

.detail-item strong {
	font-size: 13px;
	color: #1e293b;
	display: block;
}

.detail-item span {
	font-size: 11px;
	color: #64748b;
	display: block;
}

@media (max-width: 860px) {
	.database-layout {
		grid-template-columns: 1fr;
	}
	.header-main-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.session-card {
		flex-direction: column;
		align-items: flex-start;
	}
	.folder-card-buttons {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   ONLINEADMISSIONREPORT.VUE STYLES
   ========================================================================== */
.admissions-report-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 16px;
}

/* Filter Toolbar Card */
.toolbar-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 14px 18px;
	margin-bottom: 20px;
}

/* Filter Controls Row */
.filter-controls-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.status-tab-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 10px;
}

.status-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: transparent;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
}

.status-tab-btn:hover {
	color: #1e293b;
}

.status-tab-btn.active {
	background: #ffffff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	font-size: 11px;
	font-weight: 700;
	border-radius: 10px;
	background: #e2e8f0;
	color: #475569;
	margin-left: 4px;
	transition: all 0.2s ease;
}

.status-tab-btn.active .tab-count-badge {
	background: #0f172a;
	color: #ffffff;
}

.tab-count-badge.new-badge.has-items {
	background: #10b981;
	color: #ffffff;
}

.status-tab-btn.active .tab-count-badge.new-badge.has-items {
	background: #059669;
	color: #ffffff;
}

.tab-count-badge.pending-badge {
	background: #fef3c7;
	color: #b45309;
}

.status-tab-btn.active .tab-count-badge.pending-badge {
	background: #f59e0b;
	color: #ffffff;
}

.tab-count-badge.contacted-badge {
	background: #dbeafe;
	color: #1d4ed8;
}

.status-tab-btn.active .tab-count-badge.contacted-badge {
	background: #2563eb;
	color: #ffffff;
}

.filter-actions-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.class-filter-box .select-class,
.session-filter-box .select-session {
	height: 38px;
	border-radius: 8px;
	border: 1.5px solid #cbd5e1;
	font-size: 13px;
	font-weight: 600;
	background: #f8fafc;
	min-width: 140px;
}

.search-input-box {
	position: relative;
	min-width: 240px;
}

.search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 13px;
}

.search-input {
	height: 38px;
	border-radius: 8px;
	border: 1.5px solid #cbd5e1;
	padding-left: 34px !important;
	padding-right: 28px !important;
	font-size: 13px;
	background: #f8fafc;
}

.search-input:focus {
	background: #ffffff;
	border-color: #0680a6;
	box-shadow: 0 0 0 3px rgba(6, 128, 166, 0.12);
}

.clear-search-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	font-size: 12px;
}

.btn-refresh {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	color: #475569;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-refresh:hover {
	background: #e2e8f0;
	color: #0f172a;
}

/* Applications Cards Grid */
.applications-container {
	margin-top: 10px;
}

.applications-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.app-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 18px 20px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.app-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.app-card.is-new {
	border-left: 4px solid #10b981;
}

.app-card.is-pending {
	border-left: 4px solid #f59e0b;
}

.app-card.is-contacted {
	border-left: 4px solid #3b82f6;
}

/* Card Main Info */
.card-main-info {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 14px;
}

.applicant-avatar {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, #43d5b1, #2fb996);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 800;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(47, 185, 150, 0.3);
}

.applicant-meta {
	flex: 1;
	min-width: 0;
}

.name-id-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.applicant-name {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.app-id-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f1f5f9;
	color: #475569;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 6px;
}

.class-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11.5px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 6px;
}

.parent-info-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	color: #64748b;
	font-size: 13px;
}

.info-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.info-item strong {
	color: #334155;
}

.phone-link {
	color: #0284c7;
	font-weight: 700;
	text-decoration: none;
}

.phone-link:hover {
	text-decoration: underline;
}

/* Card Status Strip */
.card-status-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px 14px;
	background: #f8fafc;
	border-radius: 8px;
	margin-bottom: 14px;
}

.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
}

.status-badge.new {
	background: #ecfdf5;
	color: #047857;
}

.status-badge.pending {
	background: #fffbeb;
	color: #b45309;
}

.status-badge.contacted {
	background: #eff6ff;
	color: #1d4ed8;
}

.submission-timestamp {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: #64748b;
}

.time-text {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.time-sub {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #2563eb;
	font-weight: 600;
}

/* Action Bar */
.card-action-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.action-left,
.action-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.btn-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.15s ease;
}

.view-btn {
	background: #f1f5f9;
	color: #334155;
}

.view-btn:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.contact-btn {
	background: #fef3c7;
	color: #92400e;
}

.contact-btn:hover {
	background: #fde68a;
}

.print-btn {
	background: linear-gradient(135deg, #43d5b1, #2fb996);
	color: #ffffff;
}

.print-btn:hover {
	background: linear-gradient(135deg, #38c29f, #28a886);
	box-shadow: 0 2px 8px rgba(47, 185, 150, 0.35);
}

.delete-btn {
	background: #fee2e2;
	color: #dc2626;
	padding: 7px 10px;
}

.delete-btn:hover {
	background: #dc2626;
	color: #ffffff;
}

/* List End / Empty State */
.list-end-banner {
	text-align: center;
	padding: 24px;
	color: #64748b;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.empty-state-card {
	text-align: center;
	padding: 48px 20px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-top: 10px;
}

.empty-icon-circle {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin-bottom: 14px;
}

.empty-state-card h3 {
	font-size: 17px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px;
}

.empty-state-card p {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 16px;
}

.btn-reset-filter {
	background: #0680a6;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

/* Quick View Modal */
.modal-backdrop-custom {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(3px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.modal-card-custom {
	background: #ffffff;
	border-radius: 14px;
	width: 100%;
	max-width: 640px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: modal-pop 0.2s ease-out;
}

.modal-header-custom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
}

.modal-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.modal-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.modal-applicant-name {
	font-size: 17px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 2px;
}

.modal-sub {
	font-size: 12px;
	color: #64748b;
}

.modal-close-btn {
	background: none;
	border: none;
	color: #94a3b8;
	font-size: 16px;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
}

.modal-close-btn:hover {
	color: #0f172a;
	background: #e2e8f0;
}

.modal-body-custom {
	padding: 22px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.detail-section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.section-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 6px;
}

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.detail-cell {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.detail-cell.full-width {
	grid-column: span 2;
}

.cell-label {
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
}

.cell-value {
	font-size: 13.5px;
	color: #1e293b;
	font-weight: 500;
	word-break: break-word;
}

/* Photo Thumbnails Preview Strip */
.photos-preview-strip {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	background: #f1f5f9;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	overflow-x: auto;
}

.photo-thumb-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.photo-img-wrap {
	width: 76px;
	height: 96px;
	border-radius: 8px;
	overflow: hidden;
	background: #e2e8f0;
	border: 2px solid #cbd5e1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-lbl {
	font-size: 11px;
	font-weight: 700;
	color: #475569;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Document Attachment Buttons */
.docs-button-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 10px;
}

.doc-attachment-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.doc-attachment-btn:hover {
	border-color: #3b82f6;
	background: #eff6ff;
	box-shadow: 0 3px 6px rgba(59, 130, 246, 0.15);
	transform: translateY(-1px);
}

.doc-pdf-icon {
	color: #ef4444;
	font-size: 18px;
	flex-shrink: 0;
}

.doc-btn-text {
	flex: 1;
	font-size: 12.5px;
	font-weight: 600;
	color: #1e293b;
}

.doc-ext-icon {
	color: #94a3b8;
	font-size: 11px;
}

.modal-footer-custom {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	padding: 14px 22px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

@keyframes modal-pop {
	0% { opacity: 0; transform: scale(0.95); }
	100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
	.header-main-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.filter-controls-row {
		flex-direction: column;
		align-items: stretch;
	}
	.status-tab-group {
		width: 100%;
		overflow-x: auto;
	}
	.filter-actions-right {
		width: 100%;
	}
	.search-input-box {
		flex: 1;
		min-width: 0;
	}
	.card-main-info {
		flex-direction: column;
	}
	.detail-grid {
		grid-template-columns: 1fr;
	}
	.detail-cell.full-width {
		grid-column: span 1;
	}
	.card-action-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.action-right {
		justify-content: flex-end;
	}
}

/* ==========================================================================
   STUDENTPROFILE.VUE STYLES
   ========================================================================== */
.student-profile-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 10px 0 30px;
	width: 100%;
	box-sizing: border-box;
}

/* Not Found Card */
.not-found-card {
	padding: 40px 20px;
	text-align: center;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
}

.empty-icon-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 12px;
}

/* 1. Hero Header Card */
.profile-hero-card {
	background: #fff;
	border-radius: 14px;
	padding: 18px 22px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 16px;
}

.hero-main-content {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	flex: 1;
}

.hero-avatar-wrap {
	position: relative;
	flex-shrink: 0;
}

.student-avatar {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #0680a6;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
	display: block;
}

.avatar-clickable {
	cursor: pointer;
	transition: transform 0.15s ease;
}

.avatar-clickable:hover {
	transform: scale(1.05);
}

.avatar-link {
	display: block;
	position: relative;
}

.avatar-edit-badge {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #0680a6;
	color: #fff;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.status-indicator-dot {
	position: absolute;
	top: 2px;
	right: 2px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid #fff;
}

.status-indicator-dot.active {
	background: #10b981;
}

.status-indicator-dot.inactive {
	background: #ef4444;
}

.hero-details {
	min-width: 0;
	flex: 1;
}

.hero-name-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.student-name {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.student-defaulter-badge {
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 6px;
	vertical-align: middle;
}

.hero-meta-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.meta-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
}

.chip-class {
	background: #e0f2fe;
	color: #0369a1;
	border-color: #bae6fd;
}

.chip-roll {
	background: #ecfdf5;
	color: #047857;
	border-color: #a7f3d0;
}

.chip-id {
	background: #f8fafc;
	color: #475569;
}

.chip-house {
	background: #fef3c7;
	color: #b45309;
	border-color: #fde68a;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.action-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 6px;
}

.status-toggle-btn {
	transition: all 0.2s ease;
}

/* Dashboard Layout & Card Styles */
.profile-dashboard-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.grid-row-1 {
	width: 100%;
}

.grid-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.profile-card {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 18px 20px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.full-width-card {
	grid-column: 1 / -1;
}

.card-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f1f5f9;
	flex-shrink: 0;
}

.card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 8px;
}

.badge-month,
.badge-session {
	font-size: 11px;
	font-weight: 600;
	background: #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 12px;
}

/* Max-Height Scrollable Bodies */
.card-scroll-body {
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 4px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f8fafc;
	flex: 1;
}

.card-scroll-body::-webkit-scrollbar {
	width: 5px;
}

.card-scroll-body::-webkit-scrollbar-track {
	background: #f8fafc;
	border-radius: 3px;
}

.card-scroll-body::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.max-h-personal {
	max-height: 260px;
}

.max-h-attendance {
	max-height: 260px;
}

.max-h-fees {
	max-height: 260px;
}

.max-h-account {
	max-height: 260px;
}

/* Info Items Grid */
.info-items-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.info-item.full-span {
	grid-column: 1 / -1;
}

.info-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
	margin-top: 2px;
}

.info-content {
	flex: 1;
	min-width: 0;
}

.info-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 2px;
}

.info-value {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1e293b;
	word-break: break-word;
}

.phone-link {
	color: #0284c7;
	text-decoration: none;
}

.phone-link:hover {
	text-decoration: underline;
}

/* Attendance Widget */
.attendance-widget {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 0;
}

.attendance-stat-box {
	display: flex;
	align-items: center;
	gap: 16px;
}

.att-circle-meter {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
	border: 3px solid #0284c7;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(2, 132, 199, 0.15);
}

.att-percent-num {
	font-size: 17px;
	font-weight: 800;
	color: #0369a1;
	line-height: 1.1;
}

.att-percent-label {
	font-size: 9px;
	font-weight: 700;
	color: #0284c7;
	text-transform: uppercase;
}

.att-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.att-metric {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
}

.metric-label {
	color: #64748b;
	font-weight: 500;
}

.attendance-bar-track {
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	overflow: hidden;
}

.attendance-bar-fill {
	height: 100%;
	border-radius: 3px;
	transition: width 0.4s ease;
}

.bar-success { background: #10b981; }
.bar-info { background: #0ea5e9; }
.bar-warning { background: #f59e0b; }

.status-chips-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 8px;
	border-top: 1px solid #f1f5f9;
}

.status-summary-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
}

.summary-label {
	color: #64748b;
	font-weight: 600;
}

/* Badges - ".badge.badge-X" matches styles-green.css's specificity for the same
   selector; since design-system.css loads after it, this wins the cascade and
   applies the soft-badge palette everywhere instead of that stylesheet's solid
   muted colors (previously only patched for the Chat & Messages button badge). */
.badge-success, .badge.badge-success { background: #dcfce7; color: #15803d; }
.badge-info, .badge.badge-info { background: #e0f2fe; color: #0369a1; }
.badge-warning, .badge.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger, .badge.badge-danger { background: #fee2e2; color: #b91c1c; }

/* Fee Table */
.fee-table {
	margin-bottom: 0;
	font-size: 12px;
}

.fee-table th {
	font-size: 11px;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
}

/* Activity Summary */
.activity-summary-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 4px 0;
}

.activity-stat-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
}

.stat-icon-wrap {
	font-size: 20px;
	margin-top: 2px;
}

.stat-text-wrap strong {
	font-size: 13px;
	color: #1e293b;
	display: block;
	margin-bottom: 2px;
}

.activity-action-box {
	background: #fff;
	border-radius: 8px;
}

/* --- Reset Password Modal Popup --- */
.modal-backdrop-custom {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1050;
	padding: 16px;
	box-sizing: border-box;
}

.reset-modal-dialog {
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
	from { transform: translateY(10px) scale(0.98); opacity: 0; }
	to { transform: translateY(0) scale(1); opacity: 1; }
}

.reset-modal-dialog .modal-header {
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.reset-modal-dialog .modal-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 8px;
}

.reset-modal-dialog .modal-body {
	padding: 18px;
}

.target-user-box {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.target-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #0680a6;
	flex-shrink: 0;
}

.target-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.target-meta strong {
	font-size: 13px;
	color: #1e293b;
}

.target-meta span {
	font-size: 11px;
}

.reset-modal-dialog .modal-footer {
	padding: 12px 18px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.photo-preview-dialog {
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
	padding: 20px;
	position: relative;
	animation: modalFadeIn 0.2s ease-out;
	text-align: center;
}

.photo-preview-close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	z-index: 1;
}

.photo-preview-loading, .photo-preview-empty {
	padding: 40px 0;
	color: #64748b;
	font-size: 14px;
}

.photo-preview-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.photo-preview-img {
	max-width: 100%;
	max-height: 60vh;
	border-radius: 8px;
	object-fit: contain;
}

.photo-preview-nav {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	cursor: pointer;
	color: #334155;
}

.photo-preview-nav:hover {
	background: #e2e8f0;
}

.photo-preview-date {
	margin-top: 10px;
	font-size: 12px;
	color: #64748b;
}

.photo-preview-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	overflow-x: auto;
	padding-bottom: 4px;
}

.photo-preview-thumb {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: 0.6;
	flex-shrink: 0;
}

.photo-preview-thumb.active {
	border-color: #0680a6;
	opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
	.grid-row-2 {
		grid-template-columns: 1fr;
	}
	.profile-hero-card {
		padding: 16px;
	}
	.hero-main-content {
		flex-direction: column;
		align-items: flex-start;
	}
	.hero-actions {
		width: 100%;
	}
	.action-btn {
		flex: 1;
		justify-content: center;
	}
}

@media (max-width: 580px) {
	.info-items-grid {
		grid-template-columns: 1fr;
	}
	.meta-chip {
		font-size: 11px;
		padding: 3px 8px;
	}
	.student-name {
		font-size: 19px;
	}
}

/* ==========================================================================
   MARKSPROGRESSCARDS.VUE STYLES
   ========================================================================== */
.marks-progress-component {
	width: 100%;
}

.marks-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	flex-wrap: wrap;
	gap: 10px;
}

.marks-section-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	display: flex;
	align-items: center;
	gap: 8px;
}

.badge-count {
	font-size: 11px;
	font-weight: 600;
	background: #e2e8f0;
	color: #475569;
	padding: 2px 8px;
	border-radius: 12px;
}

.marks-actions-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.search-input-wrap {
	position: relative;
	width: 160px;
}

.search-input-wrap .search-icon {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 11px;
}

.search-input-wrap .search-input {
	padding-left: 28px;
	height: 30px;
	font-size: 12px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
}

.view-mode-toggle {
	display: flex;
	background: #f1f5f9;
	border-radius: 6px;
	padding: 2px;
	gap: 2px;
}

.toggle-btn {
	border: none;
	background: transparent;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
	padding: 4px 10px;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: all 0.15s ease;
}

.toggle-btn.active {
	background: #fff;
	color: #0284c7;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Scroll Container with Custom Scrollbar */
.marks-scroll-container {
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 4px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f8fafc;
}

.marks-scroll-container::-webkit-scrollbar {
	width: 6px;
}

.marks-scroll-container::-webkit-scrollbar-track {
	background: #f8fafc;
	border-radius: 3px;
}

.marks-scroll-container::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}

.marks-scroll-container::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Loading & Empty States */
.marks-loading-state,
.marks-empty-state {
	padding: 30px 16px;
	text-align: center;
	color: #64748b;
}

.empty-icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 8px;
}

.marks-empty-state h5 {
	margin: 0 0 4px;
	font-weight: 700;
	color: #334155;
}

/* --- Colorful Subject Cards Grid (Identical to Dashboard) --- */
.subject-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}

.subject-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	padding: 14px 16px;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	border-top: 1px solid rgba(255, 255, 255, 0.8);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 0;
	box-sizing: border-box;
}

.subject-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.subject-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.subject-card-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
	font-size: 15px;
}

.subject-card-info {
	flex: 1;
	min-width: 0;
}

.subject-card-info h5 {
	margin: 0 0 2px;
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	word-break: break-word;
	overflow-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.subject-meta-text {
	font-size: 10.5px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}


.score-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 6px;
}

/* Exam Rows Inside Card */
.subject-card-marks {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.subject-exam-item {
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(4px);
	border-radius: 8px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.exam-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.exam-title-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	flex: 1;
}

.exam-type-badge {
	font-size: 11px;
	font-weight: 700;
	color: #334155;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.exam-date-text {
	font-size: 10px;
	color: #94a3b8;
	font-weight: 500;
	flex-shrink: 0;
}

.exam-score-wrap {
	flex-shrink: 0;
}

.exam-score {
	font-size: 12px;
	font-weight: 700;
	color: #0284c7;
}

.exam-score .score-max {
	font-size: 10px;
	font-weight: 500;
	color: #64748b;
}

.exam-score.score-fail {
	color: #dc2626;
}

/* Progress Bar */
.exam-progress-track {
	height: 4px;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 2px;
	overflow: hidden;
	margin: 6px 0 5px;
}

.exam-progress-bar {
	height: 100%;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.bar-green { background: #10b981; }
.bar-blue { background: #0ea5e9; }
.bar-amber { background: #f59e0b; }
.bar-red { background: #ef4444; }

.exam-comparison-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 10px;
	color: #64748b;
}

.comp-stat {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.comp-stat strong {
	color: #1e293b;
}

/* --- Color Theme Gradients --- */
.subject-grad-0 { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border-left: 4px solid #0ea5e9; }
.subject-grad-1 { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-left: 4px solid #10b981; }
.subject-grad-2 { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border-left: 4px solid #f59e0b; }
.subject-grad-3 { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); border-left: 4px solid #f43f5e; }
.subject-grad-4 { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); border-left: 4px solid #6366f1; }
.subject-grad-5 { background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); border-left: 4px solid #14b8a6; }


/* Table styling */
.marks-table-wrap {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

@media (max-width: 600px) {
	.subject-cards-grid {
		grid-template-columns: 1fr;
	}
	.search-input-wrap {
		width: 100%;
	}
	.marks-actions-wrap {
		width: 100%;
		justify-content: space-between;
	}
}

/* ==========================================================================
   LOADER.VUE STYLES
   ========================================================================== */
/* ============================================================
   NCS Native Global Loader Overlay (Guaranteed Centering & Visibility)
   ============================================================ */
.ncs-global-loader-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 999999 !important;
	pointer-events: auto !important;
}

.ncs-loader-backdrop {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(255, 255, 255, 0.72) !important;
	backdrop-filter: blur(5px) !important;
	-webkit-backdrop-filter: blur(5px) !important;
	z-index: 1 !important;
}

.ncs-innovative-loader-box {
	position: relative !important;
	z-index: 2 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 16px !important;
	padding: 16px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	user-select: none !important;
	animation: ncs-box-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ============================================================
   1. Quantum Nexus
   ============================================================ */
.ncs-loader-quantum {
	position: relative !important;
	width: 54px !important;
	height: 54px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.quantum-ring {
	position: absolute !important;
	border-radius: 50% !important;
	border: 2.5px solid transparent !important;
	box-sizing: border-box !important;
	will-change: transform !important;
}

.quantum-ring.ring-outer {
	inset: 0 !important;
	border-top-color: #43d5b1 !important;
	border-right-color: #2fb996 !important;
	animation: q-spin-cw 1.2s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite !important;
	filter: drop-shadow(0 0 6px rgba(67, 213, 177, 0.6)) !important;
}

.quantum-ring.ring-middle {
	inset: 8px !important;
	border-top-color: #3b82f6 !important;
	border-left-color: #60a5fa !important;
	animation: q-spin-ccw 0.9s linear infinite !important;
	filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5)) !important;
}

.quantum-ring.ring-inner {
	inset: 16px !important;
	border-bottom-color: #43d5b1 !important;
	border-right-color: transparent !important;
	animation: q-spin-cw 0.7s ease-in-out infinite !important;
}

.quantum-core {
	width: 8px !important;
	height: 8px !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #43d5b1, #3b82f6) !important;
	box-shadow: 0 0 10px rgba(67, 213, 177, 0.9) !important;
	animation: q-pulse 1.4s ease-in-out infinite !important;
}

@keyframes q-spin-cw {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes q-spin-ccw {
	0% { transform: rotate(360deg); }
	100% { transform: rotate(0deg); }
}

@keyframes q-pulse {
	0%, 100% { transform: scale(0.85); opacity: 0.85; }
	50% { transform: scale(1.35); opacity: 1; }
}

/* ============================================================
   2. NCS Brand Knowledge Pulse
   ============================================================ */
.ncs-loader-brand {
	width: 56px !important;
	height: 56px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.brand-cap-svg {
	width: 56px !important;
	height: 56px !important;
	overflow: visible !important;
}

.brand-aura {
	transform-origin: 28px 28px !important;
	animation: brand-rotate-aura 4s linear infinite !important;
}

.cap-top {
	animation: brand-cap-float 2s ease-in-out infinite !important;
	transform-origin: 28px 22px !important;
}

.cap-base {
	animation: brand-base-glow 2s ease-in-out infinite !important;
}

.cap-tassel {
	transform-origin: 28px 22px !important;
	animation: brand-tassel-swing 2s ease-in-out infinite !important;
}

@keyframes brand-rotate-aura {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

@keyframes brand-cap-float {
	0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 3px rgba(67,213,177,0.4)); }
	50% { transform: translateY(-2px) scale(1.03); filter: drop-shadow(0 0 10px rgba(67,213,177,0.8)); }
}

@keyframes brand-base-glow {
	0%, 100% { opacity: 0.85; }
	50% { opacity: 1; filter: drop-shadow(0 0 6px rgba(47,185,150,0.7)); }
}

@keyframes brand-tassel-swing {
	0%, 100% { transform: rotate(-4deg); }
	50% { transform: rotate(4deg); }
}

/* ============================================================
   3. Liquid Meta-Balls
   ============================================================ */
.ncs-loader-liquid {
	position: relative !important;
	width: 50px !important;
	height: 50px !important;
	animation: liquid-container-spin 3s linear infinite !important;
}

.liquid-ball {
	position: absolute !important;
	width: 14px !important;
	height: 14px !important;
	border-radius: 50% !important;
	will-change: transform !important;
}

.liquid-ball.ball-1 {
	top: 0 !important;
	left: 18px !important;
	background: #43d5b1 !important;
	box-shadow: 0 0 8px rgba(67, 213, 177, 0.85) !important;
	animation: liquid-ball-1 1.6s ease-in-out infinite !important;
}

.liquid-ball.ball-2 {
	top: 18px !important;
	right: 0 !important;
	background: #2fb996 !important;
	box-shadow: 0 0 8px rgba(47, 185, 150, 0.85) !important;
	animation: liquid-ball-2 1.6s ease-in-out infinite !important;
}

.liquid-ball.ball-3 {
	bottom: 0 !important;
	left: 18px !important;
	background: #3b82f6 !important;
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.85) !important;
	animation: liquid-ball-3 1.6s ease-in-out infinite !important;
}

.liquid-ball.ball-4 {
	top: 18px !important;
	left: 0 !important;
	background: #00f2fe !important;
	box-shadow: 0 0 8px rgba(0, 242, 254, 0.85) !important;
	animation: liquid-ball-4 1.6s ease-in-out infinite !important;
}

@keyframes liquid-container-spin {
	100% { transform: rotate(360deg); }
}

@keyframes liquid-ball-1 {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(13px) scale(0.6); }
}

@keyframes liquid-ball-2 {
	0%, 100% { transform: translateX(0) scale(1); }
	50% { transform: translateX(-13px) scale(0.6); }
}

@keyframes liquid-ball-3 {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-13px) scale(0.6); }
}

@keyframes liquid-ball-4 {
	0%, 100% { transform: translateX(0) scale(1); }
	50% { transform: translateX(13px) scale(0.6); }
}

/* ============================================================
   4. Microsoft Fluent 2 Dynamic Arc
   ============================================================ */
.ncs-loader-fluent {
	width: 52px !important;
	height: 52px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.fluent-arc-svg {
	width: 52px !important;
	height: 52px !important;
	animation: fluent-arc-rotate 1.8s linear infinite !important;
}

.fluent-arc {
	stroke-dasharray: 1, 150 !important;
	stroke-dashoffset: 0 !important;
	animation: fluent-arc-dash 1.4s ease-in-out infinite !important;
	filter: drop-shadow(0 0 6px rgba(67, 213, 177, 0.7)) !important;
}

@keyframes fluent-arc-rotate {
	100% { transform: rotate(360deg); }
}

@keyframes fluent-arc-dash {
	0% {
		stroke-dasharray: 1, 150;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 85, 150;
		stroke-dashoffset: -30;
	}
	100% {
		stroke-dasharray: 85, 150;
		stroke-dashoffset: -120;
	}
}

/* Status Message */
.ncs-loader-msg {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	letter-spacing: 0.02em !important;
	text-align: center !important;
	white-space: nowrap !important;
}

/* Transitions */
.ncs-fade-enter-active,
.ncs-fade-leave-active {
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.ncs-fade-enter-from,
.ncs-fade-leave-to {
	opacity: 0;
}

@keyframes ncs-box-pop {
	0% {
		opacity: 0;
		transform: scale(0.92);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* ==========================================================================
   STUDENT.VUE STYLES
   ========================================================================== */
.notifIcon .dropdown-menu{
  top: 37px;
  right: -4px;
  left: unset;
  width: 460px;
  box-shadow: 0px 5px 7px -1px #c1c1c1;
  padding: 0px;
}
.notifIcon .dropdown-menu:before{
  content: "";
  position: absolute;
  top: -20px;
  right: 12px;
  border:10px solid #343A40;
  border-color: transparent transparent #343A40 transparent;
}
.notifIcon .notifHead{
  padding:5px 15px;
  border-radius: 3px 3px 0px 0px;
}
.notifIcon .dropdown-menu ul{
	max-height: 230px;
	list-style: none;
    padding-left: 1px;
}
.notifIcon .notifFooter{
  padding:5px 15px;
  height:30PX;
  border-radius: 0px 0px 3px 3px; 
}
.notification-box{
  padding: 10px 15px;
  border: 1px solid #eee;
  box-shadow: 0px -2px 1px -1px #c1c1c1;
}
@media (max-width: 640px) {
    .notifIcon .dropdown-menu{
      top: 50px;
      left: -16px;  
      width: 290px;
    } 
}
.lectures li a span:hover{
	text-decoration:underline;
}
.assignments-list{
	max-height:200px;
}
.assignments-list i.fa-check, .assignments-list a{
	color:#298ce0 !important;
}

/* Subject Cards */
.subject-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 15px;
}
.subject-card {
	display: block;
	border-radius: 12px;
	padding: 14px 16px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	border-top: 1px solid rgba(255,255,255,0.8);
	transition: all .25s cubic-bezier(.4,0,.2,1);
}
.subject-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 15px rgba(0,0,0,0.08);
	text-decoration: none;
}
.subject-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.subject-card-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 6px rgba(0,0,0,0.06);
	font-size: 15px;
}
.subject-card-info {
	flex: 1;
	min-width: 0;
}
.subject-card-info h5 {
	margin: 0;
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
	word-break: break-word;
	overflow-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.subject-card-info span {
	font-size: 10px;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	display: block;
}
.subject-card-arrow {
	color: #cbd5e1;
	transition: all .25s;
}
.subject-card:hover .subject-card-arrow {
	color: #298ce0;
	transform: translateX(4px);
}
.subject-card-marks {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(0,0,0,0.06);
}
.subject-card-mark-row {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	margin-bottom: 3px;
}
.subject-card-mark-row .mark-type {
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	font-size: 10px;
}
.subject-card-mark-row .mark-value {
	font-weight: 700;
	color: #298ce0;
}
.subject-grad-0 { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); border-left: 4px solid #0ea5e9; }
.subject-grad-1 { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-left: 4px solid #10b981; }
.subject-grad-2 { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border-left: 4px solid #f59e0b; }
.subject-grad-3 { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%); border-left: 4px solid #f43f5e; }
.subject-grad-4 { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); border-left: 4px solid #6366f1; }

/* This Week's Schedule */
.week-timeline {
	padding: 10px 5px;
}
.week-timeline-item {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
	position: relative;
}
.week-timeline-item:last-child {
	margin-bottom: 0;
}
.week-timeline-item:not(:last-child):after {
	content: '';
	position: absolute;
	top: 14px;
	left: 4px;
	width: 2px;
	height: calc(100% + 2px);
	background: #e2e8f0;
}
.week-timeline-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #298ce0;
	margin-top: 4px;
	flex-shrink: 0;
	box-shadow: 0 0 0 2px #dbeafe;
}
.week-timeline-content strong {
	font-size: 13px;
	color: #1e293b;
}
.week-timeline-content .text-muted {
	font-size: 12px;
}



/* ==========================================================================
   SUBJECT.VUE STYLES
   ========================================================================== */
.subject-title {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
}

.student-profile-meta {
	margin: 0;
	color: var(--ds-text-muted, #4a5568);
	font-size: 13px;
}

.student-profile-section-title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ds-text, #2d3748);
}

.section-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.section-header-row .student-profile-section-title {
	margin-bottom: 0;
}

.month-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.month-nav-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ds-text, #2d3748);
	min-width: 120px;
	text-align: center;
}

.section-filter-row {
	position: relative;
	margin-bottom: 12px;
	max-width: 320px;
}

.section-filter-row .fa-search {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ds-text-muted, #a0aec0);
	font-size: 12px;
	pointer-events: none;
}

.section-filter-row input {
	padding-left: 28px;
}

.active-row {
	background: var(--ds-accent-tint, rgba(67, 213, 177, 0.14)) !important;
}

/* Same bound as .iris-scroll-container in classroomdashboard's
   SubjectNotebooks.vue - Schedule/Lecture Attachments are the two lists here
   with no natural cap, so without this they just grow the page forever. */
.scroll-container {
	max-height: 250px;
	overflow-y: auto;
}

.scroll-container thead th {
	position: sticky;
	top: 0;
	background: var(--ds-surface, #fff);
	z-index: 1;
}

.paper-links {
	display: flex;
	gap: 6px;
}

/* ==========================================================================
   SCHEDULE.VUE & LECTURE DETAIL STYLES (COMMON DESIGN SYSTEM)
   ========================================================================== */
.schedule-page-container,
.schedule-page {
	padding: 16px 20px 48px;
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Schedule Hero Banner */
.schedule-hero-banner,
.schedule-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, var(--ds-accent-dark, #0d9488) 0%, #0f766e 60%, #115e59 100%);
	border-radius: var(--ds-radius-lg, 16px);
	padding: 24px 28px;
	color: #ffffff;
	box-shadow: var(--ds-shadow-card, 0 4px 12px rgba(0, 0, 0, 0.08));
	position: relative;
	overflow: hidden;
	flex-wrap: wrap;
	gap: 16px;
}

.schedule-hero-banner::before,
.schedule-hero::before {
	content: '';
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 180px;
	height: 180px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero-left-wrap,
.schedule-hero-left {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 260px;
}

.schedule-hero-icon {
	width: 52px;
	height: 52px;
	border-radius: var(--ds-radius-md, 12px);
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-text-block,
.schedule-hero-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hero-badges-strip,
.schedule-hero-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 2px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: var(--ds-radius-pill, 999px);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.badge-academic {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.badge-class {
	background: #ecfdf5;
	color: #065f46;
}


.hero-heading {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.hero-description {
	margin: 0;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.4;
}

.hero-right-actions {
	flex-shrink: 0;
}

.btn-hero-syllabus,
.btn-hero-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: var(--ds-radius-pill, 999px);
	background: #ffffff;
	color: var(--ds-accent-dark, #0d9488);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
}

.btn-hero-syllabus:hover,
.btn-hero-download:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	color: var(--ds-accent-dark, #0d9488);
}

/* Schedule Card Base */
.schedule-card {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-lg, 16px);
	box-shadow: var(--ds-shadow-card, 0 1px 3px rgba(0, 0, 0, 0.04));
}

/* Selector Card */
.selector-card {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.selector-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.selector-form-row.single-field {
	grid-template-columns: 1fr;
}

.custom-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.field-label-text {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ds-text, #475569);
	display: flex;
	align-items: center;
	gap: 6px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin: 0;
}

.field-label-text i {
	color: var(--ds-accent-dark, #0d9488);
}

/* Assigned Faculty Strip */
.assigned-faculty-strip,
.schedule-faculty-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	background: var(--ds-accent-tint, #f0fdfa);
	border: 1px solid var(--ds-border, #ccfbf1);
	border-radius: var(--ds-radius-md, 12px);
	flex-wrap: wrap;
	gap: 12px;
}

.faculty-info-left,
.schedule-faculty-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.faculty-avatar-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ds-accent-dark, #0d9488);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.faculty-meta,
.schedule-faculty-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.faculty-label,
.schedule-faculty-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ds-accent-dark, #0f766e);
}

.faculty-name,
.schedule-faculty-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
}

.btn-faculty-profile {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border-radius: var(--ds-radius-pill, 999px);
	background: #ffffff;
	border: 1px solid var(--ds-border, #99f6e4);
	color: var(--ds-accent-dark, #0f766e);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-faculty-profile:hover {
	background: var(--ds-accent-dark, #0f766e);
	color: #ffffff;
	border-color: var(--ds-accent-dark, #0f766e);
}

/* State Cards */
.schedule-state-card {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-lg, 16px);
	padding: 50px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.state-icon-box {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-text-muted, #64748b);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	margin-bottom: 4px;
}

.state-icon-box.amber-bubble {
	background: #fffbeb;
	color: #d97706;
}

.schedule-state-card h4 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
}

.schedule-state-card p {
	margin: 0;
	font-size: 13.5px;
	max-width: 480px;
}

/* Stats Overview Strip */
.schedule-stats-strip,
.schedule-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.stat-pill-box,
.schedule-stat-card {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 14px);
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	box-shadow: var(--ds-shadow-card, 0 1px 3px rgba(0, 0, 0, 0.03));
	transition: transform 0.15s ease;
}

.stat-pill-box:hover,
.schedule-stat-card:hover {
	transform: translateY(-2px);
}

.stat-pill-box.stat-active-week,
.schedule-stat-card.active-week-card {
	border-color: #a7f3d0;
	background: #f0fdf4;
}

.stat-icon-wrap,
.schedule-stat-icon {
	width: 42px;
	height: 42px;
	border-radius: var(--ds-radius-md, 12px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	flex-shrink: 0;
}

.icon-teal { background: #ccfbf1; color: #0f766e; }
.icon-amber { background: #fef3c7; color: #b45309; }
.icon-emerald { background: #d1fae5; color: #065f46; }
.icon-purple { background: #ede9fe; color: #6d28d9; }

.stat-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.stat-value,
.schedule-stat-val {
	font-size: 16px;
	font-weight: 800;
	color: var(--ds-text, #0f172a);
	line-height: 1.2;
}

.stat-caption,
.schedule-stat-lbl {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ds-text-muted, #64748b);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Content Card & Toolbar */
.content-card {
	padding: 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.schedule-interactive-toolbar,
.schedule-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ds-border, #e2e8f0);
}

.month-controls-cluster,
.schedule-toolbar .month-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.btn-month-step,
.btn-month-nav {
	width: 32px;
	height: 32px;
	border-radius: var(--ds-radius-sm, 8px);
	border: 1px solid var(--ds-border, #cbd5e1);
	background: var(--ds-surface, #ffffff);
	color: var(--ds-text, #334155);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 12px;
	transition: all 0.15s ease;
}

.btn-month-step:hover:not(:disabled),
.btn-month-nav:hover:not(:disabled) {
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-accent-dark, #0f766e);
	border-color: var(--ds-accent-dark, #0f766e);
}

.btn-month-step:disabled,
.btn-month-nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.month-pill-indicator,
.month-pill-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ds-bg, #f8fafc);
	border: 1px solid var(--ds-border, #e2e8f0);
	padding: 6px 14px;
	border-radius: var(--ds-radius-pill, 999px);
}

.month-title-text {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
	letter-spacing: -0.01em;
	user-select: none;
}

.btn-jump-current-month,
.btn-today-jump {
	padding: 5px 12px;
	border-radius: var(--ds-radius-pill, 999px);
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-jump-current-month:hover,
.btn-today-jump:hover {
	background: #10b981;
	color: #ffffff;
}

.btn-syllabus-download {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: var(--ds-radius-pill, 999px);
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
}

.btn-syllabus-download:hover {
	background: #10b981;
	color: #ffffff;
	border-color: #10b981;
}

.schedule-search-container,
.schedule-search-wrap {
	position: relative;
	flex: 1;
	max-width: 340px;
	min-width: 220px;
}

.search-lens-icon,
.schedule-search-wrap .fa-search {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ds-text-faint, #94a3b8);
	font-size: 13px;
	pointer-events: none;
}

.schedule-search-field,
.schedule-search-wrap input {
	padding-left: 34px !important;
	padding-right: 32px !important;
	height: 36px;
	border-radius: var(--ds-radius-pill, 999px) !important;
	border: 1px solid var(--ds-border, #cbd5e1) !important;
	background: var(--ds-bg, #f8fafc) !important;
	font-size: 13px !important;
	transition: all 0.2s ease;
}

.schedule-search-field:focus,
.schedule-search-wrap input:focus {
	background: #ffffff !important;
	border-color: var(--ds-accent-dark, #0d9488) !important;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}

.btn-clear-query,
.btn-clear-search-query {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: var(--ds-text-faint, #94a3b8);
	cursor: pointer;
	font-size: 13px;
}

.btn-clear-query:hover,
.btn-clear-search-query:hover {
	color: var(--ds-text, #334155);
}

.view-mode-switch,
.schedule-view-switcher {
	display: inline-flex;
	background: var(--ds-bg, #f1f5f9);
	border-radius: 10px;
	padding: 3px;
	border: 1px solid var(--ds-border, #e2e8f0);
}

.btn-toggle-option,
.schedule-view-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 8px;
	border: none;
	background: transparent;
	color: var(--ds-text-muted, #64748b);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-toggle-option.active,
.schedule-view-btn.active {
	background: #ffffff;
	color: var(--ds-accent-dark, #0f766e);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	font-weight: 700;
}

/* Empty notices */
.empty-notice-block {
	padding: 40px 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.empty-icon-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ds-bg, #f8fafc);
	border: 1px solid var(--ds-border, #e2e8f0);
	color: var(--ds-text-faint, #94a3b8);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 4px;
}

.empty-notice-block h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--ds-text, #1e293b);
}

.empty-notice-block p {
	margin: 0;
	font-size: 13.5px;
	color: var(--ds-text-muted, #64748b);
	max-width: 440px;
}

.btn-empty-action {
	margin-top: 10px;
	padding: 7px 16px;
	border-radius: var(--ds-radius-pill, 999px);
	background: var(--ds-bg, #f1f5f9);
	border: 1px solid var(--ds-border, #cbd5e1);
	color: var(--ds-text, #334155);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
}

.btn-empty-action:hover {
	background: #e2e8f0;
	color: var(--ds-text, #0f172a);
}

.search-hint-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
	flex-wrap: wrap;
	justify-content: center;
}

.other-months-note {
	font-size: 12px;
	color: var(--ds-text-muted, #64748b);
	font-style: italic;
}

/* Cards View Grid */
.cards-view-grid,
.schedule-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
}

.lecture-card,
.schedule-topic-card {
	background: var(--ds-surface, #ffffff);
	border: 1.5px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 14px);
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.lecture-card:hover,
.schedule-topic-card:hover {
	border-color: var(--ds-accent, #43d5b1);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

.lecture-card.current-week-card,
.schedule-topic-card.current-week-card {
	border-color: var(--ds-accent-dark, #0d9488);
	background: var(--ds-accent-tint, #f0fdfa);
	box-shadow: 0 4px 16px -2px rgba(13, 148, 136, 0.15);
}

.card-meta-strip,
.topic-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.meta-strip-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.week-number-pill,
.topic-week-badge {
	font-size: 11.5px;
	font-weight: 700;
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-text, #334155);
	padding: 2px 8px;
	border-radius: 6px;
	border: 1px solid var(--ds-border, #e2e8f0);
}

.current-week-card .week-number-pill,
.current-week-card .topic-week-badge {
	background: #ccfbf1;
	color: #0f766e;
	border-color: #99f6e4;
}

.live-current-pill,
.topic-current-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
	background: #ecfdf5;
	color: #065f46;
	padding: 2px 8px;
	border-radius: var(--ds-radius-pill, 999px);
	border: 1px solid #a7f3d0;
}

.pulse-indicator-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
	animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
	0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
	70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
	100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.date-range-tag,
.topic-date-range {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ds-text-muted, #64748b);
}

.card-title-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lecture-card-title,
.topic-card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
	line-height: 1.35;
}

.lecture-desc-preview,
.topic-card-desc {
	margin: 0;
	font-size: 12.5px;
	color: var(--ds-text-muted, #64748b);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.card-footer-strip,
.topic-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 10px;
	border-top: 1px solid var(--ds-border, #f1f5f9);
	gap: 10px;
}

.footer-tags-cluster {
	display: flex;
	align-items: center;
	gap: 6px;
}

.footer-chip,
.topic-resource-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 6px;
}

.chip-has-materials {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.chip-needs-material {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
}

.btn-card-details,
.btn-topic-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	background: transparent;
	color: var(--ds-accent-dark, #0f766e);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 6px;
	border-radius: 6px;
	transition: all 0.15s ease;
}

.btn-card-details:hover,
.btn-topic-action:hover {
	background: var(--ds-accent-tint, #ccfbf1);
	color: var(--ds-accent-dark, #0d9488);
}

/* Table View */
.schedule-table-container {
	border-radius: var(--ds-radius-md, 12px);
	border: 1px solid var(--ds-border, #e2e8f0);
	overflow: hidden;
}

.schedule-data-table {
	margin-bottom: 0;
	background: var(--ds-surface, #ffffff);
}

.schedule-data-table thead th {
	background: var(--ds-bg, #f8fafc);
	color: var(--ds-text, #475569);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 12px 16px;
	border-bottom: 1px solid var(--ds-border, #e2e8f0);
	vertical-align: middle;
}

.schedule-data-table tbody tr {
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.schedule-data-table tbody tr:hover {
	background-color: var(--ds-bg, #f8fafc);
}

.schedule-data-table tbody tr.table-row-active,
tr.current-week, tr.table-row-active {
	background-color: var(--ds-accent-tint, #f0fdfa) !important;
}

.schedule-data-table tbody td {
	padding: 12px 16px;
	vertical-align: middle;
	border-top: 1px solid var(--ds-border, #f1f5f9);
}

.table-week-cell {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--ds-bg, #f1f5f9);
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ds-text, #334155);
}

.table-week-cell.is-active-week {
	background: #ccfbf1;
	color: #0f766e;
	border: 1px solid #99f6e4;
}

.active-pulse-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
}

.table-dates-cell {
	font-size: 13px;
	color: var(--ds-text, #334155);
	font-weight: 600;
}

.table-topic-title {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
}

.table-topic-desc {
	font-size: 12px;
	color: var(--ds-text-muted, #64748b);
	margin-top: 2px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.status-icon-badge {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}

.badge-has-content {
	background: #eff6ff;
	color: #2563eb;
}

.badge-missing-content {
	background: #fffbeb;
	color: #d97706;
}

.btn-table-action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 6px;
	border: 1px solid var(--ds-border, #cbd5e1);
	background: var(--ds-surface, #ffffff);
	color: var(--ds-accent-dark, #0f766e);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-table-action:hover {
	background: var(--ds-accent-dark, #0f766e);
	color: #ffffff;
	border-color: var(--ds-accent-dark, #0f766e);
}

/* ==========================================================================
   LECTURE DETAIL MODAL (COMMON DESIGN SYSTEM)
   ========================================================================== */
.modal-fade-enter-active, .modal-fade-leave-active {
	transition: opacity 0.2s ease;
}

.modal-fade-enter-from, .modal-fade-leave-to {
	opacity: 0;
}

.lecture-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.lecture-modal-dialog {
	position: relative;
	background: var(--ds-surface, #ffffff);
	border-radius: var(--ds-radius-lg, 20px);
	width: 100%;
	max-width: 620px;
	max-height: 90vh;
	box-shadow: var(--ds-shadow-modal, 0 25px 50px -12px rgba(0, 0, 0, 0.35));
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.lecture-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	background: var(--ds-surface, #ffffff);
	border-bottom: 1px solid var(--ds-border, #e2e8f0);
	flex-shrink: 0;
}

.modal-header-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-icon-bubble {
	width: 42px;
	height: 42px;
	border-radius: var(--ds-radius-md, 12px);
	background: linear-gradient(135deg, var(--ds-accent-dark, #0d9488) 0%, #0f766e 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.modal-title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
	line-height: 1.2;
}

.modal-subtitle {
	font-size: 12.5px;
	color: var(--ds-text-muted, #64748b);
	font-weight: 500;
}

.btn-modal-close {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--ds-border, #e2e8f0);
	background: var(--ds-bg, #f8fafc);
	color: var(--ds-text-muted, #64748b);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.15s ease;
	font-size: 14px;
}

.btn-modal-close:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
	transform: rotate(90deg);
}

.lecture-modal-loading,
.lecture-modal-error {
	padding: 60px 24px;
	text-align: center;
}

.loading-spinner-ring {
	margin-bottom: 14px;
}

.loading-text {
	color: var(--ds-text-muted, #64748b);
	font-size: 14px;
	margin: 0;
}

.error-icon-box {
	margin-bottom: 14px;
}

.btn-retry {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: var(--ds-bg, #f1f5f9);
	border: 1px solid var(--ds-border, #cbd5e1);
	border-radius: var(--ds-radius-sm, 8px);
	color: var(--ds-text, #334155);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 12px;
	transition: all 0.15s;
}

.btn-retry:hover {
	background: #e2e8f0;
	color: var(--ds-text, #0f172a);
}

.lecture-modal-body {
	flex: 1;
	overflow-y: auto;
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--ds-bg, #f8fafc);
}

.lecture-single-card {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 14px);
	padding: 20px 22px;
	box-shadow: var(--ds-shadow-card, 0 1px 3px rgba(0, 0, 0, 0.03));
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lecture-detail-hero {
	display: flex;
	flex-direction: column;
}

.lecture-card-divider {
	height: 1px;
	background: var(--ds-border, #e2e8f0);
	margin: 0;
	border: none;
}

.lecture-detail-section {
	display: flex;
	flex-direction: column;
}

.topic-hero-card {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 14px);
	padding: 18px 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.topic-chips-strip {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.topic-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: var(--ds-radius-pill, 999px);
}

.chip-week {
	background: #ccfbf1;
	color: #0f766e;
	border: 1px solid #99f6e4;
}

.chip-date {
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-text, #334155);
	border: 1px solid var(--ds-border, #e2e8f0);
}

.chip-subject {
	background: #e0e7ff;
	color: #3730a3;
	border: 1px solid #c7d2fe;
}

.topic-heading {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--ds-text, #0f172a);
	line-height: 1.35;
}

.topic-meta-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 8px;
	border-top: 1px solid var(--ds-border, #f1f5f9);
}

.teacher-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	color: var(--ds-text, #475569);
}

.teacher-chip i {
	color: var(--ds-accent-dark, #0d9488);
}

.modal-section-box {
	background: var(--ds-surface, #ffffff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 14px);
	padding: 18px 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.section-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.section-title-left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-heading {
	font-size: 14px;
	font-weight: 700;
	color: var(--ds-text, #1e293b);
}

.count-pill {
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-text, #475569);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-pill, 999px);
	font-size: 11px;
	font-weight: 700;
	padding: 1px 8px;
}

.files-grid {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
}

.file-card-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--ds-bg, #f8fafc);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-sm, 10px);
	padding: 8px 12px;
	transition: all 0.15s ease;
}

.file-card-item:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.file-card-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.file-icon-badge {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
}

.file-color-pdf { background: #fee2e2; color: #dc2626; }
.file-color-word { background: #dbeafe; color: #2563eb; }
.file-color-ppt { background: #ffedd5; color: #ea580c; }
.file-color-audio { background: #ede9fe; color: #7c3aed; }
.file-color-video { background: #fae8ff; color: #c026d3; }
.file-color-default { background: #e2e8f0; color: #475569; }

.file-meta-info {
	min-width: 0;
	flex: 1;
}

.file-name-link {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ds-accent-dark, #0f766e);
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.file-name-link:hover {
	text-decoration: underline;
	color: var(--ds-accent-dark, #0d9488);
}

.file-ext-tag {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--ds-text-faint, #94a3b8);
	letter-spacing: 0.02em;
}

.file-card-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.btn-file-download {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: #ffffff;
	border: 1px solid var(--ds-border, #cbd5e1);
	color: var(--ds-accent-dark, #0f766e);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition: all 0.15s ease;
	text-decoration: none;
}

.btn-file-download:hover {
	background: var(--ds-accent-dark, #0f766e);
	color: #ffffff;
	border-color: var(--ds-accent-dark, #0f766e);
}

.btn-file-delete {
	width: 30px;
	height: 30px;
	border-radius: 6px;
	background: #ffffff;
	border: 1px solid #fecaca;
	color: #dc2626;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-file-delete:hover {
	background: #dc2626;
	color: #ffffff;
}

.no-files-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	background: var(--ds-bg, #f8fafc);
	border: 1px dashed var(--ds-border, #cbd5e1);
	border-radius: 10px;
	color: var(--ds-text-muted, #64748b);
	font-size: 13px;
	margin-bottom: 12px;
}

.file-upload-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.custom-file-upload {
	flex: 1;
	border: 1.5px dashed #99f6e4;
	background: #f0fdfa;
	border-radius: 10px;
	padding: 12px 16px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 0;
	display: block;
}

.custom-file-upload:hover {
	background: #ccfbf1;
	border-color: #2dd4bf;
}

.hidden-file-input {
	display: none;
}

.upload-inner {
	display: flex;
	align-items: center;
	gap: 14px;
}

.upload-icon {
	font-size: 24px;
	color: var(--ds-accent-dark, #0d9488);
	flex-shrink: 0;
}

.upload-text-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.upload-prompt-text {
	font-size: 13px;
	color: var(--ds-text, #1e293b);
}

.upload-selected-text {
	font-size: 13px;
	color: var(--ds-accent-dark, #0f766e);
}

.upload-formats-hint {
	font-size: 11px;
	color: var(--ds-text-muted, #64748b);
}

.btn-clear-file {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--ds-border, #cbd5e1);
	background: #ffffff;
	color: var(--ds-text-muted, #64748b);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 13px;
	flex-shrink: 0;
}

.btn-clear-file:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
}

.desc-editor-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lecture-desc-textarea {
	border-radius: 10px;
	border: 1px solid var(--ds-border, #cbd5e1);
	padding: 12px;
	font-size: 13.5px;
	line-height: 1.6;
	background: #ffffff;
	resize: vertical;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.lecture-desc-textarea:focus {
	border-color: var(--ds-accent-dark, #0d9488);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
	outline: none;
}

.desc-hint-text {
	font-size: 11.5px;
	color: var(--ds-text-faint, #94a3b8);
}

.student-desc-view {
	background: var(--ds-bg, #f8fafc);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: 10px;
	padding: 14px 16px;
}

.student-notes-content {
	color: var(--ds-text, #334155);
	font-size: 13.5px;
	line-height: 1.65;
	white-space: pre-wrap;
	word-break: break-word;
}

.student-no-notes {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ds-text-faint, #94a3b8);
	font-size: 13px;
	font-style: italic;
}

.lecture-modal-footer {
	padding: 14px 24px;
	background: var(--ds-surface, #ffffff);
	border-top: 1px solid var(--ds-border, #e2e8f0);
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.btn-modal-cancel {
	padding: 8px 18px;
	border-radius: var(--ds-radius-pill, 999px);
	border: 1px solid var(--ds-border, #cbd5e1);
	background: #ffffff;
	color: var(--ds-text, #475569);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s;
}

.btn-modal-cancel:hover {
	background: var(--ds-bg, #f1f5f9);
	color: var(--ds-text, #1e293b);
}

.btn-modal-save {
	display: inline-flex;
	align-items: center;
	padding: 8px 22px;
	border-radius: var(--ds-radius-pill, 999px);
	border: none;
	background: linear-gradient(135deg, var(--ds-accent-dark, #0d9488) 0%, #0f766e 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
	transition: all 0.15s;
}

.btn-modal-save:hover:not(:disabled) {
	background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
	transform: translateY(-1px);
}

.btn-modal-save:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
	.schedule-stats-strip,
	.schedule-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	.schedule-page-container,
	.schedule-page {
		padding: 12px 12px 30px;
	}
	.schedule-hero-banner,
	.schedule-hero {
		padding: 18px 16px;
	}
	.hero-heading {
		font-size: 20px;
	}
	.selector-card {
		padding: 16px;
	}
	.selector-form-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.content-card {
		padding: 16px;
	}
	.schedule-stats-strip,
	.schedule-stats-grid {
		grid-template-columns: 1fr;
	}
	.schedule-interactive-toolbar,
	.schedule-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.month-controls-cluster {
		justify-content: space-between;
	}
	.schedule-search-container,
	.schedule-search-wrap {
		max-width: 100%;
	}
	.view-mode-switch {
		justify-content: center;
	}
	.cards-view-grid,
	.schedule-cards-grid {
		grid-template-columns: 1fr;
	}
	.lecture-modal-header {
		padding: 14px 16px;
	}
	.lecture-modal-body {
		padding: 16px;
	}
	.topic-heading {
		font-size: 16px;
	}
	.lecture-modal-footer {
		padding: 12px 16px;
	}
}

/* ==========================================================================
   TIMER.VUE STYLES
   ========================================================================== */
/* Sets the containers height and width */
.base-timer {
  max-width:200px;
  position: relative;
/* Removes SVG styling that would hide the time label */
  &__circle {
    fill: none;
    stroke: none;
  }
/* The SVG path that displays the timer's progress */
  &__path-elapsed {
    stroke-width: 5px;
    stroke:grey;
  }
  &__label {
    position: absolute;    
    /* Size should match the parent container */    
    width: 194px;
    height: 200px;
    /* Keep the label aligned to the top */    
    top: 0;
    /* Create a flexible box that centers content vertically and horizontally */    
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sort of an arbitrary number; adjust to your liking */
    font-size: 23px;
  }
  &__path-remaining {
    /* Just as thick as the original ring */
    stroke-width: 7px;
    /* Rounds the line endings to create a seamless circle */
    stroke-linecap: round;
    /* Makes sure the animation starts at the top of the circle */
    transform: rotate(90deg);
    transform-origin: center;
    /* One second aligns with the speed of the countdown timer */
    transition: 1s linear all;
    /* Allows the ring to change color when the color value updates */
    fill-rule: nonzero;
    &.green {
      stroke: rgb(65, 184, 131);
    }
    &.orange {
      stroke: orange;
    }
    &.red {
      stroke: red;
    }
  }
  &__svg {
    /* Flips the svg and makes the animation to move left-to-right*/
    transform: scaleX(-1);
  }
}

/* ==========================================================================
   ALUMNILIST.VUE STYLES
   ========================================================================== */
.alumni-list-page { padding: 20px; max-width: 800px; margin: 0 auto; }
.search-row { margin-bottom: 18px; }
.search-wrap { position: relative; max-width: 400px; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ds-text-faint, #a0aec0); }
.search-input {
	width: 100%; padding: 10px 14px 10px 38px;
	border: 1px solid var(--ds-border, #e2e8f0); border-radius: var(--ds-radius-pill, 999px);
	font-size: 14px; outline: none;
}
.search-input:focus { border-color: var(--ds-accent, #43d5b1); }

.alumni-list { display: flex; flex-direction: column; gap: 10px; }
.alumni-card {
	display: flex; gap: 14px; align-items: center;
	background: var(--ds-surface, #fff); border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 12px); padding: 14px;
}
.alumni-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.alumni-info { flex: 1; }
.alumni-name { font-weight: 700; font-size: 16px; }
.alumni-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ds-text-faint, #a0aec0); margin-top: 4px; }
.alumni-socials { display: flex; gap: 8px; margin-top: 8px; }
.social-btn {
	width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; border: none; cursor: pointer; text-decoration: none; font-size: 13px;
}
.social-btn.email { background: var(--ds-accent, #43d5b1); }
.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #55acee; }
.social-btn.linkedin { background: #007bb6; }

.list-end-marker, .list-empty-state { text-align: center; padding: 20px; color: var(--ds-text-faint, #a0aec0); font-size: 13px; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   TOPPERDETAIL.VUE STYLES
   ========================================================================== */
@import "../../css/gallery_common.css";

.topper-card {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.topper-img-wrap {
	height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
}
.topper-img-wrap img {
	max-height: 100%;
	object-fit: contain;
}
.topper-desc {
	padding: 15px 10px;
	background: #f9f9f9;
	border-top: 1px solid #eee;
}
.topper-desc h4 {
	font-weight: 800;
	color: #1e293b;
	font-size: 15px;
	margin-bottom: 10px;
}
.topper-meta {
	border-top: 1px dotted #ccc;
	padding-top: 8px;
}
.topper-class { font-weight: 700; color: #475569; margin: 2px 0; }
.topper-position { font-weight: 800; color: #10a984; margin: 2px 0; font-size: 13px; }
.topper-percent {
	font-weight: 900;
	color: #f61755;
	margin: 5px 0 0 0;
	font-size: 16px;
	background: rgba(246, 23, 85, 0.05);
	display: inline-block;
	padding: 2px 12px;
	border-radius: 50px;
}

/* ==========================================================================
   EXAMUPLOADS.VUE STYLES
   ========================================================================== */
.exam-uploads-page {
	padding: 20px;
	max-width: 1100px;
	margin: 0 auto;
}
.page-hero { margin-bottom: 18px; }
.page-hero h2 { margin: 0 0 4px 0; font-weight: 800; color: var(--ds-text); }
.page-hero p { margin: 0; color: var(--ds-text-faint); font-size: 13px; }
tr.highlighted {
	background: var(--ds-accent-tint, rgba(67, 213, 177, 0.14));
}
.upload-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 10px;
}

.drawer-overlay {
	position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000;
}
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   SPECTRUM.VUE STYLES
   ========================================================================== */
.spectrum-page { padding: 20px; max-width: 800px; margin: 0 auto; }
.page-hero { margin-bottom: 18px; }
.page-hero h2 { margin: 0 0 4px 0; font-weight: 800; color: var(--ds-text, #2d3748); }
.page-hero p { margin: 0; color: var(--ds-text-faint, #a0aec0); font-size: 13px; }

.spectrum-list { display: flex; flex-direction: column; gap: 10px; }
.spectrum-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--ds-surface, #fff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 12px);
	padding: 14px 16px;
	text-decoration: none;
	transition: box-shadow 0.2s, transform 0.2s;
}
.spectrum-card:hover {
	box-shadow: var(--ds-shadow-hover, 0 10px 20px rgba(0,0,0,0.1));
	transform: translateY(-1px);
	text-decoration: none;
}
.spectrum-icon {
	width: 44px; height: 44px; min-width: 44px;
	border-radius: 50%;
	background: var(--ds-accent-tint, rgba(67, 213, 177, 0.14));
	color: var(--ds-accent-dark, #2fb996);
	display: flex; align-items: center; justify-content: center;
	font-size: 18px;
}
.spectrum-info { flex: 1; }
.spectrum-title { font-weight: 700; color: var(--ds-text, #2d3748); }
.spectrum-year { font-size: 12px; color: var(--ds-text-faint, #a0aec0); }
.spectrum-download-icon { color: var(--ds-text-faint, #a0aec0); transition: color 0.2s; }
.spectrum-card:hover .spectrum-download-icon,
.spectrum-card:focus-visible .spectrum-download-icon { color: var(--ds-accent-dark, #2fb996); }

.list-end-marker { text-align: center; padding: 20px; color: var(--ds-text-faint, #a0aec0); font-size: 13px; }
.list-empty-state { text-align: center; padding: 50px 0; color: var(--ds-text-faint, #a0aec0); }
.list-empty-state i { font-size: 40px; margin-bottom: 12px; }

/* ==========================================================================
   ALUMNIREGISTRATIONSMANAGER.VUE STYLES
   ========================================================================== */
.alumni-reg-page { padding: 20px; max-width: 900px; margin: 0 auto; }
.back-link { display: inline-block; color: var(--ds-accent-dark, #2fb996); font-size: 13px; font-weight: 600; margin-bottom: 12px; cursor: pointer; }
.registration-list { display: flex; flex-direction: column; gap: 10px; }
.reg-card {
	display: flex; gap: 14px; align-items: center;
	background: var(--ds-surface, #fff); border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-md, 12px); padding: 14px;
}
.reg-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.reg-info { flex: 1; }
.reg-name-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.reg-name { font-weight: 700; font-size: 16px; }
.reg-actions { display: flex; gap: 8px; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.reg-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ds-text-faint, #a0aec0); margin-top: 4px; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   ALUMNIPROFILE.VUE STYLES
   ========================================================================== */
.alumni-profile-page { padding: 20px; max-width: 700px; margin: 0 auto; }
.profile-grid { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: start; }
.profile-photo { width: 100%; border-radius: var(--ds-radius-lg, 16px); object-fit: cover; }
.profile-name { margin: 0 0 14px 0; font-weight: 800; color: var(--ds-text, #2d3748); }
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
	width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; border: none; cursor: pointer; text-decoration: none; font-size: 15px;
}
.social-btn.email { background: var(--ds-accent, #43d5b1); }
.social-btn.facebook { background: #3b5998; }
.social-btn.twitter { background: #55acee; }
.social-btn.linkedin { background: #007bb6; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

@media (max-width: 600px) { .profile-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TOPPERSCATEGORYMANAGER.VUE STYLES
   ========================================================================== */
.toppers-category-page { padding: 20px; max-width: 900px; margin: 0 auto; }
.back-link {
	display: inline-block;
	color: var(--ds-accent-dark, #2fb996);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
	cursor: pointer;
}
.page-hero { margin-bottom: 18px; }
.page-hero h2 { margin: 0 0 4px 0; font-weight: 800; color: var(--ds-text); }
.page-hero p { margin: 0; color: var(--ds-text-faint); font-size: 13px; }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   GALLERYMANAGER.VUE STYLES
   ========================================================================== */
@import "../../css/gallery_common.css";

.admin-card {
  height: 280px;
}

.admin-card .image-wrapper {
  height: 150px;
}

.create-album-card {
  min-height: 272px;
  justify-content: center;
  align-items: center;
  background: #fdfdfd;
  border: 2px dashed #ccc;
  box-shadow: none;
}

.create-album-card i {
  margin-bottom: 10px;
  color: #999;
}

.create-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #777;
}

/* ==========================================================================
   CONFIGMANAGER.VUE STYLES
   ========================================================================== */
.config-page { padding: 20px; max-width: 1100px; margin: 0 auto; }
.toolbar-row { display: flex; gap: 10px; justify-content: flex-end; }

.config-editor { min-width: 360px; }
.config-editor .btn-sm { margin-bottom: 6px; padding: 4px 10px; font-size: 12px; }
.config-quill { background: #fff; }
.config-quill .ql-editor { min-height: 180px; }

.config-html-preview {
  margin-top: 6px; padding: 8px 10px;
  background: #fbfbfd; border: 1px dashed var(--ds-border, #ddd); border-radius: 4px;
  font-size: 13px; color: var(--ds-text, #333); word-break: break-word;
}
.config-html-preview > *:first-child { margin-top: 0; }
.config-html-preview > *:last-child { margin-bottom: 0; }
.config-html-preview img { max-width: 100%; height: auto; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   NEWSMANAGER.VUE STYLES
   ========================================================================== */
.news-manager-page { padding: 20px; max-width: 900px; margin: 0 auto; }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; }
.descColumn { width: 55%; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.5); z-index: 1000; }
.edit-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 100%;
	background: var(--ds-surface); box-shadow: var(--ds-shadow-modal); z-index: 1001;
	display: flex; flex-direction: column;
}
.drawer-header {
	display: flex; align-items: center; gap: 12px; padding: 20px;
	background: linear-gradient(135deg, var(--ds-accent), var(--ds-accent-dark)); color: #fff;
}
.drawer-header-text { flex: 1; }
.drawer-header-text h3 { margin: 0; font-size: 16px; font-weight: 700; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 18px; opacity: 0.85; cursor: pointer; }
.drawer-close:hover { opacity: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.drawer-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--ds-border); }
.drawer-fade-enter-active, .drawer-fade-leave-active { transition: opacity 0.2s ease; }
.drawer-fade-enter-from, .drawer-fade-leave-to { opacity: 0; }
.drawer-slide-enter-active, .drawer-slide-leave-active { transition: transform 0.25s ease; }
.drawer-slide-enter-from, .drawer-slide-leave-to { transform: translateX(100%); }

/* ==========================================================================
   MYPROFILE.VUE STYLES
   ========================================================================== */
.my-profile-page { padding: 20px; max-width: 900px; margin: 0 auto; }
.profile-grid { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.section-title { margin-top: 0; color: var(--ds-text, #2d3748); }
.profile-photo-wrap { width: 150px; height: 150px; margin: 10px auto 16px; }
.profile-photo {
	width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
	border: 4px solid var(--ds-bg, #f9fbfb);
	box-shadow: var(--ds-shadow-card, 0 2px 12px rgba(0,0,0,0.08));
}
.hide-input { display: none; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds-hint-banner {
	background: var(--ds-accent-tint, rgba(67,213,177,0.14));
	color: var(--ds-accent-dark, #2fb996);
	padding: 10px 14px;
	border-radius: var(--ds-radius-md, 12px);
	font-size: 13px;
	margin-top: 10px;
}

@media (max-width: 700px) {
	.profile-grid { grid-template-columns: 1fr; }
	.row-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TOPPERSLIST.VUE STYLES
   ========================================================================== */
.page-content { background: transparent; }
.search-group { box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 50px; overflow: hidden; border: 1px solid #e2e8f0; }
.topper-search { height: 50px; border: none; font-size: 15px; padding-left: 15px; }

.category-gallery { position: relative; padding-left: 20px; }
.topper-list-item {
    position: relative; background: #fff; padding: 14px 24px; margin-bottom: 15px;
    border-radius: 12px; border: 1px solid #f1f5f9; box-shadow: 0 2px 8px rgba(0,0,0,0.01);
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.3s ease; cursor: pointer;
}
.item-left { display: flex; align-items: center; text-align: left; }
.topper-list-item:hover { transform: translateX(8px); border-color: var(--ds-accent, #43d5b1); box-shadow: 0 6px 20px var(--ds-accent-tint, rgba(67,213,177,0.15)); }
.item-icon {
    width: 42px; height: 42px; background: var(--ds-accent-tint, #f0fdfa); color: var(--ds-accent-dark, #2fb996); border: 2px solid var(--ds-accent, #43d5b1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 20px;
}
.item-content h3 { margin: 0; font-weight: 800; color: #1e293b; font-size: 17px; }
.item-content p { margin: 5px 0 0 0; font-size: 13px; color: #64748b; font-weight: 600; }
.view-action { padding: 8px 20px; border-radius: 50px; background: var(--ds-accent, #43d5b1); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; }

.huge-icon { font-size: 60px; color: #e2e8f0; margin-bottom: 20px; }
.empty-state { padding: 50px 20px; }

/* ==========================================================================
   COMPOSEMESSAGEMODAL.VUE STYLES
   ========================================================================== */
.cmm-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1050;
	display: flex;
	justify-content: center;
	overflow-y: auto;
	padding: 8vh 12px;
}

.cmm-dialog {
	width: 100%;
	max-width: 520px;
	height: fit-content;
}

.modal-content {
	border-radius: var(--ds-radius-md, 8px);
}

/* ==========================================================================
   TEACHERPROFILE.VUE STYLES
   ========================================================================== */
.teacher-profile-page { padding: 20px; max-width: 1000px; margin: 0 auto; }
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
.profile-photo-wrap { position: relative; }
.profile-photo {
	width: 150px; height: 150px; border-radius: 50%; object-fit: cover;
	border: 4px solid var(--ds-bg, #f9fbfb);
	box-shadow: var(--ds-shadow-card, 0 2px 12px rgba(0,0,0,0.08));
}
.hide-input { display: none; }
.profile-name { margin: 14px 0 2px 0; font-weight: 800; color: var(--ds-accent-dark, #2fb996); }
.profile-designation { color: var(--ds-text-faint, #a0aec0); margin: 0 0 10px 0; }
.profile-meta { text-align: left; padding: 10px 0 0; border-top: 1px solid var(--ds-border, #e2e8f0); margin-top: 10px; font-size: 13px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-block { margin-bottom: 20px; }
.detail-block h6 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ds-text-faint, #a0aec0); margin-bottom: 8px; }
.detail-block ul { list-style: none; padding-left: 10px; border-left: 3px solid var(--ds-border, #e2e8f0); margin: 0; }
.detail-block li { margin-bottom: 5px; }

@media (max-width: 700px) {
	.profile-grid { grid-template-columns: 1fr; }
	.row-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SUBJECTLIST.VUE STYLES
   ========================================================================== */
.subject-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
}

.student-profile-meta {
	margin: 0;
	color: var(--ds-text-muted, #4a5568);
	font-size: 13px;
}

.subject-name {
	font-weight: 600;
}

.subject-teacher {
	font-size: 13px;
}

/* ==========================================================================
   ALUMNIADMINMENU.VUE STYLES
   ========================================================================== */
.alumni-menu-page { padding: 20px; max-width: 900px; margin: 0 auto; }
.page-title { font-weight: 800; color: var(--ds-text, #2d3748); margin-bottom: 18px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.menu-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: var(--ds-surface, #fff);
	border: 1px solid var(--ds-border, #e2e8f0);
	border-radius: var(--ds-radius-lg, 16px);
	padding: 30px 15px;
	color: var(--ds-text, #2d3748);
	text-decoration: none;
	transition: box-shadow 0.2s, transform 0.2s;
}
.menu-tile:hover { box-shadow: var(--ds-shadow-hover, 0 10px 20px rgba(0,0,0,0.1)); transform: translateY(-2px); text-decoration: none; color: var(--ds-accent-dark, #2fb996); }
.menu-tile i { font-size: 28px; color: var(--ds-accent, #43d5b1); }
.menu-tile span { font-weight: 600; font-size: 13px; text-align: center; }

/* ==========================================================================
   GLOBAL INFINITE LOADING & EMPTY STATES ALIGNMENT
   ========================================================================== */

.v3-infinite-loading,
.infinite-loading,
.infinite-loader-custom {
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 12px 8px !important;
	margin: 0 auto !important;
	box-sizing: border-box !important;
	color: #64748b !important;
	font-size: 12px !important;
}

.chat-infinite-loading,
.infinite-loader-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 12px;
	color: #64748b;
	font-size: 12px;
	font-weight: 500;
	width: 100%;
	text-align: center;
}

.chat-infinite-loading i,
.infinite-loader-wrap i {
	color: #0284c7;
	font-size: 14px;
}

.chat-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 16px;
	text-align: center;
	width: 100%;
	margin: auto 0;
}

.empty-icon-bubble {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #e0f2fe;
	color: #0284c7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin: 0 auto 12px;
}

.chat-empty-state h5 {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px;
	text-align: center;
}

.chat-empty-state p {
	font-size: 12px;
	color: #64748b;
	max-width: 240px;
	line-height: 1.45;
	margin: 0 auto;
	text-align: center;
}

.chat-no-more,
.list-end-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 16px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 500;
	text-align: center;
	width: 100%;
}

.chat-empty-search {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 16px;
	text-align: center;
	color: #64748b;
	gap: 8px;
	width: 100%;
}

.chat-empty-search i {
	font-size: 24px;
	color: #94a3b8;
}

.chat-empty-search p {
	font-size: 12.5px;
	margin: 0;
	color: #475569;
	text-align: center;
}

.btn-clear-filter {
	background: #f1f5f9;
	color: #0284c7;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.btn-clear-filter:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
}

.empty-state-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 20px;
	text-align: center;
	width: 100%;
}

.empty-icon-circle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin: 0 auto 12px;
}

.empty-state-box h4 {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px;
	text-align: center;
}

.empty-state-box p {
	font-size: 12.5px;
	color: #64748b;
	margin: 0 0 12px;
	text-align: center;
}

.btn-reset-search {
	background: #f1f5f9;
	color: #0284c7;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.btn-reset-search:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
}

.directory-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px 12px;
	color: #64748b;
	font-size: 12px;
	text-align: center;
	width: 100%;
}

.directory-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 28px 12px;
	text-align: center;
	color: #94a3b8;
	font-size: 12px;
	width: 100%;
}

.directory-empty i {
	font-size: 22px;
	margin-bottom: 6px;
	color: #cbd5e1;
}

.chat-error-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 14px;
	background: #fef2f2;
	color: #dc2626;
	font-size: 12px;
	border-radius: 6px;
	margin: 10px;
	text-align: center;
	width: 100%;
}


