/* Ссылка «восстановите доступ» в уведомлении об ошибке УНП — хорошо читается */
.alert.alert-danger .careerfy-restore-access-trigger,
.jobsearch-login-box .registration-errors .alert-danger .careerfy-restore-access-trigger,
.registration-errors .alert-danger .careerfy-restore-access-trigger {
	color: #fff !important;
	text-decoration: underline;
	font-weight: 600;
}
.alert.alert-danger .careerfy-restore-access-trigger:hover,
.registration-errors .alert-danger .careerfy-restore-access-trigger:hover {
	color: #fff !important;
	opacity: 0.9;
}

/* Попап «Восстановление доступа к организации» */
.careerfy-restore-access-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.careerfy-restore-access-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.careerfy-restore-access-box {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	max-width: 440px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
}

.careerfy-restore-access-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
}

.careerfy-restore-access-header h3 {
	margin: 0;
	font-size: 18px;
}

.careerfy-restore-access-close {
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
	padding: 0;
	width: 32px;
	height: 32px;
}

.careerfy-restore-access-close:hover {
	color: #000;
}

.careerfy-restore-access-body {
	padding: 20px;
}

.careerfy-restore-access-body p {
	margin: 0 0 14px 0;
}

.careerfy-restore-access-body label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.careerfy-restore-access-body .required {
	color: #c00;
}

.careerfy-restore-access-body input.widefat {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-sizing: border-box;
}

.careerfy-restore-access-desc {
	margin-bottom: 16px !important;
	color: #666;
	font-size: 14px;
}

.careerfy-restore-access-errors {
	color: #c00;
	margin-bottom: 12px !important;
}

.careerfy-restore-access-success {
	color: #0a0;
	margin-bottom: 12px !important;
}

.careerfy-restore-access-footer {
	padding: 20px 20px;
	border-top: 1px solid #eee;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

/* Кнопка «Отправить запрос» — полноценное оформление в стиле темы */
.careerfy-restore-access-submit.careerfy-restore-access-btn {
	display: inline-block;
	min-width: 180px;
	height: 44px;
	padding: 0 28px;
	background: #13b5ea;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
	box-sizing: border-box;
}

.careerfy-restore-access-submit.careerfy-restore-access-btn:hover {
	background: #0e9bc7;
	color: #fff !important;
	opacity: 1;
}

.careerfy-restore-access-submit.careerfy-restore-access-btn:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(19, 181, 234, 0.4);
}

.careerfy-restore-access-submit.careerfy-restore-access-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.careerfy-restore-access-loader {
	color: #666;
	font-size: 14px;
}
