:root {
	--suntc-green: #339c33;
	--suntc-green-dark: #0f6f34;
	--suntc-green-soft: #e9f6e8;
	--suntc-mint: #cfeecf;
	--suntc-ink: #1e2a22;
	--suntc-muted: #667469;
	--suntc-line: #dce9dc;
	--suntc-white: #ffffff;
	--suntc-shadow: 0 18px 45px rgba(33, 92, 47, 0.13);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	position: relative;
	min-height: 100vh;
	margin: 0;
	color: var(--suntc-ink);
	background: #f7fbf6;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.5;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -2;
	background-image: url("../img/XljCey6RkX0.jpg");
	background-position: center top;
	background-size: cover;
	opacity: 0.09;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 251, 246, 0.96) 48%, #f7fbf6);
}

a {
	color: var(--suntc-green-dark);
	text-decoration: none;
	font-weight: 600;
}

a:hover {
	color: var(--suntc-green);
	text-decoration: underline;
}

.site-header {
	padding: 24px 24px 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: 16px 24px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(51, 156, 51, 0.18);
	border-radius: 8px;
	box-shadow: var(--suntc-shadow);
	backdrop-filter: blur(8px);
}

.site-title {
	margin: 0;
	font-size: 25px;
	line-height: 1.15;
}

.site-title a {
	display: inline-flex;
	align-items: center;
	color: var(--suntc-ink);
	text-decoration: none;
}

.site-corner-logo {
	position: absolute;
	top: 16px;
	left: 20px;
	z-index: 1;
	width: 132px;
	height: auto;
	object-fit: contain;
}

.site-user {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	color: var(--suntc-muted);
	font-size: 15px;
	text-align: right;
}

.logout {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 12px;
	color: var(--suntc-green-dark);
	background: var(--suntc-green-soft);
	border: 1px solid rgba(51, 156, 51, 0.22);
	border-radius: 8px;
}

.site-main {
	width: min(1520px, calc(100% - 48px));
	margin: 28px auto 56px;
	padding: 34px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(51, 156, 51, 0.14);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(33, 92, 47, 0.09);
}

h1,
h2,
h3 {
	color: var(--suntc-ink);
	letter-spacing: 0;
}

h1 {
	margin: 0 0 18px;
	font-size: 32px;
	line-height: 1.2;
}

h2 {
	margin: 0 0 18px;
	font-size: 25px;
	line-height: 1.25;
}

h3 {
	margin: 28px 0 12px;
	font-size: 20px;
	line-height: 1.3;
}

p {
	margin: 0 0 14px;
	color: var(--suntc-muted);
}

form {
	width: min(760px, 100%);
	margin: 18px auto 26px;
	padding: 18px;
	background: #fbfefb;
	border: 1px solid var(--suntc-line);
	border-radius: 8px;
}

form table {
	width: 100%;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

form tr:hover td,
form tr:hover th {
	background: transparent;
}

form th {
	width: 220px;
	padding: 12px 18px 12px 0;
	color: var(--suntc-muted);
	background: transparent;
	border-bottom: 0;
	font-weight: 700;
	text-align: left;
	vertical-align: top;
}

form td {
	padding: 10px 0;
	border-bottom: 0;
}

label {
	color: var(--suntc-muted);
	font-weight: 700;
}

input,
select,
textarea {
	width: min(420px, 100%);
	min-height: 38px;
	padding: 8px 10px;
	color: var(--suntc-ink);
	background: var(--suntc-white);
	border: 1px solid #c9dcc9;
	border-radius: 8px;
	font: inherit;
}

textarea {
	min-height: 96px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: 2px solid rgba(51, 156, 51, 0.22);
	border-color: var(--suntc-green);
}

input[type="checkbox"],
input[type="radio"] {
	width: 18px;
	min-height: 18px;
	padding: 0;
	accent-color: var(--suntc-green);
}

input[type="file"] {
	padding: 7px;
}

input[type="submit"],
.button-save {
	width: auto;
	min-width: 128px;
	margin-top: 12px;
	padding: 10px 18px;
	color: var(--suntc-white);
	background: var(--suntc-green);
	border: 1px solid var(--suntc-green);
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(51, 156, 51, 0.2);
}

input[type="submit"]:hover,
.button-save:hover {
	background: var(--suntc-green-dark);
	border-color: var(--suntc-green-dark);
}

.login-form {
	width: min(460px, 100%);
	margin: 76px auto 96px;
	padding: 30px;
	box-shadow: var(--suntc-shadow);
}

.login-form input {
	width: 100%;
	margin: 5px 0 16px;
}

.login-form label {
	display: block;
	margin: 0 0 7px;
}

form[enctype="multipart/form-data"] {
	width: min(920px, 100%);
	margin-left: auto;
	margin-right: auto;
	padding: 24px;
}

form[enctype="multipart/form-data"] > p {
	margin: 0 0 18px;
}

form[enctype="multipart/form-data"] > label,
form[enctype="multipart/form-data"] p > label {
	display: block;
	margin: 0 0 7px;
}

form[enctype="multipart/form-data"] input,
form[enctype="multipart/form-data"] select {
	width: min(560px, 100%);
	margin-bottom: 14px;
}

form[enctype="multipart/form-data"] input[type="submit"] {
	width: auto;
	margin-top: 4px;
	margin-bottom: 0;
}

form[enctype="multipart/form-data"] > tr {
	display: grid;
	grid-template-columns: minmax(190px, 250px) minmax(280px, 1fr);
	gap: 18px;
	align-items: center;
	margin-bottom: 14px;
}

form[enctype="multipart/form-data"] > tr > th,
form[enctype="multipart/form-data"] > tr > td {
	display: block;
	width: auto;
	padding: 0;
}

.main-list {
	display: grid;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-list > li {
	margin: 0;
	padding: 13px 16px;
	background: var(--suntc-white);
	border: 1px solid var(--suntc-line);
	border-left: 4px solid var(--suntc-green);
	border-radius: 8px;
}

.main-list a {
	display: block;
}

.page-home {
	width: min(860px, calc(100% - 48px));
}

.page-arsom-logins {
	width: min(1280px, calc(100% - 48px));
	padding: 24px;
}

.page-arsom-logins h2 {
	margin-bottom: 14px;
}

.page-arsom-logins form[enctype="multipart/form-data"] {
	width: min(760px, 100%);
	padding: 18px;
}

.page-arsom-logins form[enctype="multipart/form-data"] > p {
	margin-bottom: 12px;
}

.page-arsom-logins form[enctype="multipart/form-data"] input,
.page-arsom-logins form[enctype="multipart/form-data"] select {
	min-height: 34px;
	padding: 6px 9px;
	margin-bottom: 8px;
}

.page-arsom-logins table {
	margin-top: 12px;
}

.page-arsom-logins th,
.page-arsom-logins td {
	padding: 9px 10px;
}

table {
	width: 100%;
	max-width: 100%;
	margin: 18px auto 28px;
	table-layout: fixed;
	background: var(--suntc-white);
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--suntc-line);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(33, 92, 47, 0.08);
}

th,
td {
	padding: 13px 16px;
	border-bottom: 1px solid var(--suntc-line);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: keep-all;
}

th {
	color: var(--suntc-green-dark);
	background: var(--suntc-green-soft);
	font-weight: 700;
	text-align: center;
	white-space: normal;
	overflow-wrap: normal;
}

tr:last-child td,
tr:last-child th {
	border-bottom: 0;
}

tr:hover td {
	background: #f1f9f0;
}

ul:not(.main-list) {
	margin: 10px 0 18px;
	padding-left: 22px;
}

li {
	margin: 7px 0;
}

.open-day-card {
	width: min(620px, 100%);
	margin: 18px auto 22px;
	padding: 18px 20px;
	background: var(--suntc-white);
	border: 1px solid var(--suntc-line);
	border-left: 5px solid var(--suntc-green);
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(33, 92, 47, 0.08);
}

.open-day-card > div {
	padding: 5px 0;
}

.reg-day-form2 {
	margin: 18px 0 26px;
}

.reg-day-form2 > label {
	display: block;
	float: none;
	margin-bottom: 6px;
}

.reg-day-form2 > input,
.reg-day-form2 > select {
	display: block;
	margin-left: 0;
	margin-bottom: 12px;
}

.green-back,
.orange-back,
.red-back {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(720px, 100%);
	min-height: 180px;
	margin: 18px auto 24px;
	padding: 40px 24px;
	color: var(--suntc-white);
	border-radius: 8px;
	font-size: 30px;
	font-weight: 700;
	text-align: center;
	box-shadow: var(--suntc-shadow);
}

.green-back {
	background: linear-gradient(135deg, #2f9d38, #63c13f);
}

.orange-back {
	background: linear-gradient(135deg, #c77913, #f0a932);
}

.red-back {
	background: linear-gradient(135deg, #b53636, #db5a45);
}

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

@media (max-width: 720px) {
	.site-header {
		padding: 90px 12px 0;
	}

	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 14px;
	}

	.site-title {
		font-size: 22px;
	}

	.site-corner-logo {
		top: 14px;
		left: 16px;
		width: 92px;
	}

	.site-user {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		text-align: left;
	}

	.site-main {
		width: calc(100% - 24px);
		margin-top: 16px;
		padding: 18px 14px 24px;
	}

	.page-home,
	.page-arsom-logins {
		width: calc(100% - 24px);
	}

	h1 {
		font-size: 26px;
	}

	h2 {
		font-size: 22px;
	}

	form {
		padding: 14px;
	}

	.login-form {
		margin: 36px auto 54px;
		padding: 22px;
	}

	form th,
	form td,
	form tr {
		display: block;
		width: 100%;
		padding-right: 0;
	}

	form th {
		padding-bottom: 4px;
	}

	table {
		display: block;
		overflow-x: auto;
	}

	form[enctype="multipart/form-data"] {
		padding: 18px;
	}

	form[enctype="multipart/form-data"] > tr {
		display: block;
	}

	th,
	td {
		padding: 10px 12px;
	}

	.green-back,
	.orange-back,
	.red-back {
		min-height: 140px;
		font-size: 24px;
	}
}
