/*
Theme Name: UMSAz Student Services Hub
Theme URI: https://umsaz.org/
Author: University of Medical Sciences Arizona
Description: Student Services Hub theme converted from the original Replit React application.
Version: 2.5.39
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: student-services-hub
*/

/* Interactive semester calendar controls. */
.ssh-calendar-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
	cursor: pointer;
}

.ssh-calendar-arrow:not(:disabled):hover {
	background-color: #f0d58e !important;
	transform: translateY(-2px) scale(1.04);
}

.ssh-calendar-arrow:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.ssh-calendar-arrow:disabled {
	cursor: not-allowed;
	opacity: 0.38 !important;
}

/* Terms page photographic banner. */
.terms-policy-hero {
	position: relative;
	background-color: #2a0e3f;
	background-image:
		linear-gradient(90deg, rgba(42, 14, 63, 0.94), rgba(42, 14, 63, 0.68)),
		url('assets/hero-home-D5Qtwo17.png');
	background-position: center 52%;
	background-size: cover;
}

.terms-policy-hero .container {
	position: relative;
	z-index: 1;
}

.terms-policy-hero .terms-policy-title {
	color: #ffffff !important;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.terms-policy-hero p {
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Administrator-only visual content editor. */
.ssh-edit-mode body {
	padding-bottom: 76px;
}

.ssh-edit-mode body *:not(#wpadminbar):not(#wpadminbar *):not(#ssh-editor-help):not(#ssh-editor-help *) {
	cursor: pointer !important;
}

.ssh-edit-mode body *:not(#wpadminbar):not(#wpadminbar *):not(#ssh-editor-help):not(#ssh-editor-help *):hover {
	outline: 2px dashed #c9a96e;
	outline-offset: 3px;
}

#ssh-editor-help {
	position: fixed;
	right: 20px;
	bottom: 18px;
	left: 20px;
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: #2a0e3f;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
	color: #fff;
	font: 14px/1.4 Inter, sans-serif;
}

#ssh-editor-help strong {
	color: #e2c98f;
}

#ssh-editor-help span {
	flex: 1;
	color: rgba(255, 255, 255, 0.82);
}

#ssh-editor-help a {
	padding: 7px 12px;
	border-radius: 999px;
	background: #fff;
	color: #2a0e3f;
	font-weight: 700;
	text-decoration: none;
}

/* WordPress-managed Student Updates feed. */
.ssh-updates-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	text-align: left;
}

.ssh-update-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 1.6rem;
	border: 1px solid hsl(var(--border));
	border-radius: 1rem;
	background: hsl(var(--card));
	box-shadow: 0 8px 26px rgba(42, 14, 63, 0.08);
}

.ssh-update-image {
	width: calc(100% + 3.2rem);
	height: 180px;
	margin: -1.6rem -1.6rem 1.25rem;
	object-fit: cover;
}

.ssh-update-date {
	display: block;
	margin-bottom: 0.6rem;
	color: #8a6b32;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ssh-update-card h3 {
	margin: 0 0 0.75rem;
	color: hsl(var(--foreground));
	font-family: Georgia, serif;
	font-size: 1.25rem;
	line-height: 1.3;
}

.ssh-update-card p {
	margin: 0 0 1rem;
	color: hsl(var(--muted-foreground));
	font-size: 0.95rem;
	line-height: 1.65;
}

.ssh-update-card .ssh-update-sender {
	margin: -0.25rem 0 1rem;
	color: #75637e;
	font-size: 0.8rem;
	font-weight: 600;
}

.ssh-update-card--email {
	border-color: #bae6fd;
	background: #f8fcff;
}

.ssh-update-link,
.ssh-update-details summary {
	color: hsl(var(--primary));
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.ssh-update-link {
	margin-top: auto;
	text-decoration: none;
}

.ssh-update-details {
	margin: 0.25rem 0 1rem;
}

.ssh-update-body {
	margin-top: 0.9rem;
}

.ssh-update-body > *:last-child {
	margin-bottom: 0;
}

.ssh-managed-updates {
	padding: 4.5rem 1.5rem;
	border-top: 1px solid hsl(var(--border));
	background: hsl(var(--muted) / 0.3);
}

.ssh-managed-updates-inner {
	width: min(1152px, 100%);
	margin: 0 auto;
}

.ssh-managed-updates h2 {
	margin: 0 0 2rem;
	color: hsl(var(--foreground));
	font-family: Georgia, serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
}

.ssh-managed-feed-title {
	margin: 0 0 2rem;
	color: hsl(var(--foreground));
	font-family: Georgia, serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
}

.ssh-managed-home-announcements {
	margin-top: 3rem;
}

.ssh-managed-updates--student-email { background: #f0f9ff; }
.ssh-managed-updates--reminder { background: #fffbeb; }
.ssh-managed-updates--workshop { background: #fdf2f8; }
.ssh-managed-updates--deadline { background: #fff1f2; }

.ssh-oasis-deadlines {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid #fecdd3;
	border-radius: 1rem;
	background: #fff7f7;
}

.ssh-next-deadline {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.1rem;
	padding: 0.7rem 1rem;
	border: 1px solid #fecdd3;
	border-radius: 999px;
	background: #fff7f8;
	box-shadow: 0 5px 16px rgba(190, 18, 60, 0.07);
	color: #881337;
}

.ssh-next-deadline-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: #ffe4e6;
	color: #e11d48;
	font-size: 1.15rem;
}

.ssh-next-deadline strong,
.ssh-next-deadline small {
	display: block;
}

.ssh-next-deadline strong {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ssh-next-deadline small {
	margin-top: 0.15rem;
	color: #6b213d;
	font-size: 0.78rem;
}

.ssh-oasis-deadlines h3 {
	margin: 0 0 0.35rem;
	color: hsl(var(--foreground));
	font-family: Georgia, serif;
	font-size: 1.5rem;
}

.ssh-oasis-deadlines-source {
	margin: 0 0 1.25rem;
	color: hsl(var(--muted-foreground));
	font-size: 0.875rem;
}

.ssh-oasis-deadlines-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.ssh-oasis-deadline-card {
	padding: 1rem 1.1rem;
	border-left: 4px solid #be123c;
	border-radius: 0.75rem;
	background: #ffffff;
	box-shadow: 0 5px 16px rgba(42, 14, 63, 0.06);
}

.ssh-oasis-deadline-card time {
	display: block;
	margin-bottom: 0.35rem;
	color: #9f1239;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ssh-oasis-deadline-card h4 {
	margin: 0;
	color: #1f2937;
	font-size: 0.95rem;
	line-height: 1.4;
}

.ssh-oasis-feed {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: 1rem;
	background: rgba(255,255,255,0.72);
}

.ssh-oasis-feed h3 {
	margin: 0 0 1rem;
	color: hsl(var(--foreground));
	font-family: Georgia, serif;
	font-size: 1.5rem;
}

.ssh-oasis-feed-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.ssh-oasis-feed-card {
	padding: 1rem 1.1rem;
	border-left: 4px solid #64748b;
	border-radius: 0.75rem;
	background: #ffffff;
	box-shadow: 0 5px 16px rgba(42, 14, 63, 0.06);
}

.ssh-oasis-feed-card time {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ssh-oasis-feed-card h4 {
	margin: 0;
	color: #1f2937;
	font-size: 0.95rem;
	line-height: 1.4;
}

.ssh-oasis-feed-card--deadline { border-left-color: #be123c; }
.ssh-oasis-feed-card--deadline time { color: #9f1239; }
.ssh-oasis-feed-card--workshop { border-left-color: #a21caf; }
.ssh-oasis-feed-card--workshop time { color: #86198f; }
.ssh-oasis-feed-card--reminder { border-left-color: #d97706; }
.ssh-oasis-feed-card--reminder time { color: #92400e; }

.ssh-next-deadline-name {
	display: block;
	margin-top: 0.12rem;
	color: #3f1728;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
}

.ssh-updates-empty {
	padding: 2rem;
	border: 1px dashed hsl(var(--border));
	border-radius: 1rem;
	background: hsl(var(--card));
	color: hsl(var(--muted-foreground));
	text-align: center;
}

@media (max-width: 900px) {
	.ssh-updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.ssh-updates-grid { grid-template-columns: 1fr; }
	.ssh-oasis-deadlines-grid, .ssh-oasis-feed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	#ssh-editor-help {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	#ssh-editor-help span {
		flex-basis: 100%;
	}
}

html, body, #student-services-hub-root {
  margin: 0;
  min-height: 100%;
}

/* Academic Advising standards page refinements. */
.advising-standards-intro-eyebrow {
	display: block;
	margin: 0 0 1.25rem;
	line-height: 1.5;
}

.advising-standards-intro-title {
	display: block;
	margin: 0 0 1.75rem;
	line-height: 1.15;
}

.advising-standards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1.5rem;
}

.advising-choice-card {
	position: relative;
	display: flex;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	outline: none;
	transform-origin: center bottom;
	padding: 2.15rem 1.9rem 2rem !important;
	transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.advising-choice-card::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	background: #c9a96e;
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 240ms ease;
}

.advising-choice-card:hover,
.advising-choice-card:focus-visible {
	border-color: #c9a96e;
	background: #fdfaf3;
	box-shadow: 0 18px 38px rgba(42, 14, 63, 0.16);
	animation: advising-choice-rock 650ms ease-in-out both;
}

.advising-choice-card:hover::after,
.advising-choice-card:focus-visible::after {
	transform: scaleX(1);
}

.advising-choice-title {
	display: block;
	width: 100%;
	min-height: 3.5em;
	margin: 0 0 1.2rem;
	padding: 0;
	font-size: clamp(1.2rem, 2vw, 1.42rem);
	line-height: 1.4;
	letter-spacing: 0.005em;
	text-align: left;
	text-wrap: balance;
}

.advising-choice-card p {
	margin: 0;
	line-height: 1.75;
}

@media (max-width: 700px) {
	.advising-choice-title { min-height: 0; }
}

.advising-program-title {
	display: block;
	max-width: 34rem;
	margin: 0 0 1.4rem;
	line-height: 1.18;
	text-wrap: balance;
}

.advising-motion-card {
	position: relative;
	min-height: 310px;
	margin-top: 2rem;
	overflow: hidden;
	border: 1px solid rgba(201, 169, 110, 0.55);
	border-radius: 1.5rem;
	background: #2a0e3f;
	box-shadow: 0 18px 45px rgba(42, 14, 63, 0.18);
}

.advising-motion-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.footer-grid-advising > div {
	min-width: 0;
}

.advising-motion-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(42, 14, 63, 0.78));
}

.advising-motion-bubbles {
	position: absolute;
	right: 1.2rem;
	bottom: 1.2rem;
	left: 1.2rem;
	display: flex;
	justify-content: center;
	gap: 0.65rem;
}

.advising-motion-bubbles span {
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: #2a0e3f;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	animation: advising-bubble-lift 3.6s ease-in-out infinite;
}

.advising-motion-bubbles span:nth-child(2) { animation-delay: 0.45s; }
.advising-motion-bubbles span:nth-child(3) { animation-delay: 0.9s; }

.advising-expect-panel,
.advising-expect-panel h3,
.advising-expect-panel ul,
.advising-expect-panel li {
	color: #ffffff !important;
}

.advising-ready-panel {
	background: #f7efd9 !important;
	color: #2a0e3f !important;
	box-shadow: inset 0 1px 0 rgba(201, 169, 110, 0.35);
}

.advising-ready-panel h2 { color: #2a0e3f !important; }
.advising-ready-panel p { color: #614b67 !important; }

.advising-return-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.75rem;
	padding: 0.8rem 1.65rem;
	border-radius: 999px;
	background: #2a0e3f;
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(42, 14, 63, 0.18);
	transition: background-color 180ms ease, transform 180ms ease;
}

.advising-return-button:hover {
	background: #3d1a5c;
	transform: translateY(-2px);
}

@keyframes advising-bubble-lift {
	0%, 100% { opacity: 0.78; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(-7px); }
}

@keyframes advising-choice-rock {
	0% { transform: translateY(0) rotate(0); }
	35% { transform: translateY(-7px) rotate(-0.7deg); }
	65% { transform: translateY(-7px) rotate(0.7deg); }
	100% { transform: translateY(-7px) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
	.advising-motion-bubbles span,
	.advising-choice-card:hover,
	.advising-choice-card:focus-visible {
		animation: none;
	}
}
