﻿/* Profile Connect surveys page (based on Nova Opinions, using RED C's accent colour #d0103a) */
.surveys-panel {
	padding: 2.5rem;
	background: #ffffff;
	box-shadow: 0px 1px 2px #00000017, 0px 3px 3px #00000012, 0px 8px 5px #0000000a, 0px 13px 5px #00000003, 0px 21px 6px transparent;
}

.surveys-header {
	margin-bottom: 2rem;
}

.surveys-heading {
	margin: 0 0 0.5rem;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.4px;
}

.surveys-subtitle {
	margin: 0;
	font-size: 1.125rem;
}

.surveys-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

/* Survey cards */
.startSurvey {
	border: none;
	background: inherit;
}

.survey-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 366px;
	padding: 24px;
	background: #ffffff;
	border-radius: 17px;
	box-shadow: 0 3px 2px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.14), 0 0 1px rgba(0, 0, 0, 0.17);
}

.survey-card__meta {
	display: inline-grid;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
}

.survey-meta-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: #d0103a;
}

.survey-meta-label {
	white-space: nowrap;
}

/* PAN-412: Waiting overlay shown while a survey is started */
.base-content {
	position: relative;
}

.overlay {
	align-items: center;
	background-color: #EFEFEF;
	display: none;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	left: 0px;
	opacity: .5;
	position: absolute;
	top: 0px;
	width: 100%;
}

/* PAN-478: CSP removing inline styles for spinner */
.spinner-border {
	height: 3rem;
	width: 3rem;
}
