/* Сброс стилей */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}

/* Основные стили */
body {
	display: flex;
	flex-direction: column;
	transition: background 0.15s, color 0.15s;
	min-height: 100vh;
}

a {
	text-decoration: none;
}

/* Темная тема */
body.dark-mode {
	background: #121212;
	color: white;
}
body.dark-mode .header,
body.dark-mode .sidebar,
body.dark-mode .footer {
	background: #333;
	color: white;
	transition: background 0.15s, color 0.15s;
}
body.dark-mode .menu a {
	color: #ddd;
	transition: color 0.15s, background 0.15s;
}
body.dark-mode .menu a:hover {
	background: #444;
}

/* Хедер */
.header {
	width: 100%;
	height: 56px;
	background: #f1f1f1;
	display: flex;
	align-items: center;
	padding: 0 20px;
	font-size: 3em;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}

/* Боковая панель */
.sidebar {
	position: fixed;
	top: 56px;
	left: 0;
	width: 220px;
	height: calc(100vh - 56px);
	background: #f1f1f1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid #ccc;
}

/* Меню */
.menu {
	display: flex;
	flex-direction: column;
}

.menu a {
	text-decoration: none;
	padding: 10px;
	color: #333;
	border-radius: 5px;
	transition: background 0.15s, color 0.15s;
	display: block;
}

.menu a.active {
	background: #bbb;
	color: black;
}

.menu a:hover {
	background: #ddd;
}

/* Контент */
.content {
	margin-left: 220px;
	padding: 20px;
	flex-grow: 1;
}

/* Футер */
.footer {
	width: 100%;
	height: 50px;
	background: #222;
	color: white;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 0;
	left: 0;
}








.form-container {
	max-width: 800px;
	background: white;
	padding: 20px;
}

label {
	font-weight: bold;
	display: block;
	margin: 10px 0 5px;
}

input, textarea {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 14px;
}

textarea {
	resize: vertical;
	min-height: 70px;
	height: 70px;
}

.submit-btn {
	background: #4e1488;
	color: white;
	border: none;
	padding: 10px;
	width: 100%;
	font-size: 16px;
	cursor: pointer;
	border-radius: 5px;
	transition: background 0.2s;
}

.submit-btn:hover {
	background: #639;
}
