* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
	background: #0D0D0D;
	min-height: 100vh;
	color: #F5F1EE;
	padding: 20px;
	position: relative;
	overflow-x: hidden;
}

/* Градиентный фон с анимацией */
body::before {
	content: '';
	position: fixed;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 20% 50%, rgba(255, 78, 39, 0.15) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(255, 78, 39, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(255, 78, 39, 0.05) 0%, transparent 50%);
	animation: float 20s ease-in-out infinite;
	z-index: -1;
}

@keyframes float {

	0%,
	100% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(180deg) scale(1.1);
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	background: rgba(13, 13, 13, 0.8);
	backdrop-filter: blur(40px) saturate(180%);
	-webkit-backdrop-filter: blur(40px) saturate(180%);
	border-radius: 24px;
	border: 1px solid rgba(255, 78, 39, 0.15);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 100px rgba(255, 78, 39, 0.1);
	overflow: hidden;
	animation: slideUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.header {
	background: linear-gradient(135deg, rgba(255, 78, 39, 0.08) 0%, rgba(13, 13, 13, 0.4) 100%);
	padding: 40px;
	border-bottom: 1px solid rgba(255, 78, 39, 0.15);
	position: relative;
	overflow: hidden;
}

.header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 78, 39, 0.5), transparent);
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

	0%,
	100% {
		transform: translateX(-100%);
	}

	50% {
		transform: translateX(100%);
	}
}

h1 {
	color: #FF4E27;
	font-size: 36px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 10px;
	letter-spacing: -1px;
	background: linear-gradient(135deg, #FF4E27 0%, #ff7c5c 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
	from {
		filter: drop-shadow(0 0 20px rgba(255, 78, 39, 0.5));
	}

	to {
		filter: drop-shadow(0 0 30px rgba(255, 78, 39, 0.8));
	}
}

.subtitle {
	text-align: center;
	color: #F5F1EE;
	opacity: 0.6;
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 30px;
	letter-spacing: 1px;
}

.tabs {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 30px;
	padding: 6px;
	background: rgba(255, 78, 39, 0.05);
	border-radius: 16px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.tab {
	padding: 12px 24px;
	background: transparent;
	border: none;
	color: #F5F1EE;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	border-radius: 12px;
	position: relative;
	overflow: hidden;
	opacity: 0.7;
}

.tab::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 78, 39, 0.1);
	border-radius: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.tab:hover::before {
	opacity: 1;
}

.tab:hover {
	opacity: 1;
}

.tab.active {
	background: #FF4E27;
	color: white;
	font-weight: 600;
	opacity: 1;
	box-shadow: 0 4px 12px rgba(255, 78, 39, 0.3);
}

.inputs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.inputs input,
.inputs select {
	padding: 14px 18px;
	background: rgba(245, 241, 238, 0.03);
	border: 1px solid rgba(255, 78, 39, 0.15);
	color: #F5F1EE;
	font-size: 15px;
	border-radius: 12px;
	font-weight: 400;
	transition: all 0.2s ease;
}

.inputs input:hover,
.inputs select:hover {
	background: rgba(245, 241, 238, 0.05);
	border-color: rgba(255, 78, 39, 0.3);
}

.inputs input:focus,
.inputs select:focus {
	outline: none;
	border-color: #FF4E27;
	background: rgba(255, 78, 39, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 78, 39, 0.1);
}

.inputs input::placeholder {
	color: rgba(245, 241, 238, 0.4);
}

.inputs select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FF4E27' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.inputs select option {
	background: #1a1a1a;
	color: #F5F1EE;
}

.content {
	padding: 40px;
}

.panel {
	display: none;
	animation: fadeIn 0.6s ease;
}

.panel.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.category {
	margin-bottom: 24px;
	border-radius: 16px;
	background: rgba(13, 13, 13, 0.4);
	border: 1px solid rgba(255, 78, 39, 0.1);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255, 78, 39, 0.15);
	border-color: rgba(255, 78, 39, 0.2);
}

.category-header {
	background: rgba(255, 78, 39, 0.03);
	padding: 20px 24px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.3s ease;
}

.category-header:hover {
	background: rgba(255, 78, 39, 0.06);
}

.category-header strong {
	color: #FF4E27;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.category-score {
	color: #F5F1EE;
	font-size: 18px;
	font-weight: 600;
}

.category-body {
	padding: 24px;
	display: none;
	background: rgba(0, 0, 0, 0.2);
}

.category.open .category-body {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.criterion {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background: rgba(245, 241, 238, 0.02);
	margin-bottom: 12px;
	border-radius: 12px;
	border: 1px solid rgba(255, 78, 39, 0.08);
	transition: all 0.2s ease;
}

.criterion:hover {
	background: rgba(255, 78, 39, 0.03);
	transform: translateX(4px);
	border-color: rgba(255, 78, 39, 0.15);
}

.criterion:last-child {
	margin-bottom: 0;
}

.criterion span {
	color: #F5F1EE;
	font-size: 15px;
	font-weight: 400;
}

.criterion input {
	width: 72px;
	padding: 10px;
	background: rgba(13, 13, 13, 0.6);
	border: 1px solid rgba(255, 78, 39, 0.15);
	color: #FF4E27;
	text-align: center;
	font-size: 17px;
	font-weight: 600;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.criterion input:focus {
	outline: none;
	border-color: #FF4E27;
	background: rgba(255, 78, 39, 0.08);
	box-shadow: 0 0 0 3px rgba(255, 78, 39, 0.15);
	transform: scale(1.05);
}

.summary {
	background: linear-gradient(135deg, rgba(255, 78, 39, 0.06) 0%, rgba(13, 13, 13, 0.4) 100%);
	padding: 40px;
	margin-top: 32px;
	text-align: center;
	border-radius: 20px;
	border: 1px solid rgba(255, 78, 39, 0.15);
	position: relative;
	overflow: hidden;
}

.summary::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 78, 39, 0.1) 0%, transparent 70%);
	animation: rotate 30s linear infinite;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.score {
	font-size: 64px;
	font-weight: 700;
	color: #FF4E27;
	margin: 24px 0;
	position: relative;
	z-index: 1;
	text-shadow: 0 0 40px rgba(255, 78, 39, 0.5);
	letter-spacing: -2px;
}

.status {
	display: inline-block;
	padding: 14px 32px;
	font-weight: 600;
	color: white;
	margin: 16px 0;
	border-radius: 50px;
	font-size: 14px;
	letter-spacing: 1px;
	position: relative;
	z-index: 1;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.rec {
	color: #F5F1EE;
	margin-top: 20px;
	font-size: 16px;
	opacity: 0.8;
	position: relative;
	z-index: 1;
}

.buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 32px;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.btn {
	padding: 14px 32px;
	background: rgba(255, 78, 39, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 78, 39, 0.2);
	color: #F5F1EE;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	border-radius: 12px;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255, 78, 39, 0.2), rgba(255, 78, 39, 0.1));
	transform: translate(-50%, -50%) scale(0);
	border-radius: 12px;
	transition: transform 0.3s ease;
}

.btn:hover::before {
	transform: translate(-50%, -50%) scale(1.2);
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 78, 39, 0.25);
	border-color: #FF4E27;
	color: white;
}

.btn:active {
	transform: translateY(0);
}

.badge {
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	color: white;
	border-radius: 20px;
	display: inline-block;
}

/* Table */
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-top: 24px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

th {
	background: rgba(255, 78, 39, 0.08);
	color: #FF4E27;
	padding: 16px;
	text-align: left;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.5px;
	border-bottom: 1px solid rgba(255, 78, 39, 0.15);
}

td {
	padding: 16px;
	color: #F5F1EE;
	background: rgba(13, 13, 13, 0.3);
	border-bottom: 1px solid rgba(255, 78, 39, 0.05);
	transition: all 0.2s ease;
}

tr:hover td {
	background: rgba(255, 78, 39, 0.03);
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}

.stat-card {
	background: rgba(255, 78, 39, 0.04);
	padding: 28px;
	text-align: center;
	border-radius: 16px;
	border: 1px solid rgba(255, 78, 39, 0.1);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, transparent, rgba(255, 78, 39, 0.1));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.stat-card:hover::before {
	opacity: 1;
}

.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(255, 78, 39, 0.2);
	border-color: rgba(255, 78, 39, 0.2);
}

.stat-value {
	font-size: 36px;
	font-weight: 700;
	color: #FF4E27;
	margin-bottom: 8px;
}

.stat-label {
	color: #F5F1EE;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.6;
}

.search-section {
	margin-bottom: 24px;
	display: flex;
	gap: 16px;
}

.search-input {
	flex: 1;
	max-width: 400px;
	padding: 14px 20px;
	background: rgba(245, 241, 238, 0.03);
	border: 1px solid rgba(255, 78, 39, 0.15);
	color: #F5F1EE;
	font-size: 15px;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.search-input:focus {
	outline: none;
	border-color: #FF4E27;
	background: rgba(255, 78, 39, 0.05);
	box-shadow: 0 0 0 3px rgba(255, 78, 39, 0.1);
}

.notification {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 16px 24px;
	background: rgba(255, 78, 39, 0.95);
	backdrop-filter: blur(10px);
	color: white;
	font-weight: 600;
	font-size: 14px;
	border-radius: 12px;
	z-index: 9999;
	animation: notifSlide 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	box-shadow: 0 10px 30px rgba(255, 78, 39, 0.4);
}

@keyframes notifSlide {
	from {
		transform: translateX(400px) scale(0.8);
		opacity: 0;
	}

	to {
		transform: translateX(0) scale(1);
		opacity: 1;
	}
}

.empty-msg {
	text-align: center;
	padding: 60px;
	color: #F5F1EE;
	opacity: 0.3;
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: rgba(13, 13, 13, 0.5);
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 78, 39, 0.3);
	border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 78, 39, 0.5);
}