/* Computer Centre Management — Modern Frontend Styles */

.ccm-portal {
	--ccm-primary: #4f46e5;
	--ccm-primary-dark: #3730a3;
	--ccm-primary-light: #eef2ff;
	--ccm-accent: #06b6d4;
	--ccm-green: #16a34a;
	--ccm-red: #dc2626;
	--ccm-amber: #d97706;
	--ccm-text: #1e293b;
	--ccm-muted: #64748b;
	--ccm-border: #e2e8f0;
	--ccm-bg: #f8fafc;
	--ccm-radius: 14px;
	max-width: 1000px;
	margin: 30px auto;
	color: var(--ccm-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ccm-portal * { box-sizing: border-box; }

/* ---------- Auth screen heading ---------- */
.ccm-auth-heading { font-size: 26px; font-weight: 800; margin: 0 0 20px; }

/* ---------- Role toggle: Student / Centre ---------- */
.ccm-role-toggle {
	display: flex;
	gap: 10px;
	max-width: 460px;
	margin: 0 auto 14px;
}
.ccm-role-btn {
	flex: 1;
	padding: 12px 14px;
	background: #fff;
	border: 1.5px solid var(--ccm-border);
	border-radius: var(--ccm-radius);
	font-size: 14px;
	font-weight: 700;
	color: var(--ccm-muted);
	cursor: pointer;
	transition: all .2s ease;
	box-shadow: 0 1px 3px rgba(15,23,42,.06);
}
.ccm-role-btn:hover { border-color: var(--ccm-primary); transform: translateY(-1px); }
.ccm-role-btn.active {
	background: linear-gradient(135deg, var(--ccm-primary), var(--ccm-primary-dark));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 8px 18px rgba(79,70,229,.28);
}

/* ---------- Mode toggle: Login / Registration ---------- */
.ccm-mode-toggle {
	display: flex;
	gap: 6px;
	background: #fff;
	padding: 6px;
	border-radius: 999px;
	border: 1px solid var(--ccm-border);
	max-width: 320px;
	margin: 0 auto 26px;
}
.ccm-mode-btn {
	flex: 1;
	padding: 10px 16px;
	background: transparent;
	border: none;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ccm-muted);
	cursor: pointer;
	transition: all .2s ease;
}
.ccm-mode-btn.active {
	background: var(--ccm-primary-light);
	color: var(--ccm-primary-dark);
}

.ccm-auth-panel { display: none; }
.ccm-auth-panel.ccm-first { display: block; }

@keyframes ccmFade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ---------- Cards ---------- */
.ccm-card {
	background: #fff;
	border: 1px solid var(--ccm-border);
	border-radius: var(--ccm-radius);
	padding: 28px;
	box-shadow: 0 1px 3px rgba(15,23,42,.06);
}

.ccm-card-narrow { max-width: 460px; margin: 0 auto; }

.ccm-card-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ccm-card-sub { margin: 0 0 20px; color: var(--ccm-muted); font-size: 14px; }

.ccm-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}
.ccm-card-head h3 { margin: 0; font-size: 18px; }
.ccm-card-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.ccm-badge-soon {
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	background: var(--ccm-primary-light); color: var(--ccm-primary-dark);
	padding: 3px 10px; border-radius: 999px;
}

/* ---------- Forms ---------- */
.ccm-form { margin-top: 6px; }
.ccm-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 20px;
}
.ccm-field-full { grid-column: 1 / -1; }

.ccm-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.ccm-form-grid .ccm-field { margin-bottom: 0; }

.ccm-field label { font-size: 13px; font-weight: 600; color: var(--ccm-text); }

.ccm-field input[type=text],
.ccm-field input[type=email],
.ccm-field input[type=password],
.ccm-field input[type=date],
.ccm-field select,
.ccm-field textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--ccm-border);
	border-radius: 9px;
	font-size: 14px;
	background: var(--ccm-bg);
	transition: border-color .2s, box-shadow .2s;
}

.ccm-field input:focus,
.ccm-field select:focus,
.ccm-field textarea:focus {
	outline: none;
	border-color: var(--ccm-primary);
	box-shadow: 0 0 0 3px rgba(79,70,229,.12);
	background: #fff;
}

.ccm-field textarea { min-height: 80px; resize: vertical; }

.ccm-checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 4px; }
.ccm-checkbox-group label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ccm-text); }
.ccm-checkbox-group input[type="checkbox"] { width: 16px; height: 16px; }
.ccm-badge-facility { display: inline-block; background: #eef2ff; color: #4338ca; border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 600; margin: 2px 3px 2px 0; }

.ccm-video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; margin: 10px 0 18px; }
.ccm-video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.ccm-chapters-list { margin: 0 0 18px; padding-left: 20px; }
.ccm-chapters-list li { padding: 8px 0; border-bottom: 1px dashed #e5e7eb; color: var(--ccm-text); }
.ccm-chapters-list li:last-child { border-bottom: none; }
.ccm-chapter-name { font-weight: 600; }
.ccm-chapter-topics { margin: 6px 0 0 18px; padding: 0; list-style: disc; }
.ccm-chapter-topics li { padding: 2px 0; border-bottom: none; font-size: 13.5px; color: var(--ccm-muted); }
.ccm-detail-list { margin: 0 0 16px; padding: 0; list-style: none; }
.ccm-detail-list li { padding: 6px 0; border-bottom: 1px dashed #e5e7eb; color: var(--ccm-text); font-size: 14px; }
.ccm-detail-list li:last-child { border-bottom: none; }
.ccm-detail-badges { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ccm-detail-badges li { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--ccm-text); }
.ccm-detail-doc-label { margin: 0 0 6px; }
.ccm-detail-steps { margin: 0 0 16px; padding-left: 22px; }
.ccm-detail-steps li { padding: 6px 0; color: var(--ccm-text); font-size: 14px; }
.ccm-course-detail-head { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.ccm-course-detail-thumb { width: 260px; max-width: 100%; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #f3f4f6; }
.ccm-course-detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccm-course-detail-info h2 { margin: 0 0 8px; }
.ccm-course-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; font-size: 14px; color: var(--ccm-muted); }
.ccm-course-detail-meta strong { color: var(--ccm-text); }
.ccm-enroll-box { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin-top: 20px; }
.ccm-back-link { display: inline-block; margin-bottom: 16px; font-size: 13px; color: var(--ccm-primary); text-decoration: none; font-weight: 600; }

.ccm-btn {
	display: inline-block;
	background: linear-gradient(135deg, var(--ccm-primary), var(--ccm-primary-dark));
	color: #fff !important;
	border: none;
	padding: 12px 22px;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none !important;
	text-align: center;
	transition: transform .15s ease, box-shadow .15s ease;
}
.ccm-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,70,229,.28); }
.ccm-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.ccm-btn-block { display: block; width: 100%; }
.ccm-btn-sm { padding: 8px 16px; font-size: 13px; }
.ccm-btn-logout {
	background: linear-gradient(135deg, #ef4444, #b91c1c);
	box-shadow: none;
}
.ccm-btn-logout:hover { box-shadow: 0 6px 16px rgba(220,38,38,.28); }

.ccm-hint { margin-top: 18px; font-size: 13px; color: var(--ccm-muted); text-align: center; }
.ccm-hint a { color: var(--ccm-primary); font-weight: 600; text-decoration: none; }

/* ---------- Alerts ---------- */
.ccm-alert { padding: 12px 16px; border-radius: 9px; font-size: 14px; margin-bottom: 18px; }
.ccm-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ccm-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Popup modal (shown once, on successful registration) ---------- */
.ccm-modal-overlay {
	position: fixed; inset: 0; background: rgba(15,23,42,.55);
	display: none; align-items: center; justify-content: center;
	z-index: 99999; padding: 20px;
}
.ccm-modal-overlay.ccm-modal-show { display: flex; }
.ccm-modal {
	background: #fff; border-radius: 18px; padding: 34px 30px 28px;
	max-width: 420px; width: 100%; text-align: center; position: relative;
	box-shadow: 0 20px 50px rgba(15,23,42,.25);
	animation: ccmPopIn .25s ease;
}
@keyframes ccmPopIn {
	from { opacity: 0; transform: scale(.92) translateY(10px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}
.ccm-modal-close {
	position: absolute; top: 14px; right: 16px; background: none; border: none;
	font-size: 22px; line-height: 1; color: var(--ccm-muted); cursor: pointer;
}
.ccm-modal-icon {
	width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800;
}
.ccm-modal-icon-success { background: #dcfce7; color: #166534; }
.ccm-modal-icon-error { background: #fee2e2; color: #991b1b; }
.ccm-modal-title { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.ccm-modal-body { font-size: 14px; color: var(--ccm-muted); margin-bottom: 22px; line-height: 1.6; }
.ccm-modal-body strong { color: var(--ccm-text); }

/* ---------- Badges ---------- */
.ccm-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ccm-badge-active { background: #dcfce7; color: #166534; }
.ccm-badge-pending { background: #fef3c7; color: #92400e; }
.ccm-badge-inactive { background: #fee2e2; color: #991b1b; }

/* ---------- Dashboard header ---------- */
.ccm-dash-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	background: linear-gradient(135deg, var(--ccm-primary), var(--ccm-accent));
	border-radius: var(--ccm-radius);
	padding: 24px 28px;
	color: #fff;
	margin-bottom: 22px;
}
.ccm-dash-identity { display: flex; align-items: center; gap: 16px; }
.ccm-dash-identity h2 { margin: 0; font-size: 22px; }
.ccm-dash-identity p { margin: 4px 0 0; font-size: 13px; opacity: .95; }
.ccm-dash-identity .ccm-badge { background: rgba(255,255,255,.25); color: #fff; }

.ccm-avatar {
	width: 56px; height: 56px; border-radius: 50%;
	background: rgba(255,255,255,.25);
	display: flex; align-items: center; justify-content: center;
	font-size: 24px; font-weight: 700; flex-shrink: 0;
	overflow: hidden;
}
.ccm-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ccm-avatar-alt { background: rgba(255,255,255,.3); }

/* ---------- Dashboard: sidebar + content ---------- */
.ccm-dash-body { display: flex; align-items: flex-start; gap: 22px; }

.ccm-dash-sidebar {
	width: 220px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--ccm-border);
	border-radius: var(--ccm-radius);
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	position: sticky;
	top: 20px;
}
.ccm-side-link {
	display: flex; align-items: center; gap: 10px;
	padding: 11px 14px; border-radius: 9px; border: none; background: transparent;
	text-align: left; font-size: 14px; font-weight: 600; color: var(--ccm-muted);
	cursor: pointer; transition: all .15s ease;
}
.ccm-side-icon { font-size: 16px; }
.ccm-side-link:hover { background: var(--ccm-bg); color: var(--ccm-text); }
.ccm-side-link.active { background: var(--ccm-primary-light); color: var(--ccm-primary-dark); }

.ccm-dash-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ccm-dash-section { display: none; flex-direction: column; gap: 20px; }
.ccm-dash-section.active { display: flex; animation: ccmFade .25s ease; }

.ccm-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.ccm-stat-card {
	background: #fff; border-radius: var(--ccm-radius); padding: 20px;
	border: 1px solid var(--ccm-border); border-top: 4px solid var(--ccm-primary);
	display: flex; flex-direction: column; gap: 4px;
}
.ccm-stat-num { font-size: 30px; font-weight: 800; }
.ccm-stat-label { color: var(--ccm-muted); font-size: 13px; font-weight: 600; }
.ccm-stat-blue { border-top-color: var(--ccm-primary); }
.ccm-stat-green { border-top-color: var(--ccm-green); }
.ccm-stat-red { border-top-color: var(--ccm-red); }

.ccm-search {
	padding: 9px 14px; border: 1.5px solid var(--ccm-border); border-radius: 8px;
	font-size: 13px; min-width: 200px; background: var(--ccm-bg);
}

.ccm-table-wrap { overflow-x: auto; }
.ccm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ccm-table th {
	text-align: left; padding: 12px 14px; background: var(--ccm-bg);
	color: var(--ccm-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
}
.ccm-table td { padding: 12px 14px; border-top: 1px solid var(--ccm-border); }
.ccm-table tr:hover td { background: var(--ccm-primary-light); }
.ccm-empty { text-align: center; color: var(--ccm-muted); padding: 24px !important; }

.ccm-profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.ccm-profile-item { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--ccm-bg); border-radius: 10px; }
.ccm-profile-item span { font-size: 12px; color: var(--ccm-muted); text-transform: uppercase; letter-spacing: .03em; }
.ccm-profile-item strong { font-size: 15px; }
.ccm-profile-full { grid-column: 1 / -1; }

/* ---------- Collapsible "Add Student" form ---------- */
.ccm-collapsible {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}
.ccm-collapsible.ccm-open {
	max-height: 900px;
	opacity: 1;
	margin-bottom: 22px;
	padding: 20px;
	background: var(--ccm-bg);
	border: 1px solid var(--ccm-border);
	border-radius: var(--ccm-radius);
}

/* ---------- ID Card ---------- */
.ccm-idcard {
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
	border-radius: 18px;
	background: linear-gradient(150deg, var(--ccm-primary), var(--ccm-primary-dark));
	color: #fff;
	padding: 22px;
	text-align: center;
	box-shadow: 0 12px 30px rgba(79,70,229,.25);
}
.ccm-idcard-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.ccm-idcard-org { font-weight: 800; font-size: 15px; }
.ccm-idcard-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.ccm-idcard-photo {
	width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 12px;
	background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center;
	font-size: 28px; font-weight: 800; border: 2px solid rgba(255,255,255,.5);
	overflow: hidden;
}
.ccm-idcard-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ccm-idcard h4 { margin: 0 0 14px; font-size: 17px; }
.ccm-idcard-row {
	display: flex; justify-content: space-between; gap: 10px;
	font-size: 12.5px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.2);
}
.ccm-idcard-row span { opacity: .8; }

.ccm-admitcard { padding: 4px; }
.ccm-admitcard-head { text-align: center; margin-bottom: 18px; display: flex; flex-direction: column; gap: 2px; }
.ccm-admitcard-head .ccm-idcard-org { color: var(--ccm-text); }
.ccm-admitcard-head .ccm-idcard-tag { color: var(--ccm-muted); }

.ccm-print-btn { margin-top: 18px; }

@media print {
	body * { visibility: hidden; }
	.ccm-printable, .ccm-printable * { visibility: visible; }
	.ccm-printable { position: absolute; top: 0; left: 0; width: 100%; }
}

/* ---------- Documents (ID Card / Admit Card / Marksheet / Certificate) inline preview ---------- */
.ccm-doc { position: relative; max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--ccm-border); border-radius: 14px; padding: 24px; overflow: hidden; }
.ccm-doc-watermark { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%) rotate(-28deg); font-size: 40px; font-weight: 800; color: rgba(79,70,229,.07); white-space: nowrap; pointer-events: none; }
.ccm-doc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 3px solid var(--ccm-brand, var(--ccm-primary)); padding-bottom: 10px; margin-bottom: 14px; }
.ccm-doc-org { font-weight: 800; font-size: 16px; color: var(--ccm-brand, var(--ccm-primary)); }
.ccm-doc-addr { font-size: 11px; color: var(--ccm-muted); margin-top: 2px; }
.ccm-doc-tag { background: var(--ccm-brand, var(--ccm-primary)); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ccm-doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 12px; }
.ccm-doc-item span, .ccm-doc-row span { display: block; font-size: 10.5px; color: var(--ccm-muted); text-transform: uppercase; letter-spacing: .03em; }
.ccm-doc-item strong, .ccm-doc-row strong { font-size: 14px; }
.ccm-doc-idcard-body { text-align: center; padding: 4px 10px 6px; }
.ccm-doc-photo { width: 84px; height: 84px; border-radius: 50%; background: var(--ccm-primary-light); color: var(--ccm-brand, var(--ccm-primary)); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; margin: 0 auto 10px; overflow: hidden; border: 3px solid var(--ccm-brand, var(--ccm-primary)); }
.ccm-doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.ccm-doc-row { border-bottom: 1px dashed var(--ccm-border); padding: 6px 0; text-align: left; }
.ccm-doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.ccm-doc-table th, .ccm-doc-table td { border: 1px solid var(--ccm-border); padding: 7px 9px; font-size: 12.5px; text-align: left; }
.ccm-doc-table thead th { background: var(--ccm-bg); }
.ccm-doc-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ccm-border); }
.ccm-doc-issued { font-size: 11px; color: var(--ccm-muted); }
.ccm-doc-sign { text-align: center; font-size: 11.5px; }
.ccm-doc-sign-line { width: 120px; border-top: 1px solid var(--ccm-text); margin-bottom: 6px; }
.ccm-doc-sign-role { color: var(--ccm-muted); }
.ccm-doc-footnote { font-size: 10.5px; color: var(--ccm-muted); text-align: center; margin-top: 12px; }

/* ---------- Verify Document page ---------- */
.ccm-verify-result { margin-top: 18px; padding: 16px; border-radius: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ccm-verify-ok { background: #ecfdf5; border: 1px solid #a7f3d0; }
.ccm-verify-bad { background: #fef2f2; border: 1px solid #fecaca; }
.ccm-verify-result p { grid-column: 1 / -1; margin: 0 0 6px; }

/* ---------- Courses page ---------- */
.ccm-courses-head { text-align: center; margin-bottom: 26px; }
.ccm-courses-head h2 { font-size: 26px; margin-bottom: 6px; }
.ccm-courses-head p { color: var(--ccm-muted); }
.ccm-courses-head a { color: var(--ccm-primary); font-weight: 600; text-decoration: none; }

.ccm-course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ccm-course-card {
	background: #fff; border: 1px solid var(--ccm-border); border-radius: var(--ccm-radius);
	display: flex; flex-direction: column; overflow: hidden;
	text-decoration: none !important; color: inherit;
	transition: transform .2s ease, box-shadow .2s ease;
	cursor: pointer;
}
.ccm-course-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,23,42,.12); border-color: var(--ccm-primary); }
.ccm-course-thumb {
	width: 100%; height: 140px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--ccm-primary-light), #e0f2fe);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ccm-course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ccm-course-thumb-icon { font-size: 42px; }
.ccm-course-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ccm-course-card h3 { margin: 0; font-size: 18px; color: var(--ccm-text); }
.ccm-course-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ccm-muted); }
.ccm-course-desc { font-size: 13.5px; color: var(--ccm-muted); flex-grow: 1; }
.ccm-course-card .ccm-btn { align-self: flex-start; }

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
	.ccm-dash-body { flex-direction: column; }
	.ccm-dash-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; position: static; }
}
@media (max-width: 640px) {
	.ccm-form-grid { grid-template-columns: 1fr; }
	.ccm-role-toggle { flex-direction: column; }
	.ccm-dash-header { flex-direction: column; align-items: flex-start; }
	.ccm-card-head-actions { width: 100%; }
	.ccm-search { flex: 1; min-width: 0; }
}
