.abuse-report-form {
	max-width: 1100px;
	padding: 0 24px;
	min-height: 80vh;
}

/* Field-name heading above the DMCA/CSAM attestation checkboxes */
.abuse-report-form__checkbox-label {
	display: block;
	margin-bottom: 8px;
}

.abuse-report-form .form-check {
	display: block;
}

.abuse-report-form__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.abuse-report-form__header .form-group {
	min-width: 280px;
	flex: 1;
	margin-bottom: 0;
}

.abuse-report-form__layout {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.abuse-report-form__main {
	flex: 1;
	min-width: 0;
}

.abuse-report-form__info-panel {
	width: 260px;
	flex-shrink: 0;
	background: #f5f7fa;
	border-radius: 3px;
	padding: 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #4a4f63;
	position: sticky;
	top: 24px;
}

.abuse-report-form__info-panel h4 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: #007bfc;
}

.abuse-report-form__info-panel .info-panel-links {
	margin-top: 14px;
	padding-top: 0;
	font-size: 13px;
}

.abuse-report-form__info-panel .info-panel-links a {
	color: #007bfc;
	text-decoration: none;
	display: block;
	margin-bottom: 4px;
}

.abuse-report-form__info-panel .info-panel-links a:hover {
	text-decoration: underline;
}

.abuse-report-form__required {
	color: #f55656;
	font-weight: 700;
}

.abuse-report-form__optional {
	font-size: 14px;
	color: #a1a5b2;
	font-weight: 400;
}

.abuse-report-form__intro {
	border-radius: 3px;
	font-size: 18px;
	line-height: 1.75;
	color: #4a4f63;
}

.abuse-report-form__intro p {
	margin: 0;
}

.abuse-report-form textarea.form-control {
	font-family: inherit !important;
	overflow-y: auto;
}

.abuse-report-form textarea.form-control::placeholder {
	font-size: inherit;
	font-weight: inherit;
}

/* Searchable select widget — replaces Selectize for this form */
.abuse-ss {
	position: relative;
	display: flex !important;
	align-items: center;
	cursor: pointer;
	user-select: none;
	padding-right: 40px !important;
	outline: none;
}

.abuse-ss::after {
	content: '';
	position: absolute;
	right: 10px;
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238692b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 20px no-repeat;
	pointer-events: none;
	transition: transform 0.15s;
}

.abuse-ss.is-open {
	border-color: #007bfc;
}

.abuse-ss.is-open::after {
	transform: translateY(-50%) rotate(180deg);
}

.abuse-ss:focus {
	border-color: #007bfc;
}

.abuse-ss__display {
	flex: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.abuse-ss__display--placeholder {
	color: rgba(82, 86, 102, 0.54);
}

.abuse-ss__panel {
	display: none;
	position: absolute;
	top: calc(100% + 2px);
	left: -1px;
	right: -1px;
	z-index: 200;
	background: #fff;
	border: 1px solid #d3d6e2;
	border-radius: 3px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.abuse-ss.is-open .abuse-ss__panel {
	display: block;
}

.abuse-ss__search {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid #e9ebf0;
	font-size: 16px;
	font-family: inherit;
	color: #525666;
	outline: none;
	box-sizing: border-box;
}

.abuse-ss__list {
	list-style: none;
	margin: 0;
	padding: 4px 0;
	max-height: 380px;
	overflow-y: auto;
}

#abuse-type-widget .abuse-ss__list {
	max-height: none;
}

.abuse-ss__option {
	padding: 9px 14px;
	font-size: 16px;
	cursor: pointer;
	color: #525666;
	outline: none;
}

.abuse-ss__option:hover,
.abuse-ss__option:focus {
	background: #f0f5ff;
	color: #007bfc;
}

.abuse-ss__option.is-active {
	color: #007bfc;
	font-weight: 500;
}

.form-group.is-error .abuse-ss {
	border-color: #f55656;
}

.abuse-report-form__row {
	display: flex;
	gap: 16px;
}

.abuse-report-form__row .form-group {
	flex: 1;
}

.abuse-report-form__textarea--lg {
	min-height: 160px !important;
}

.abuse-report-form__actions {
	border-top: 1px solid #e6e9eb;
	padding-top: 24px;
}

.abuse-report-form__notice {
	width: 100%;
	background: #fff8e6;
	border-left: 3px solid #f2c94c;
	padding: 14px 16px;
	border-radius: 0 3px 3px 0;
	font-size: 17px;
	line-height: 1.5;
	color: #4a4f63;
}

.abuse-report-form__notice a {
	color: #007bfc;
	text-decoration: none;
}

.abuse-report-form__notice a:hover {
	font-weight: 500;
}

.abuse-report-form .help-block {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: #6b7280;
	margin-top: 3px;
	margin-bottom: 6px;
}

.abuse-report-form__counter {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: #6b7280;
	margin-top: 4px;
	text-align: right;
}

.abuse-report-form__counter--limit {
	color: #c63200;
	font-weight: 500;
}

.abuse-report-form__message {
	padding: 16px 20px;
	border-radius: 3px;
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 24px;
}

.abuse-report-form__message--success {
	background: #edfaf1;
	border-left: 3px solid #2ecc71;
	color: #1a6b3a;
}

.abuse-report-form__message--error {
	background: #fef2f2;
	border-left: 3px solid #f55656;
	color: #7b1c1c;
}

.form-group.is-error .form-feedback {
	color: #f55656;
}

@media (max-width: 751px) {
	.abuse-report-form {
		padding: 0 16px;
		min-height: 110vh;
	}

	.abuse-report-form__intro {
		font-size: 16px;
	}

	.abuse-report-form__header {
		flex-direction: column;
	}

	.abuse-report-form__header .form-group {
		min-width: 0;
		width: 100%;
	}

	.abuse-report-form__layout {
		flex-direction: column;
	}

	.abuse-report-form__info-panel {
		width: 100%;
		position: static;
		order: -1;
	}

	.abuse-report-form__row {
		flex-direction: column;
		gap: 0;
	}

	.abuse-report-form .form-control,
	.abuse-ss__search {
		font-size: 16px !important;
	}
}

@media (max-width: 359px) {
	.abuse-report-form #field-captcha .g-recaptcha {
		transform: scale(0.85);
		transform-origin: left top;
	}
}