.pdot-cap {
	max-width: 44rem;
	color: inherit;
}

.pdot-cap-single {
	max-width: 44rem;
	margin-bottom: 2rem;
}

.wp-block-pdot-application-form.alignwide .pdot-cap,
.wp-block-pdot-application-form.alignfull .pdot-cap {
	max-width: none;
}

.pdot-cap-title,
.pdot-cap-apply-title,
.pdot-cap-job-title {
	margin: 0 0 0.35rem;
	line-height: 1.25;
}

.pdot-cap-apply-title {
	font-size: 1.25rem;
}

.pdot-cap-meta,
.pdot-cap-excerpt,
.pdot-cap-hint,
.pdot-cap-share-note {
	margin: 0 0 0.85rem;
	opacity: 0.85;
	font-size: 0.95rem;
	line-height: 1.5;
}

.pdot-cap-description {
	margin: 0 0 1.25rem;
}

.pdot-cap-description p:last-child {
	margin-bottom: 0;
}

.pdot-cap-job-list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.85rem;
}

.pdot-cap-job {
	margin: 0;
	padding: 1.1rem 1.2rem 1.15rem;
	border: 1px solid rgba(127, 127, 127, 0.35);
	background: rgba(255, 255, 255, 0.04);
}

.pdot-cap-job-title a,
.pdot-cap-apply-link {
	color: var(--thm-primary, #7b40c0);
	text-decoration: none;
}

.pdot-cap-apply-link {
	display: inline-block;
	margin-top: 0.35rem;
	font-weight: 600;
}

.pdot-cap-job-title a:hover,
.pdot-cap-apply-link:hover,
.pdot-cap-share-actions a:hover {
	text-decoration: underline;
}

.pdot-cap-form {
	margin-top: 1.5rem;
}

.pdot-cap-fields {
	display: grid;
	gap: 0.85rem;
}

.pdot-cap-field {
	margin: 0;
}

.pdot-cap-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.pdot-cap-req {
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 0.01em;
	opacity: 0.7;
}

.pdot-cap .pdot-cap-input {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 0;
	border-radius: 0;
	background: var(--thm-light, #f2f4f8);
	color: #1d2327;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
}

.pdot-cap textarea.pdot-cap-input {
	min-height: 8rem;
	resize: vertical;
}

.pdot-cap .pdot-cap-file {
	padding: 0.65rem 0.75rem;
	background: var(--thm-light, #f2f4f8);
	color: #1d2327;
}

.pdot-cap .pdot-cap-input:focus {
	outline: 2px solid var(--thm-primary, #7b40c0);
	outline-offset: 1px;
}

.pdot-cap-check label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 500;
}

.pdot-cap-check input {
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

.pdot-cap-submit,
.pdot-cap .pdot-cap-copy {
	display: inline-block;
	margin-top: 0.35rem;
	padding: 0.75rem 1.4rem;
	border: 0;
	border-radius: 0;
	background: var(--thm-primary, #7b40c0);
	color: var(--thm-base, #fff);
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.pdot-cap .pdot-cap-copy {
	margin-top: 0;
	padding: 0.55rem 0.9rem;
	background: transparent;
	color: var(--thm-primary, #7b40c0);
	border: 1px solid var(--thm-primary, #7b40c0);
}

.pdot-cap-submit:hover,
.pdot-cap .pdot-cap-copy:hover {
	filter: brightness(1.08);
}

.pdot-cap-submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.pdot-cap-hint {
	display: block;
	margin-top: 0.3rem;
}

.pdot-cap-alert,
.pdot-cap-status-msg {
	margin: 0 0 1rem;
	padding: 0.75rem 0.9rem;
	line-height: 1.45;
}

.pdot-cap-status-msg:empty {
	display: none;
}

.pdot-cap-alert.is-success,
.pdot-cap-status-msg.is-success {
	background: rgba(20, 120, 70, 0.16);
}

.pdot-cap-alert.is-error,
.pdot-cap-status-msg.is-error {
	background: rgba(180, 40, 40, 0.16);
}

.pdot-cap-alert.is-info,
.pdot-cap-status-msg.is-info {
	background: rgba(123, 64, 192, 0.16);
}

.pdot-cap-empty {
	margin: 0.5rem 0 0;
}

.pdot-cap-share {
	margin: 0 0 1.25rem;
}

.pdot-cap-share-label {
	margin: 0 0 0.4rem;
	font-weight: 600;
}

.pdot-cap-share-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.pdot-cap .pdot-cap-share-url {
	flex: 1 1 16rem;
	min-width: 0;
	margin: 0;
	padding: 0.55rem 0.7rem;
	border: 1px solid rgba(127, 127, 127, 0.45);
	background: var(--thm-light, #f2f4f8);
	color: #1d2327;
	font: inherit;
	font-size: 0.95rem;
}

.pdot-cap-share-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin: 0.55rem 0 0;
}

.pdot-cap-share-actions a {
	color: var(--thm-primary, #7b40c0);
	font-weight: 600;
	text-decoration: none;
}

.pdot-cap-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pdot-cap-fallback {
	max-width: 44rem;
	margin: 2rem auto;
	padding: 0 1.25rem;
}

.pdot-cap-admin .pdot-cap-share {
	max-width: 40rem;
	margin: 1rem 0;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.pdot-cap-admin .pdot-cap-share-url {
	width: 100%;
	max-width: 28rem;
	margin: 0 6px 6px 0;
}

.pdot-cap-admin .pdot-cap-share-actions a {
	margin-right: 10px;
}

.pdot-cap-admin .pdot-cap-shortcode {
	margin: 0 0 1rem;
}

.pdot-cap-admin .pdot-cap-admin-help {
	max-width: 52rem;
}

.pdot-cap-template-note {
	color: #50575e;
	font-size: 12px;
	margin-top: 2px;
}

.pdot-cap-reply,
.pdot-cap-sent {
	max-width: 52rem;
	margin-top: 2rem;
	padding-top: 0.5rem;
	border-top: 1px solid #dcdcde;
}

.pdot-cap-sent-item {
	margin: 0 0 1rem;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid #dcdcde;
}

.pdot-cap-sent-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 0.4rem;
}

.pdot-cap-sent-message {
	white-space: pre-wrap;
	margin-top: 0.6rem;
}

.pdot-cap-reply textarea {
	min-height: 14rem;
}

.pdot-cap-badge {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 999px;
	background: #f0f0f1;
	color: #1d2327;
	font-size: 12px;
	line-height: 1.7;
}

.pdot-cap-badge.is-open,
.pdot-cap-badge.is-shortlisted {
	background: #e6f6ec;
	color: #0a5c2e;
}

.pdot-cap-badge.is-new {
	background: #e7f3ff;
	color: #0a4b78;
}

.pdot-cap-badge.is-closed,
.pdot-cap-badge.is-rejected {
	background: #fce8e8;
	color: #8a1f1f;
}

.pdot-cap-badge.is-draft,
.pdot-cap-badge.is-reviewed {
	background: #f0f0f1;
	color: #1d2327;
}

@media (max-width: 600px) {
	.pdot-cap-share-row {
		align-items: stretch;
	}

	.pdot-cap .pdot-cap-copy {
		width: 100%;
	}
}
