html {
	scroll-behavior: smooth;
}

body {
	margin: 0;

	font-family: "Source Serif 4", serif;
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
	font-variation-settings: "wdth" 100;

	-webkit-tap-highlight-color: transparent;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

input, select, button, a, textarea {
  font-family: inherit;
}

.material-symbols-sharp {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

/* ===== CandOffice ===== */

.CandOffice {
	width: 100vw;
	height: 100dvh;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 20px;
	overflow: auto;
	background-color: #e5e8ee;
}
/* ====================================================
 * 		CandOffice_intro
 * ==================================================*/
.CandOffice_intro {
	width: 100%;
	max-width: 375px;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;

	margin: auto;
	padding: 20px;
	border-radius: 8px;
	background-color: #f8f9fa;

	-webkit-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_intro_logo {
	width: 80px;
}

.CandOffice_intro_title {
	color: #002d72;
	font-size: 21px;
	font-weight: 600;
	text-align: center;
	line-height: 1.3;
}

.CandOffice_intro_title:after {
	content: "";
	width: 50%;
	display: block;
	margin: 26px auto 0;
	border-bottom: 2px solid #F1C400;
}

.CandOffice_intro_txt {
	width: 100%;
	max-width: 500px;

	color: #31261D;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	line-height: 1.6;
}

/* ===== CandOffice_intro_btn ===== */

.CandOffice_intro_btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 400;

  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;

  transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;

  -webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_intro_btn
.material-symbols-sharp {
	font-size: 24px;
	font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_intro_btn.reg {
	color: #fff;
	padding: 12px 20px;
	background-color: #002d72;
}

.CandOffice_intro_btn.reg:hover {
	background-color: #0077ff;
}

.CandOffice_intro_btn.log {
	color: #002d72;
	border-color: #002d72;
	background-color: #fff;
}

.CandOffice_intro_btn.log:hover {
	color: #fff;
	border-color: #0077ff;
	background-color: #0077ff;
}

.CandOffice_intro_clue {
	color: #576a7b;
	font-size: 13px;
	font-weight: 300;
}
/* ====================================================
 * 		CandOffice_logIn
 * ==================================================*/
.CandOffice_logIn {
	width: 100%;
	max-width: 375px;

	display: flex;
	flex-direction: column;
	gap: 24px;

	margin: auto;
	padding: 20px;
	border-radius: 8px;
	background-color: #f8f9fa;

	-webkit-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_logIn_logo {
	width: 80px;
	margin: 0 auto;
}

.CandOffice_logIn_title {
	color: #002d72;
	font-size: 21px;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
}

.CandOffice_logIn_title:after {
	content: "";
	width: 50%;
	display: block;
	margin: 26px auto 0;
	border-bottom: 2px solid #F1C400;
}

.CandOffice_logIn_clue {
	color: #576a7b;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.CandOffice_logIn_form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.CandOffice_logIn_form_inputGroup {
	display: flex;
	flex-direction: column;
}

.CandOffice_logIn_form_inputGroup label {
	width: fit-content;

	color: #002d72;
	font-size: 13px;
	font-weight: 600;

	margin-left: 6px;
	margin-bottom: -12px;
	padding: 2px 6px;
	border: 1px solid #ccd1e0;
	border-radius: 4px;
	background-color: #fff;
	z-index: 10;
	transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;
}

.CandOffice_logIn_form_inputGroup input {
	color: #31261D;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;

	padding: 18px 10px 10px;
	border: 1px solid #ccd1e0;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.3s ease;

	-webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_logIn_form_inputGroup input:focus {
	border-color: #0077ff;
}

.CandOffice_logIn_form_inputGroup:has(input:focus) label {
	color: #fff;
	border-color: #0077ff;
	background-color: #0077ff;
}

.CandOffice_logIn_btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	color: #fff;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 400;

  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #002d72;

  transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;

  -webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_logIn_btn
.material-symbols-sharp {
	font-size: 24px;
	font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_logIn_btn:hover {
	background-color: #0077ff;
}

.CandOffice_logIn_regLink {
	display: flex;
	align-items: center;
	gap: 8px;

	text-decoration: none;
  margin: 16px auto;
}

.CandOffice_logIn_regLink
.material-symbols-sharp {
	color: #002d72;
	font-size: 20px;
	font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_logIn_regLink_txt {
	color: #002d72;
  font-size: 13px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 400;
  text-decoration: underline 1px transparent;
  transition: text-decoration-color 0.3s ease;
}

.CandOffice_logIn_regLink:hover
.CandOffice_logIn_regLink_txt {
	text-decoration-color: inherit;
}
/* ====================================================
 * 		CandOffice_registration
 * ==================================================*/
.CandOffice_registration {
	width: 100%;
	max-width: 768px;

	display: flex;
	flex-direction: column;
	gap: 24px;

	margin: auto;
	padding: 20px;
	border-radius: 8px;
	background-color: #f8f9fa;

	-webkit-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 7px 14px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_top {
	display: grid;
	grid-template-columns: 80px auto;
	grid-gap: 8px 20px;
}

.CandOffice_registration_logo {
	width: 80px;
	grid-row: span 2;
	align-self: center;
}

.CandOffice_registration_title {
	color: #002d72;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	align-self: flex-end;
}

.CandOffice_registration_title:after {
	content: "";
	width: 100%;
	display: block;
	margin-top: 8px;
	border-bottom: 2px solid #F1C400;
}

.CandOffice_registration_clue {
	color: #576a7b;
	font-size: 13px;
	font-weight: 600;
	align-self: flex-start;
}

.CandOffice_registration_inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}


.CandOffice_registration_formGroup {
	display: flex;
	flex-direction: column;
}

.CandOffice_registration_formGroup > label {
	width: fit-content;

	color: #002d72;
	font-size: 13px;
	font-weight: 600;

	margin-left: 6px;
	margin-bottom: -12px;
	padding: 2px 6px;
	border: 1px solid #ccd1e0;
	border-radius: 4px;
	background-color: #fff;
	z-index: 10;
	transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;
}

.CandOffice_registration_formGroup > label.required
.req {
	display: unset;
}

.CandOffice_registration_formGroup > label.required
.opt {
	display: none;
}

.CandOffice_registration_formGroup > label.optional
.req {
	display: none;
}

.CandOffice_registration_formGroup > label.optional
.opt {
	display: unset;
}

/* Текстовые поля и селекты */

.CandOffice_registration_formGroup input, 
.CandOffice_registration_formGroup select {
	color: #31261D;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;

	padding: 18px 10px 10px;
	border: 1px solid #ccd1e0;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.3s ease;

	-webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_formGroup input:focus,
.CandOffice_registration_formGroup select:focus {
	border-color: #0077ff;
}

.CandOffice_registration_formGroup:has( 
input:focus,
select:focus) 
label {
	border-color: #0077ff;
}

/* Радио-кнопки */

.CandOffice_registration_radioGroup {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 6px;

	padding: 15px 3px 3px;
	border: 1px solid #ccd1e0;
	border-radius: 6px;
	background-color: #fff;
}

.CandOffice_registration_radioGroup label {
	display: flex;
	align-items: center;
	gap: 6px;

	color: #31261D;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.3px;

	padding: 8px;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	background-color: #f8f9fa;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.CandOffice_registration_radioGroup label:before {
	content: '\e836';
	color: #bfc4ce;
	font-size: 18px;
	font-family: material symbols sharp;
	font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' 0,
  'opsz' 48;
  transition: color 0.3s ease;
}

.CandOffice_registration_radioGroup input {
	display: none;
}

.CandOffice_registration_radioGroup label:has(input:checked) {
	color: #0077ff;
	background-color: rgba(0, 119, 255, 0.1);
}

.CandOffice_registration_radioGroup label:has(input:checked):before {
	color: #0077ff;
	content: '\e86c';
}

/* Кастомное поле загрузки файла */

.CandOffice_registration_fileGroup {
	display: flex;
	flex-direction: column;
	grid-column: span 2;
}

.CandOffice_registration_fileGroup_title {
	width: fit-content;

	color: #002d72;
	font-size: 13px;
	font-weight: 600;

	margin-left: 6px;
	margin-bottom: -12px;
	padding: 2px 6px;
	border: 1px solid #ccd1e0;
	border-radius: 4px;
	background-color: #fff;
	z-index: 10;
	transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;
}

.CandOffice_registration_fileGroup_title.required
.req {
	display: unset;
}

.CandOffice_registration_fileGroup_title.required
.opt {
	display: none;
}

.CandOffice_registration_fileGroup_title.optional
.req {
	display: none;
}

.CandOffice_registration_fileGroup_title.optional
.opt {
	display: unset;
}

.CandOffice_registration_fileGroup_inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-gap: 20px;

	border: 1px solid #ccd1e0;
	border-radius: 6px;
	padding: 18px 10px 10px;
	background-color: #fff;

	 -webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_fileGroup_select {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.CandOffice_registration_fileGroup_select label {
	color: #002d72;
	font-size: 13px;
	font-weight: 600;
}

.CandOffice_registration_fileGroup_select select {
	width: 100%;
	min-height: 52px;

	color: #31261D;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;

	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

	padding: 10px;
	border: 1px solid #ccd1e0;
	border-radius: 6px;
	outline: none;
	background-color: #fff;
	transition: border-color 0.3s ease;

	-webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_fileGroup_select select:focus {
	border-color: #0077ff;
}

.CandOffice_registration_fileGroup_select option {
	color: #31261D;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;
}

.CandOffice_registration_fileGroup_download {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.CandOffice_registration_fileGroup_download 
input[type="file"] {
	display: none;
}

.CandOffice_registration_fileGroup_download
label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;

	color: #061843;
	font-size: 13px;
	font-weight: 600;

	padding: 13px 10px;
	border: 1px dashed #0077ff;
	border-radius: 8px;
	cursor: pointer;
	background-color: rgba(0, 119, 255, 0.1);
	transition: background-color 0.3s ease;

	-webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_fileGroup_download
label .material-symbols-sharp {
	font-size: 24px;
	font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_registration_fileGroup_download
label:hover {
	background-color: rgba(0, 119, 255, 0.2);
}

.file-name {
	width: 100%;
	max-width: 100%;

	color: #576a7b;
	font-size: 13px;
	font-weight: 600;

	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== CandOffice_registration_submitBtn ===== */

.CandOffice_registration_submitBtn {
	width: fit-content;
	min-width: 300px;
	align-self: flex-end;
	grid-column: span 2;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;

	color: #fff;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 400;

  margin: 30px auto 0;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background-color: #002d72;

  transition: color 0.3s ease,
  border-color 0.3s ease,
  background-color 0.3s ease;

  -webkit-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  -moz-box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
  box-shadow: 0px 3px 9px 0px rgba(5, 17, 46, 0.12);
}

.CandOffice_registration_submitBtn
.material-symbols-sharp {
	font-size: 24px;
	font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_registration_submitBtn:hover {
	background-color: #0077ff;
}

.CandOffice_registration_lodLink {
	display: flex;
	align-items: center;
	gap: 8px;
	grid-column: span 2;

	text-decoration: none;
  margin: 16px auto;
}

.CandOffice_registration_lodLink
.material-symbols-sharp {
	color: #002d72;
	font-size: 20px;
	font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
}

.CandOffice_registration_lodLink {
	color: #002d72;
  font-size: 13px;
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 400;
  text-decoration: underline 1px transparent;
  transition: text-decoration-color 0.3s ease;
}

.CandOffice_registration_lodLink:hover
.CandOffice_registration_lodLink_txt {
	text-decoration-color: inherit;
}

@media screen and (max-width: 768px) {
	.CandOffice {
		padding: 10px;
	}

	.CandOffice_registration {
		padding: 20px 14px;
	}

	.CandOffice_registration_inner {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.CandOffice_registration_top {
		grid-template-columns: 55px auto;
		grid-gap: 10px;
	}

	.CandOffice_registration_logo {
		width: 55px;
	}

	.CandOffice_registration_title {
		font-size: 18px;
	}

	.CandOffice_registration_clue {
		font-size: 12px;
	}

	.CandOffice_registration_fileGroup_inner {
		display: flex;
		flex-direction: column;
		gap: 14px;
	}

	.CandOffice_registration_submitBtn {
		width: 100%;
	}
}