/**
 * SiteStaffr Deactivation Modal Styles
 *
 * Styles for the plugin deactivation confirmation dialog on the Plugins page.
 *
 * @package    SiteStaffr
 * @subpackage SiteStaffr/admin/css
 * @since      1.2.3
 */

#sitestaffr-deactivate-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(10, 15, 20, 0.55);
}
#sitestaffr-deactivate-modal.is-open {
	display: flex;
}
.sitestaffr-deactivate-card {
	width: min(620px, calc(100vw - 32px));
	background: #ffffff;
	border: 1px solid #dce5e8;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	overflow: hidden;
}
.sitestaffr-deactivate-header {
	padding: 12px 18px;
	background: #fdfbf7;
	color: #1f2937;
	border-bottom: 1px solid #e6dfd4;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 10px;
}
.sitestaffr-deact-header-spacer {
	margin-left: auto;
}
.sitestaffr-deactivate-logo {
	width: 185px;
	height: auto;
	object-fit: contain;
	max-width: 100%;
}
.sitestaffr-deact-warning {
	margin: 0 0 10px 0;
	font-weight: 700;
	color: #b42318;
}
.sitestaffr-deactivate-description {
	margin: 0 0 8px 0;
	color: #334155;
}
.sitestaffr-deactivate-step {
	margin: 0;
	font-weight: 600;
	color: #0f172a;
}
.sitestaffr-deactivate-body {
	padding: 18px;
	color: #1f2937;
	font-size: 14px;
	line-height: 1.55;
}
.sitestaffr-deactivate-feedback {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5ecef;
}
.sitestaffr-deactivate-feedback label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: #1f2937;
}
.sitestaffr-deactivate-feedback select,
.sitestaffr-deactivate-feedback textarea {
	width: 100%;
	border: 1px solid #cfdde2;
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 13px;
	color: #1f2937;
	background: #ffffff;
}
.sitestaffr-deactivate-feedback textarea {
	min-height: 76px;
	resize: vertical;
	margin-top: 8px;
}
.sitestaffr-deact-hidden {
	display: none !important;
}
.sitestaffr-deactivate-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	padding: 0 18px 18px 18px;
	justify-content: flex-start;
}
.sitestaffr-deact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.sitestaffr-deact-btn-cancel {
	background: #0d8f5e;
	border-color: #0a7b50;
	color: #ffffff;
}
.sitestaffr-deact-btn-portal {
	background: #ecf8fa;
	border-color: #b5dfe6;
	color: #0b6973;
}
.sitestaffr-deact-btn-confirm {
	background: #d63638;
	border-color: #b32d2e;
	color: #ffffff;
}
.sitestaffr-deact-btn-header-close {
	background: #0d8f5e;
	border-color: #0a7b50;
	color: #ffffff;
}

/* Mobile bottom sheet — mirrors the shared component's 782px behavior. */
@media screen and (max-width: 782px) {
	#sitestaffr-deactivate-modal {
		align-items: flex-end;
	}

	.sitestaffr-deactivate-card {
		width: 100%;
		max-height: 92vh;
		overflow-y: auto;
		border-radius: 12px 12px 0 0;
	}

	.sitestaffr-deactivate-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sitestaffr-deactivate-actions .sitestaffr-deact-btn {
		width: 100%;
	}
}
