/* Aivastark Widget — deactivation feedback modal.
 * Loaded only on the Plugins screen. Styled to sit naturally inside wp-admin
 * (system font, WP blue primary) while reading like the Chaty prompt. */

.aivastark-deact-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.6);
}

.aivastark-deact-modal {
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
	padding: 24px 28px;
	box-sizing: border-box;
}

.aivastark-deact-header h2 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	color: #1d2327;
}

.aivastark-deact-subtitle {
	margin: 10px 0 18px;
	color: #50575e;
	font-size: 13px;
	line-height: 1.5;
}

.aivastark-deact-reasons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
}

.aivastark-deact-reason {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.aivastark-deact-reason input[type="radio"] {
	margin: 2px 0 0;
}

.aivastark-deact-reason label {
	color: #1d2327;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.aivastark-deact-comment {
	width: 100%;
	box-sizing: border-box;
	resize: vertical;
	min-height: 64px;
	margin-bottom: 14px;
}

.aivastark-deact-email-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #50575e;
	margin-bottom: 4px;
}

.aivastark-deact-email {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.aivastark-deact-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.aivastark-deact-footer-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* The submit button keeps WP's primary blue; disabled state is dimmed. */
.aivastark-deact-submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.aivastark-deact-modal {
		padding: 20px;
	}
	.aivastark-deact-footer {
		flex-direction: column-reverse;
		align-items: stretch;
	}
	.aivastark-deact-footer-right {
		justify-content: space-between;
	}
}
