/**
 * Account support styles.
 *
 * Location: /assets/css/frontend/account/support.css
 *
 * @package SunTechPortal
 */

.stp-account-surface--support {
	display: grid;
	gap: 18px;
	width: 100%;
	min-width: 0;
}

.stp-account-surface--support .stp-account-section__head {
	display: grid;
	gap: 7px;
	margin: 0;
}

.stp-account-surface--support .stp-account-section__head p,
.stp-account-surface--support .stp-account-section__head h2,
.stp-account-surface--support .stp-account-section__head span {
	margin: 0;
}

.stp-account-surface--support .stp-account-section__head p {
	color: var(--stp-account-accent);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.stp-account-surface--support .stp-account-section__head h2 {
	color: var(--stp-account-text);
	font-size: clamp(24px, 2vw, 32px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.stp-account-surface--support .stp-account-section__head span {
	max-width: 760px;
	color: var(--stp-account-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
}

.stp-support-panel {
	display: grid;
	gap: 16px;
	min-height: 300px;
	padding: 20px;
	border: 1px solid var(--stp-account-border);
	border-radius: 20px;
	background: #ffffff;
}

.stp-support-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.stp-support-panel__head h3,
.stp-support-panel__head p {
	margin: 0;
}

.stp-support-panel__head h3 {
	color: var(--stp-account-text);
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.stp-support-panel__head p {
	max-width: 620px;
	margin-top: 5px;
	color: var(--stp-account-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
}

.stp-support-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--stp-account-primary);
	border-radius: 12px;
	background: var(--stp-account-primary);
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.stp-support-button .dashicons {
	width: 15px;
	height: 15px;
	color: currentColor !important;
	font-size: 15px;
	line-height: 1;
}

.stp-support-button:visited,
.stp-support-button:hover,
.stp-support-button:focus {
	border-color: var(--stp-account-primary-dark);
	background: var(--stp-account-primary-dark);
	color: #ffffff !important;
	outline: none;
}

.stp-support-button--ghost {
	border-color: var(--stp-account-border) !important;
	background: #ffffff !important;
	color: var(--stp-account-text) !important;
}

.stp-support-button--ghost:visited {
	color: var(--stp-account-text) !important;
}

.stp-support-button--ghost:hover,
.stp-support-button--ghost:focus {
	border-color: #fed7aa !important;
	background: #fff7ed !important;
	color: var(--stp-account-primary-dark) !important;
}

.stp-support-status {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	min-width: 0;
	padding: 18px;
	border: 1px solid var(--stp-account-border);
	border-radius: 18px;
	background: #ffffff;
}

.stp-support-status__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: #fff7ed;
	color: #0f172a;
}

.stp-support-status__icon .dashicons {
	width: 30px;
	height: 30px;
	color: inherit;
	font-size: 30px;
	line-height: 1;
}

.stp-support-status__content {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.stp-support-status__content strong,
.stp-support-status__content p {
	margin: 0;
}

.stp-support-status__content strong {
	color: var(--stp-account-text);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
}

.stp-support-status__content p {
	max-width: 720px;
	color: var(--stp-account-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

.stp-support-list {
	display: grid;
	gap: 14px;
	min-height: 240px;
}

.stp-support-empty {
	display: grid;
	place-items: center;
	justify-items: center;
	gap: 10px;
	min-height: 240px;
	padding: 26px 18px;
	border: 1px dashed var(--stp-account-border);
	border-radius: 18px;
	background: #ffffff;
	text-align: center;
}

.stp-support-empty__icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 18px;
	background: #fff7ed;
	color: #0f172a;
}

.stp-support-empty__icon .dashicons {
	width: 26px;
	height: 26px;
	color: inherit;
	font-size: 26px;
	line-height: 1;
}

.stp-support-empty h3,
.stp-support-empty p {
	margin: 0;
}

.stp-support-empty h3 {
	color: var(--stp-account-text);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
}

.stp-support-empty p {
	max-width: 560px;
	color: var(--stp-account-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

@media (max-width: 1180px) {
	.stp-account-surface--support {
		gap: 12px;
	}

	.stp-account-surface--support .stp-account-section__head {
		gap: 5px;
	}

	.stp-account-surface--support .stp-account-section__head p {
		font-size: 10px;
	}

	.stp-account-surface--support .stp-account-section__head h2 {
		font-size: clamp(20px, 4.8vw, 26px);
	}

	.stp-account-surface--support .stp-account-section__head span {
		font-size: 11px;
		line-height: 1.45;
	}

	.stp-support-panel {
		gap: 12px;
		min-height: 260px;
		padding: 14px;
		border-radius: 16px;
	}

	.stp-support-panel__head {
		display: grid;
		gap: 10px;
	}

	.stp-support-panel__head h3 {
		font-size: 15px;
	}

	.stp-support-panel__head p {
		font-size: 10px;
		line-height: 1.45;
	}

	.stp-support-panel__head .stp-support-button {
		width: 100%;
	}

	.stp-support-status {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 10px;
		padding: 12px;
		border-radius: 16px;
	}

	.stp-support-status__icon {
		width: 46px;
		height: 46px;
		border-radius: 15px;
	}

	.stp-support-status__icon .dashicons {
		width: 22px;
		height: 22px;
		font-size: 22px;
	}

	.stp-support-status__content strong {
		font-size: 14px;
	}

	.stp-support-status__content p {
		font-size: 10px;
		line-height: 1.45;
	}

	.stp-support-empty {
		min-height: 210px;
		padding: 22px 14px;
		border-radius: 16px;
	}

	.stp-support-empty__icon {
		width: 46px;
		height: 46px;
		border-radius: 15px;
	}

	.stp-support-empty__icon .dashicons {
		width: 22px;
		height: 22px;
		font-size: 22px;
	}

	.stp-support-empty h3 {
		font-size: 15px;
	}

	.stp-support-empty p {
		font-size: 10px;
		line-height: 1.5;
	}
}

@media (max-width: 600px) {
	.stp-support-panel {
		padding: 11px;
		border-radius: 14px;
	}

	.stp-support-button {
		min-height: 38px;
		padding: 0 12px;
		border-radius: 10px;
		font-size: 10px;
	}

	.stp-support-status {
		grid-template-columns: 40px minmax(0, 1fr);
		padding: 10px;
	}

	.stp-support-status__icon {
		width: 40px;
		height: 40px;
		border-radius: 13px;
	}

	.stp-support-status__icon .dashicons {
		width: 19px;
		height: 19px;
		font-size: 19px;
	}

	.stp-support-empty {
		min-height: 180px;
		padding: 20px 12px;
	}
}