:root {
	--kodki-ink: #14283c;
	--kodki-ink-soft: #3d5368;
	--kodki-teal: #1b6b66;
	--kodki-teal-dark: #14544f;
	--kodki-gold: #b0893e;
	--kodki-paper: #f3efe6;
	--kodki-paper-2: #e7eef2;
	--kodki-card: #ffffff;
	--kodki-line: #d5dee6;
	--kodki-danger: #8b2e2e;
	--kodki-accent: #0085ff;
}

html {
	font-size: 16px;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--kodki-paper);
	color: var(--kodki-ink);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
}

a {
	color: var(--kodki-teal-dark);
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.kodki-header {
	background: var(--kodki-ink);
	color: #f4efe4;
	padding: 16px 0;
	margin: 0;
	flex-shrink: 0;
}

.kodki-header a {
	color: inherit;
	text-decoration: none;
}

.kodki-header-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.kodki-brand {
	display: block;
	min-width: 0;
	flex: 1 1 auto;
}

.kodki-brand-text {
	display: block;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	max-width: 48em;
}

.kodki-header-meta {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	padding-top: 2px;
}

.kodki-btn,
.kodki-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.kodki-btn {
	background: var(--kodki-teal);
	color: #fff;
}

.kodki-btn:hover,
.kodki-btn:focus {
	background: var(--kodki-teal-dark);
	color: #fff;
}

.kodki-home-wrap {
	max-width: 1120px;
	width: 100%;
	margin: 0 auto;
	padding: 48px 20px 32px;
	flex: 1 0 auto;
}

.kodki-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 40px;
	align-items: start;
}

.kodki-kicker {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kodki-teal);
	font-weight: 600;
	margin-bottom: 14px;
}

.kodki-title {
	font-size: clamp(20px, 2.4vw, 30px);
	line-height: 1.3;
	color: var(--kodki-ink);
	font-weight: 700;
	margin: 0 0 18px;
}

.kodki-lead {
	font-size: 17px;
	line-height: 1.55;
	color: var(--kodki-ink-soft);
	margin: 0 0 28px;
}

.kodki-points {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kodki-points li {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--kodki-line);
	border-radius: 12px;
	padding: 14px 16px;
}

.kodki-points strong {
	display: block;
	color: var(--kodki-ink);
	font-size: 15px;
	margin-bottom: 4px;
}

.kodki-points span {
	display: block;
	color: var(--kodki-ink-soft);
	font-size: 14px;
	line-height: 1.45;
}

.kodki-login-card {
	background: var(--kodki-card);
	border: 1px solid var(--kodki-line);
	border-radius: 22px;
	padding: 28px 28px 24px;
	box-shadow: 0 18px 40px rgba(20, 40, 60, 0.08);
}

.kodki-login-card h2 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.3;
	color: var(--kodki-ink);
	font-weight: 700;
}

.kodki-login-card .kodki-login-note {
	margin: 0 0 22px;
	color: var(--kodki-ink-soft);
	font-size: 14px;
}

.kodki-login-card .alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f8eaea;
	color: var(--kodki-danger);
	font-size: 14px;
}

.kodki-login-card .input,
.input {
	width: 100%;
	max-width: none;
	height: 48px;
	border: 1px solid #c9d4de;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 16px;
	background: #fbfcfd;
	box-sizing: border-box;
	font-family: inherit;
}

.kodki-login-card .input:focus,
.input:focus {
	outline: 2px solid rgba(27, 107, 102, 0.35);
	border-color: var(--kodki-teal);
}

.kodki-login-card .login-username,
.kodki-login-card .login-password,
.kodki-login-card .login-submit {
	margin: 0 0 12px;
}

.kodki-login-card #wp-submit {
	width: 100%;
	height: 48px;
	border: 0;
	border-radius: 10px;
	background: var(--kodki-ink);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	text-transform: none;
	letter-spacing: 0;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
}

.kodki-login-card #wp-submit:hover,
.kodki-login-card #wp-submit:focus {
	background: #0e1d2c;
	text-decoration: none;
}

.kodki-login-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.kodki-login-actions .kodki-btn,
.kodki-login-actions .kodki-link {
	width: 100%;
}

.kodki-btn-outline {
	background: #fff;
	color: var(--kodki-ink);
	border: 1px solid var(--kodki-line);
}

.kodki-btn-outline:hover,
.kodki-btn-outline:focus {
	background: var(--kodki-paper-2);
	color: var(--kodki-ink);
}

.kodki-link {
	display: inline-block;
	text-align: center;
	font-size: 14px;
	color: var(--kodki-teal-dark);
	text-decoration: underline;
}

.kodki-modal[hidden] {
	display: none;
}

.kodki-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.kodki-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(14, 29, 44, 0.55);
}

.kodki-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 100%);
	background: #fff;
	border-radius: 18px;
	padding: 28px 26px 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.kodki-modal-dialog h3 {
	margin: 0 0 12px;
	font-size: 20px;
	color: var(--kodki-ink);
}

.kodki-modal-dialog p {
	margin: 0 0 12px;
	color: var(--kodki-ink-soft);
	font-size: 15px;
	line-height: 1.5;
}

.kodki-modal-close {
	margin-top: 10px;
}

.kodki-footer {
	margin-top: auto;
	padding: 28px 0 40px;
	border-top: 1px solid var(--kodki-line);
	color: var(--kodki-ink-soft);
	flex-shrink: 0;
}

.kodki-footer-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.kodki-footer h2 {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--kodki-gold);
	margin: 0 0 8px;
	font-weight: 700;
}

.kodki-cite {
	font-size: 14px;
	line-height: 1.55;
	margin: 0;
	color: var(--kodki-ink);
}

.kodki-cert {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
}

.fon-block {
	min-height: 100vh;
	background: linear-gradient(180deg, #eef3f6 0%, #f6f3ec 100%);
	flex: 1 0 auto;
}

.kodki-header + .container,
.fon-block .container {
	padding-top: 24px;
	padding-bottom: 40px;
}

.block-content {
	background: #fff;
	border: 1px solid var(--kodki-line);
	border-radius: 24px;
	padding: 28px 36px;
}

.block-content-start {
	border-radius: 40px;
	padding: 40px 0;
}

.welcome {
	color: #000;
	font-size: 24px;
	padding: 40px 0 0;
	margin: 0;
	font-weight: 500;
	line-height: 1.35;
}

.welcome span {
	color: #831ad3;
	font-size: 16px;
	display: block;
	font-weight: 400;
	line-height: 20px;
	margin-top: 12px;
}

.cat-title {
	font-size: 22px;
	font-weight: 600;
	margin: 28px 0 12px;
	color: #14283c;
}

.catsub-title {
	font-size: 16px;
	font-weight: 600;
	margin: 18px 0 8px;
}

.row-input {
	margin: 0 0 14px;
}

.row-input span {
	display: block;
	margin-bottom: 6px;
	color: #00364a;
	font-size: 14px;
}

.title {
	color: #303030;
	font-size: 24px;
	margin: 50px 0 20px;
	font-weight: 600;
}

.sub-title {
	color: #000;
	font-size: 18px;
	margin: 20px 0 10px;
	font-weight: 600;
}

.form-child {
	margin: 40px 0;
}

.form-child span {
	color: #00364a;
	display: block;
}

.select-block {
	margin: 0 0 1em;
	position: relative;
}

.form-child input {
	max-width: 400px !important;
	border: 1px solid #c9d4de !important;
	border-radius: 8px !important;
	height: 45px;
	width: 100%;
	padding: 0 15px;
	outline: none;
	background: #fff;
}

.form-child select {
	max-width: 400px !important;
	border: 1px solid #c9d4de !important;
	background-color: #fff !important;
	border-radius: 8px !important;
	width: 100%;
	height: 45px;
	appearance: none;
	padding: 0 36px 0 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2314283c' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: calc(100% - 12px) 50%;
}

.form-child input + label {
	display: inline-flex;
	align-items: center;
	user-select: none;
}

.form-child input + label::before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 25px;
	border: 1px solid #adb5bd;
	border-radius: 0.25em;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50% 50%;
}

.form-child input:checked + label::before {
	border-color: #6788f4;
	background-color: #6788f4;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.form-child input[type="radio"],
.form-child input[type="checkbox"] {
	position: absolute;
	z-index: -1;
	opacity: 0;
}

.form-child label {
	display: flex !important;
	cursor: pointer;
	margin: 10px 0;
	color: #414984;
}

.dinamic-childrens .row,
.block-childs .row {
	margin: 20px 0 5px;
}

.block-childs .ch-item {
	background: #fff;
	border: 1px solid var(--kodki-line);
	border-radius: 15px;
	padding: 16px 24px;
	margin: 10px 5px;
}

.block-childs a {
	font-size: 14px;
	color: #24004a;
}

.block-childs img {
	display: inline-block;
	margin-right: 5px;
	width: 20px;
	margin-top: -5px;
}

.block-childs p {
	margin: 0;
	color: #24004a;
}

.bottom-panel {
	margin: 40px 0;
}

.del-user {
	color: #ff1818;
	cursor: pointer;
}

.del-ch {
	font-size: 14px;
	color: #24004a;
	cursor: pointer;
}

.color_s { color: #468916; }
.color_l { color: #173489; }
.color_u { color: #85138b; }
.color_z { color: #955e08; }
.color_o { color: #950808; }
.errno { color: #970707; }

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
	white-space: pre-line;
}

.fon-block .button,
.fon-block input[type="submit"],
.fon-block input[type="button"],
.button.getexcel {
	appearance: none;
	background: var(--kodki-accent);
	border: none;
	border-radius: 10px;
	color: #fff;
	min-height: 50px;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.25;
	margin: 0;
	padding: 14px 10px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-sizing: border-box;
}

.fon-block .button:hover,
.fon-block input[type="submit"]:hover,
.fon-block input[type="button"]:hover,
.button.getexcel:hover {
	background: #0066c4;
	color: #fff;
	text-decoration: none;
}

.kodki-simple {
	max-width: 720px;
	margin: 48px auto;
	padding: 0 20px 40px;
	flex: 1 0 auto;
}

@media (max-width: 900px) {
	.kodki-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.kodki-header-row {
		flex-direction: column;
		gap: 16px;
	}

	.kodki-brand-text {
		font-size: 13px;
	}

	.block-content {
		padding: 20px 18px;
		border-radius: 16px;
	}
}
