@charset "utf-8";
/* GBCU student/staff profile (information view) + small-screen shell fixes */

:root {
	--gb-red: #d93a32;
	--gb-green: #1f7a35;
	--gb-green-deep: #185f29;
	--gb-green-dark: #24502c;
	--gb-green-light: #a5d38b;
	--gb-line: #dcdcdc;
}

/* ---------- Profile layout ---------- */
.student.pf {
	clear: both;
	margin: 0;
	padding: 0 0 20px;
	font-size: 13px;
}
.pf .pf-name {
	float: none;
	height: auto;
	margin: 0 0 20px;
	padding: 12px 24px;
	border-radius: 2px;
	font-size: 20px;
	line-height: 1.3;
}
/* Same measurements as the reference profile: 228px photo/actions column, 21px gap,
   two 570px card columns 30px apart, left-aligned. Card columns may shrink, never grow. */
.pf-grid {
	display: grid;
	grid-template-columns: 228px 21px minmax(0, 570px) 30px minmax(0, 570px);
	gap: 0;
	justify-content: start;
	align-items: start;
}
.pf-grid > .pf-side {
	grid-column: 1;
	grid-row: 1 / span 2;
}
.pf-grid > .pf-col:nth-child(2) {
	grid-column: 3;
	grid-row: 1;
}
.pf-grid > .pf-col:nth-child(3) {
	grid-column: 5;
	grid-row: 1;
}
.pf-col {
	min-width: 0;
}

/* ---------- Left column ---------- */
.pf .pf-side {
	float: none;
	width: auto;
	margin: 0;
	padding: 1px;
	border: 1px solid var(--gb-line);
	background: #fff;
}
.pf-photo {
	background: #c5cde0;
}
.pf-photo img {
	display: block;
	width: 100%;
	height: auto;
}
.pf-status {
	display: block;
	padding: 6px 8px;
	border: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff !important;
	text-decoration: none !important;
	text-transform: uppercase;
}
.pf-status-mode {
	background: #dfdfdf;
	color: #222 !important;
	text-transform: none;
	border-bottom: 1px solid #c9c9c9;
}
.pf-status-group {
	background: #b9b9b9;
	color: #222 !important;
	text-transform: none;
}
.pf-status-pay {
	background: #dfdfdf;
	color: var(--gb-red) !important;
}
.pf .studentsubmenu {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-bottom: 1px solid #e3e3e3;
}
.pf .studentsubmenu a {
	display: block;
	width: 100%;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 600;
	color: #222;
	text-decoration: none;
}
.pf .studentsubmenu a:hover {
	background: var(--gb-green);
	color: #fff;
	padding: 10px 18px;
}
.pf .studentsubmenu.pf-highlight {
	background: #ffe049;
}

/* ---------- Cards ---------- */
.pf-card {
	margin: 0 0 30px;
	border: 1px solid var(--gb-line);
	background: #fff;
}
.pf .pf-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 15px;
	border: 0;
	border-bottom: 3px solid #2e3a54;
	background: #3d4b6a;	/* PPG "Annapolis Blue" */
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -.01em;
}
.pf-head-link {
	font-size: 12px;
	font-weight: 600;
	color: #fff !important;
	white-space: nowrap;
}
.pf-card-body {
	padding: 14px 15px 16px;
}
.pf-table {
	width: 100%;
	border-collapse: collapse;
}
.pf-table td {
	padding: 5px 0;
	vertical-align: top;
	font-size: 13px;
	color: #222;
	word-break: break-word;
}
.pf-table td:first-child {
	width: 200px;
	padding-right: 12px;
	color: #333;
}
.pf-table-narrow td:first-child {
	width: 100px;
}
.pf-table-stack + .pf-table-stack {
	margin-top: 10px;
	border-top: 1px dashed var(--gb-line);
}
.pf-alert {
	font-weight: 700;
	color: var(--gb-red);
}
.pf-pay {
	display: inline-block;
	margin-left: 4px;
	padding: 4px 10px;
	border-radius: 3px;
	background: var(--gb-green);
	font-size: 13px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
}
.pf-pay:hover {
	background: var(--gb-green-deep);
}
.pf-grades {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px 12px;
}

/* ---------- Course registration ---------- */
.pf-courses {
	margin: -14px -15px -16px;
}
.pf-package {
	margin: 10px 0 0;
	padding: 6px 20px;
	border: 1px solid #333;
	border-bottom: 0;
	background: #b9d2e6;
	font-weight: 700;
}
.pf-courses .pf-package:first-child {
	margin-top: 0;
	border-top: 0;
}
.pf-period {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 10px;
	padding: 6px 20px;
	border: 1px solid #333;
	background: #ccc;
	font-weight: 700;
}
.pf-period-links {
	font-size: 11px;
	font-weight: 600;
}
.pf-course-list {
	margin: 6px 0 10px;
	padding: 0 15px 0 30px;
}
.pf-course-list li {
	padding: 1px 0;
}
.pf-empty {
	margin: 0;
	padding: 14px 15px;
	font-weight: 700;
	color: #666;
}

/* ---------- Laptop: picture/menu on the left, all cards in one column beside it ---------- */
@media (max-width: 1400px) {
	.pf-grid {
		grid-template-columns: 228px 21px minmax(0, 1fr);
	}
	.pf-grid > .pf-col:nth-child(3) {
		grid-column: 3;
		grid-row: 2;
	}
}

/* ---------- Tablet (sidebar still open): everything in one column ---------- */
@media (max-width: 1100px) {
	.pf-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pf-grid > .pf-side,
	.pf-grid > .pf-col:nth-child(2),
	.pf-grid > .pf-col:nth-child(3) {
		grid-column: 1;
		grid-row: auto;
	}
	.pf .pf-side {
		width: 100%;
		max-width: 340px;
		margin-bottom: 30px;
	}
	.pf-table td:first-child {
		width: 42%;
	}
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	.pf .pf-name {
		margin-bottom: 14px;
		padding: 10px 14px;
		text-align: center;
		font-size: 18px;
	}
	.pf-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pf .pf-side {
		max-width: none;
		margin-bottom: 14px;
	}
	.pf-card {
		margin-bottom: 14px;
	}
	.pf-card-body {
		padding: 12px;
	}
	.pf-courses {
		margin: -12px;
	}
	.pf-table td:first-child {
		width: 42%;
	}
	.pf-grades {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Footer and search suggestions on small screens (navbar, search and sidebar live in header.inc.php) ---------- */
@media (max-width: 767px) {
	.suggesstion-box .active {
		width: auto;
	}
	.footer .float {
		float: none;
		padding-right: 0;
	}
}
