/**
 * Deactivation Feedback Framework
 */

#psm-dfr-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
}

.psm-dfr-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.psm-dfr-container {
	position: relative;
	width: 560px;
	max-width: calc(100% - 40px);
	margin: 80px auto;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

.psm-dfr-container h2 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
	color: #1d2327;
}

.psm-dfr-container p {
	margin: 0 0 16px;
	font-size: 13px;
	color: #50575e;
}

#psm-dfr-reasons {
	margin-bottom: 16px;
}

#psm-dfr-reasons div {
	margin: 0 0 10px;
}

#psm-dfr-reasons label {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #1d2327;
	cursor: pointer;
}

#psm-dfr-reasons input[type="radio"] {
	margin-right: 8px;
}

#psm-dfr-note {
	width: 100%;
	min-height: 90px;
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-sizing: border-box;
	resize: vertical;
	font-size: 13px;
}

#psm-dfr-note:focus {
	border-color: #2271b1;
	outline: none;
	box-shadow: 0 0 0 1px #2271b1;
}

.psm-dfr-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 20px;
}

.psm-dfr-actions .button {
	min-width: 110px;
}

#psm-dfr-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.psm-dfr-privacy-note {
	margin-top: 14px;
	font-size: 10px;
	font-style: italic;
	color: #50575e;
}

@media screen and (max-width: 600px) {
	.psm-dfr-container {
		width: auto;
		margin: 30px 15px;
		padding: 18px;
	}

	.psm-dfr-actions {
		flex-direction: column;
	}

	.psm-dfr-actions .button {
		width: 100%;
	}
}
