:root{
	--main: #7B2CBF;
	--lightest: #F3E8FF;
	--lighter: #EFE0FF;
	--color: #10002B;
	--accent: #C77DFF;
	--light-red: #FFF4F4;
	--red: #FF6B9D;
	--green: #2DCF93;
	--heading: #F9F3FF;
	--glass-color: rgba(238, 217, 255, 0.8);
	--heading-color: #746490;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Inter, sans-serif;
	color: var(--color);
	transition: all .2s;
	font-size: 16px;
}

body{
	background: var(--lightest);
	width: 100%;
	height: 100vh;
}

button{
	cursor: pointer;
	font-weight: 500;
}

.btn-login{
	width: 100%;
	height: 66px;
	color: #fff;
	background: var(--main);
	border-radius: 10px;
	color: #fff;
	border: 0px;
}

.btn-login:hover{
	background: var(--accent);
}

.login-body{
	width: 100%;
	height: 100%;
	background: url(../img/background.png);
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login-form{
	padding: 58px;
	border-radius: 30px;
	background: #fff;
}

.login-form-inner{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 430px;
	gap: 24px;
}

.login-form-inner form{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 430px;
	gap: 24px;
}

.login-form-inner h1{
	font-size: 31px;
	font-weight: 700;
	margin: 24px 0px;
}

.login-form-inner input{
	width: 100%;
	height: 66px;
	background: var(--lightest);
	border-radius: 10px;
	border: 0px;
	outline: var(--lightest) solid 1px;
	padding: 0px 27px;
}

.login-form-inner input:focus{
	outline: var(--main) solid 1px;
}


.cabinet-body{
	display: flex;
	padding: 40px 0px;
	height: 100%;
	gap: 22px;
}

.left-side{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding-left: 30px;
	flex-shrink: 0;
}

.menu{
	background: var(--lighter);
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 270px;
	padding: 23px 0px;
}

.menu-items{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 35px;
}

.menu-items a{
	text-decoration: none;
}

.menu .menu-item{
	display: flex;
	cursor: pointer;
	align-items: center;
	gap: 12px;
	position: relative;
}

.menu .menu-item.active::before{
	display: block;
	content: "";
	width: 100%;
	border-radius: 10px;
	background: var(--accent);
	width: 240px;
	height: 44px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

.menu .menu-item.active p{
	color: #fff;
	position: relative;
	z-index: 2;
	transition: all .3s;
}

.menu .menu-item svg path{
	transition: all .3s;
}

.menu .menu-item.active svg{
	position: relative;
	z-index: 2;
}

.menu .menu-item.active svg path{
	stroke: #fff;
}

.menu .menu-item:hover p{
	color: var(--red);
}

.menu .menu-item:hover svg path{
	stroke: var(--red);
}

.menu .menu-item.active:hover p{
	color: #fff;
}

.menu .menu-item.active:hover svg path{
	stroke: #fff;
}

.logout-button{
	display: flex;
	padding-left: 23px;
	gap: 12px;
	align-items: center;
}

#logo{
	width: 137px;
	align-self: center;
}

.right-side{
	flex-grow: 1;
    padding-right: 44px;
    display: flex;
    flex-direction: column;
    min-height: 0; 
    overflow: hidden; 
}

.r-panel{
	display: flex;
	gap: 12px;
}

.top-panel-top{
	display: flex;
	justify-content: space-between;
}

.top-panel h1{
	font-size: 31px;
	font-weight: 600;
}

.notification{
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all .2s;
}

.notification .notification-amount{
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #fff;
	background: var(--accent);
	position: absolute;
	top: 0;
	right: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}

.notification-wrapper {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    z-index: 100;
}

.notification:hover .notification-wrapper {
    visibility: visible;
    opacity: 1;
}

/* Само окно уведомлений */
.notification-show {
    width: 360px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(0px);
}

/* Список уведомлений */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
}

/* Кастомный скролл для списка */
.notification-list::-webkit-scrollbar {
    width: 4px;
}

.notification-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.notification-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

/* Элемент уведомления */
.notification-item {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.notification-item:hover {
    background: var(--heading);
}

.notification-item p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color);
}

.notification-item a {
	text-decoration: underline; 
	font-size: 14px;
	transition: all .2s; 
}

.notification-item a:hover{
	color: var(--accent);
}

/* Ссылка "Все уведомления" */
.all-notifications {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-top: 1px solid var(--heading);
    transition: background 0.2s;
}

.all-notifications:hover {
    background: var(--heading);
    color: var(--accent);
}


.profile{
	height: 44px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 150px;
	border-radius: 20px;
	cursor: pointer;
}

.profile p{
	font-size: 16;
	font-weight: 500;
}

.stat-info{
	display: flex;
	margin-top: 24px;
	gap: 40px;
}

.stat-text{
	font-size: 18px;
}

.stat-text b{
	color: var(--accent);
}

.remove-filter{
	font-size: 18px;
	color: var(--accent);
	text-decoration: underline;
	cursor: pointer;
	transition: all .2s;
}

.remove-filter:hover{
	opacity: 0.8;
}

.filter-panel{
	display: flex;
	margin-top: 24px;
	gap: 15px;
}

.filter-panel .input-block{
	display: flex;
}

.filter-panel .input-icon{
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

.filter-panel .input-block{
	flex-grow: 1;
}

.filter-panel input{
	flex-grow: 1;
	height: 50px;
	background: #fff;
	padding-right: 50px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	border: 0px;
	font-size: 16px;
	outline: none;
}

.filter-panel input::placeholder{
	color: var(--color);
}




.filter-button{
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--accent);
	transition: all .2s;
	width: 50px;
	height: 50px;
	flex-shrink: 0;
	cursor: pointer;
	border-radius: 10px;
}

.filter-button:hover{
	opacity: 0.8;
}

.filter-search{
	width: 110px;
	height: 50px;
	background: var(--main);
	color: #fff;
	font-weight: 500;
	border-radius: 10px;
	border: 0px;
	transition: all .2s;
}

.filter-search:hover{
	opacity: 0.8;
}

.filter-create{
	width: 278px;
	height: 50px;
	background: var(--green);
	color: #fff;
	font-weight: 500;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	transition: all .2s;
}

.filter-create:hover{
	opacity: 0.8;
}

.content-content{
	margin-top: 22px;
    flex-grow: 1;
    min-height: 0; 
    overflow: auto; 
    display: flex;
    flex-direction: column;
}

.content-content .tabs{
	display: flex;
	background: #fff;
	border-radius: 20px;
	flex-grow: 0;
	width: max-content;
	margin-bottom: 20px;
}

.content-content .tabs .tab{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 250px;
	height: 50px;
	transition: all .2s;
	cursor: pointer;
	border-radius: 20px;
}

.content-content .tabs .tab.active{
	background: #2DCF93;
	color: #fff;
}

.wrapper-create{
	border-radius: 20px;
	overflow-y: scroll;
}

.typical-table {
    width: 100%;
    border-radius: 20px;
    overflow: auto; 
    border-spacing: 0px;
    border-collapse: collapse; 
    display: block; 
}

.typical-table tr {
    height: 64px;
    background: #fff;
    text-align: left;
    position: relative;
    border-bottom: 1px solid var(--heading);
    transition: all .2s;
    display: table;
    width: 100%;
    table-layout: fixed;
}

.typical-table tr.green{
	background: #BBFFD0;
}

.typical-table tr.yellow{
	background: #FFFDBB;
}

.typical-table tr.red{
	background: #FFC1C1;
}

.typical-table tr.online td::before{
	width: 12px;
	height: 12px;
	background: var(--green);
	border-radius: 50%;
	left: 23px;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	display: block;
	content: "";
}

.typical-table tr.offline td::before{
	width: 12px;
	height: 12px;
	background: var(--red);
	border-radius: 50%;
	left: 23px;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
	display: block;
	content: "";
}

.typical-table tr:has(th){
	background: var(--heading);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.typical-table tr:last-child{
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.typical-table tr.super{
	background: var(--light-red);
}

.typical-table tr th{
	font-weight: normal;
	color: var(--heading-color);
}

.typical-table tr th:first-child{
	padding-left: 55px;
	width: 300px;
}

.typical-table tr td:first-child{
	padding-left: 55px;
	width: 300px;
}

.typical-table tr td a{
	color: var(--accent);
	transition: all .2s;
}

.typical-table tr td a:hover{
	color: var(--main);
}

.typical-table tr:has(td){
	cursor: pointer;
}

.typical-table tr:has(td):hover{
	background: var(--heading);
}

.typical-table .buttons{
	display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-right: 40px;
}

.typical-table .buttons .comment{
	position: relative;
}

.typical-table .buttons img{
	transition: all .2s;
	cursor: pointer;
}

.typical-table .buttons img:hover{
	opacity: 0.7;
}

.tab-table{
	display: none;
}

.tab-table-active{
	display: block;
}

.custom-tooltip {
    background: var(--lighter, #f0f0f0);
    font-size: 13px;
    border-radius: 15px;
    padding: 14px;
    position: absolute;
    z-index: 1000;
    max-width: 300px;
    word-wrap: break-word;
    white-space: normal;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Стрелочка снизу тултипа (по умолчанию) */
.custom-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--lighter, #f0f0f0);
}

/* Если тултип пришлось показать снизу — стрелочка будет сверху */
.custom-tooltip.tooltip-bottom::after {
    top: -8px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid var(--lighter, #f0f0f0);
}

/* Custom scrollbar styles for typical-table */
*::-webkit-scrollbar {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    margin-left: 10px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 2px;
}

*::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--main);
    opacity: 0.8;
}


.content-panel {
	position: relative;
}

.filter-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	margin-top: 15px;
	z-index: 50;

	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
	transition: 0.2s;
}

.filter-dropdown.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.filter-box {
	background: var(--glass-color);
	backdrop-filter: blur(15px);
	border: 1px solid var(--accent);
	border-radius: 25px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.filter-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.filter-group {
    position: relative;
}

.filter-group:has(select)::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color);
    pointer-events: none;
    transition: transform 0.2s;
}

.filter-group p {
	margin-bottom: 10px;
	font-weight: 500;
}

.filter-group select {
	 width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0 15px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.filter-group select:focus + .filter-group::after {
    transform: rotate(180deg);
}

.filter-group input {
	 width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0 15px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}


.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 15px;
}

/* Анимация для тегов */
.tags span {
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: tagAppear 0.2s ease;
}

@keyframes tagAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tags span b {
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.tags span b:hover {
    color: var(--red);
    transform: scale(1.2);
}

/* Анимация для стрелки select */
.filter-group::after {
    transition: transform 0.2s;
}

.filter-group select:focus ~ .filter-group::after {
    transform: rotate(180deg);
}

.apply-filter {
	display: block;
	margin: 0 auto;
	width: 260px;
	height: 55px;
	background: var(--main);
	color: #fff;
	border: none;
	border-radius: 14px;
	font-size: 16px;
	transition: all .2s;
}

.apply-filter:hover{
	background: #fff;
	color: var(--color);
}

.reset-filter {
	text-align: center;
	margin-top: 15px;
	text-decoration: underline;
	cursor: pointer;
	transition: all .2s;
}

.reset-filter:hover{
	color: var(--accent);
}

.content-create{
	background: #fff;
	border-radius: 20px;
}

.content-create .tags span{
	background: var(--lighter);
}

.top-create{
	display: flex;
	height: 66px;
	align-items: center;
	justify-content: space-between;
	padding: 0px 30px;
}

.back-arrow{
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all .2s;
}

.back-arrow:hover{
	opacity: 0.6;
}

.checkboxes{
	display: flex;
	gap: 26px;
	align-items: center;
}

.checkbox{
	display: flex;
	gap: 13px;
	align-items: center;
	cursor: pointer;
}

.checkbox p{
	color: var(--main);
}

.checkbox .check{
	cursor: pointer;
	width: 20px;
	height: 20px;
	border: 1px solid var(--main);
	border-radius: 5px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkbox .check::before{
	width: 14px;
	height: 14px;
	border-radius: 3px;
	background: var(--main);
	transition: all .2s;
	opacity: 0;
	transform: scale(0.5);
	content: "";
	display: block;
}

.checkbox .check.active::before{
	opacity: 1;
	transform: scale(1);
}

.inputs{
	display: flex;
	gap: 26px;
	align-items: flex-start;
	padding: 24px 30px;
	border-top: 1px solid var(--heading);
}

.input{
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
}

.input textarea{
	color: var(--main);
	border: 1px solid var(--main);
	border-radius: 10px;
	padding: 15px;
	resize: none;
	min-height: 91px;
	outline: none;
}

.input .input-wrapper{
	padding: 0px 21px;
	height: 40px;
	border: 1px solid var(--main);
	border-radius: 10px;
	display: flex;
	align-items: center;
	position: relative;
}

.input .input-wrapper input, .input .input-wrapper select{
	color: var(--main);
	width: 100%;
	border: 0px;
	outline: none;
}

/* Стили для ошибок валидации */
.input-wrapper.error input,
.input-wrapper.error select,
.input-wrapper.error textarea {
    border-color: #dc3545 !important;
    background-color: #fff8f8 !important;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Стили для кнопки при загрузке */
.save-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.generate-pass{
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 5px;
	background: var(--main);
	margin-right: 10px;
	border-radius: 8px;
}

.eye-block{
	display: flex;
	align-items: center;
	cursor: pointer;
}

.bottom-block{
	display: flex;
	padding: 24px 30px;
	gap: 24px;
}

.add-image{
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lighter);
	border: 0px;
	width: 284px;
	font-weight: normal;
	height: 48px;
	gap: 14px;
	transition: all .2s;
	border-radius: 10px;
}

.add-image svg path{
	transition: all .2s;
}

.add-image:hover{
	background: var(--main);
	color: #fff;
}

.add-image:hover svg path{
	stroke: #fff;
}

.bottom-block .images{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.bottom-block .images .image{
	background-size: cover;
	aspect-ratio: 1 / 1;
	position: relative;
	border-radius: 7px;
	cursor: pointer;
}

.bottom-block .images .image .show-more{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(199, 125, 255, 0.6);
	border-radius: 7px;
	transition: all .2s;
	transform: scale(1.2);
	opacity: 0;
}

.bottom-block .images .image .show-more:hover{
	opacity: 1;
	transform: scale(1);
}

.bottom-block .images .image .remove-image{
	position: absolute;
	transition: all .2s;
	cursor: pointer;
	top: -6px;
	right: -6px;
	z-index: 2;
}

.bottom-block .images .image .remove-image:hover{
	opacity: 0.5;
}

.bottom-button{
	padding-bottom: 32px;
}

.save-button{
	background: var(--main);
	color: #fff;
	width: 210px;
	height: 50px;
	margin: auto;
	margin-top: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .2s;
	border: 0px;
	border-radius: 10px;
}

.save-button:hover{
	background: var(--lightest);
	color: var(--color);
}

.download-app{
	margin: auto;
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 26px;
	max-width: 552px;
}

.download-button{
	display: flex;
	width: 245px;
	height: 54px;
	gap: 12px;
	align-items: center;
	justify-content: center;
	border: 0px;
	transition: all .2s;
	background: var(--accent);
	border-radius: 10px;
	color: #fff;
	font-weight: normal;
}

.download-button:hover{
	background: var(--main);
}

.download-app p{
	opacity: 0.6;
}
/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ РАСПИСАНИЕ ===== */

/* Панель управления */
.schedule-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 20px;
    position: relative;
}

.period-selector {
    display: flex;
    gap: 22px;
    align-items: center;
}

.period-btn {
    border-radius: 10px;
    background: white;
    font-size: 16px;
    cursor: pointer;
    width: 200px;
    height: 50px;
    border: 0px;
    outline: none;
    text-align: center;
}

.period-btn.active {
    background: var(--accent);
    color: white;
}

/* Календарь */
.date-range-picker {
    position: relative;
}

#dateRange {
    border-radius: 10px;
    background: white;
    font-size: 16px;
    cursor: pointer;
    width: 270px;
    height: 50px;
    border: 0px;
    outline: none;
    text-align: center;
}

#dateRange::placeholder {
    color: var(--color);
    font-size: 16px;
    text-align: center;
}

.flatpickr-calendar {
    font-family: 'Inter', sans-serif;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flatpickr-day.selected {
    background: var(--main);
    border-color: var(--main);
}

.schedule-controls .filter-button {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-controls .filter-button:hover {
    opacity: 0.8;
}

/* Контейнер таблицы */
.schedule-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    height: calc(100vh - 280px);
    min-height: 400px;
    overflow: hidden;
}

/* Грид с фиксированной левой колонкой */
.schedule-grid {
    display: flex;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* Фиксированная левая колонка - прилипает ТОЛЬКО по горизонтали */
.schedule-fixed-col {
    flex-shrink: 0;
    width: 280px;
    background: white;
    position: sticky;
    left: 0;
    z-index: 10;
    border-right: 1px solid var(--heading);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fixed-header {
    padding: 16px 12px;
    background: var(--heading);
    font-weight: 600;
    border-bottom: 1px solid var(--heading);
    height: 60px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.fixed-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Динамическая высота строк точек */
.fixed-row {
    padding: 16px 12px;
    border-bottom: 1px solid var(--heading);
    min-height: 120px;
    height: auto;
    background: #faf5ff;
}

.fixed-row:last-child {
    border-bottom: none;
}

/* Скроллируемая правая часть */
.schedule-scrollable {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    min-width: 0;
}

.scrollable-header {
    display: flex;
    background: var(--heading);
    border-bottom: 1px solid var(--heading);
    position: sticky;
    top: 0;
    z-index: 5;
    flex-shrink: 0;
}

.scrollable-header .day-cell {
    flex: 1;
    min-width: 130px;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid var(--heading);
}

.scrollable-header .day-cell:last-child {
    border-right: none;
}

.scrollable-body {
    flex: 1;
}

/* Ряд расписания */
.schedule-row {
    display: flex;
    border-bottom: 1px solid var(--heading);
}

.schedule-row:last-child {
    border-bottom: none;
}

.employee-cell {
    flex: 1;
    min-width: 130px;
    padding: 16px 12px;
    border-right: 1px solid var(--heading);
    background: white;
    display: flex;
    flex-direction: column;
}

.employee-cell:last-child {
    border-right: none;
}

/* Карточка сотрудника */
.employee-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    flex: 1;
}

.employee-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--color);
}

.employee-type {
    font-size: 12px;
    color: var(--accent);
    background: var(--lightest);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
}

.employee-time {
    font-size: 13px;
    color: var(--heading-color);
    font-weight: 500;
}

/* Кнопки действий сотрудника */
.employee-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.employee-edit, .employee-delete {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: var(--lightest);
}

.employee-edit:hover {
    background: var(--accent);
}

.employee-edit:hover svg path {
    stroke: white;
}

.employee-delete:hover {
    background: var(--red);
}

.employee-delete:hover svg path {
    stroke: white;
}

/* Кнопка добавления */
.add-employee-btn {
    background: var(--lightest);
    border: 1px dashed var(--accent);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s;
    margin-top: 8px;
}

.add-employee-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.full-width {
    width: 100%;
    text-align: center;
}

.badge {
    font-size: 12px;
    background: var(--lighter);
    padding: 4px 10px;
    border-radius: 16px;
    display: inline-block;
    width: fit-content;
    font-weight: normal;
}

/* Точка и комментарий */
.point-name {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.point-comment {
    font-size: 12px;
    color: var(--heading-color);
    margin-top: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(199, 125, 255, 0.1);
    border: 1px solid transparent;
    cursor: text;
    outline: none;
    transition: all 0.2s;
    word-wrap: break-word;
    white-space: normal;
}

.point-comment:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
}

.point-comment:focus {
    background: rgba(199, 125, 255, 0.2);
    border: 1px solid var(--accent);
}

/* Drag-and-drop визуальные эффекты */
.employee-card.dragging {
    opacity: 0.4;
    cursor: grabbing;
}

.employee-cell.drag-over {
    background: var(--lightest);
    border: 2px dashed var(--accent);
    position: relative;
}

.employee-cell.drag-over::before {
    content: "⬇️ Переместить сюда";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--accent);
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
}

/* Ghost элемент при перетаскивании */
.drag-ghost {
    position: absolute;
    width: 200px;
    background: white;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    pointer-events: none;
    opacity: 0.95;
}

.drag-ghost .employee-name {
    font-size: 12px;
}

.drag-ghost .employee-type {
    font-size: 10px;
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: 24px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--heading);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--main);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--lightest);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--accent);
    color: white;
}

.modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--heading-color);
}

.modal-field select,
.modal-field input {
    height: 46px;
    border: 1px solid var(--heading);
    border-radius: 10px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
    background: white;
}

.modal-field select:focus,
.modal-field input:focus {
    border-color: var(--accent);
}

.modal-field-row {
    display: flex;
    gap: 16px;
}

.modal-field-row .modal-field {
    flex: 1;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--heading);
}

.modal-btn {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn-cancel {
    background: var(--lightest);
    color: var(--color);
}

.modal-btn-cancel:hover {
    background: var(--heading);
}

.modal-btn-save {
    background: var(--main);
    color: white;
}

.modal-btn-save:hover {
    background: var(--accent);
}

/* ===== НОВАЯ ВЕРСИЯ РАСПИСАНИЯ ===== */
.schedule-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    height: calc(100vh - 280px);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Таблица с фиксированными колонками */
.schedule-table {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Заголовок таблицы (фиксированный по вертикали) */
.schedule-thead {
    position: sticky;
    top: 0;
    z-index: 20;
    background: white;
    flex-shrink: 0;
}

/* Фиксированная строка заголовков */
.schedule-header-row {
    display: flex;
    background: var(--heading);
    border-bottom: 1px solid var(--heading);
}

/* Угловая ячейка (Точки / Дни) */
.header-corner {
    width: 280px;
    flex-shrink: 0;
    padding: 16px 12px;
    font-weight: 600;
    background: var(--heading);
    border-right: 1px solid var(--heading);
    position: sticky;
    left: 0;
    z-index: 15;
}

/* Контейнер дней недели (горизонтальный скролл) */
.days-header-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}

.days-header {
    display: flex;
    min-width: min-content;
}

.day-header-cell {
    flex-shrink: 0;
    width: 160px;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid var(--heading);
}

.day-header-cell:last-child {
    border-right: none;
}

/* Тело таблицы (скроллится) */
.schedule-tbody {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Полоса прокрутки для тела */
.schedule-tbody::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.schedule-tbody::-webkit-scrollbar-track {
    background: var(--heading);
    border-radius: 4px;
}

.schedule-tbody::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.schedule-tbody::-webkit-scrollbar-thumb:hover {
    background: var(--main);
}

/* Контейнер строк расписания */
.schedule-rows {
    display: flex;
    flex-direction: column;
}

/* Строка расписания */
.schedule-row {
    display: flex;
    border-bottom: 1px solid var(--heading);
    min-height: 120px;
}

.schedule-row:last-child {
    border-bottom: none;
}

/* Фиксированная колонка с точками */
.point-fixed-cell {
    width: 280px;
    flex-shrink: 0;
    padding: 16px 12px;
    background: #faf5ff;
    border-right: 1px solid var(--heading);
    position: sticky;
    left: 0;
    z-index: 10;
    transition: background 0.2s;
}

.point-fixed-cell.drag-over-fixed {
    background: var(--lightest);
    border-right: 2px solid var(--accent);
}

/* Содержимое ячейки с точкой */
.point-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.point-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--color);
}

.point-badge {
    font-size: 12px;
    background: var(--lighter);
    padding: 4px 10px;
    border-radius: 16px;
    display: inline-block;
    width: fit-content;
    font-weight: normal;
}

.point-comment {
    font-size: 12px;
    color: var(--heading-color);
    margin-top: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(199, 125, 255, 0.08);
    border: 1px solid transparent;
    cursor: text;
    outline: none;
    transition: all 0.2s;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.point-comment:empty:before {
    content: attr(data-placeholder);
    color: #aaa;
}

.point-comment:focus {
    background: rgba(199, 125, 255, 0.15);
    border-color: var(--accent);
}

/* Контейнер для дней с сотрудниками (горизонтальный скролл) */
.schedule-days-wrapper {
    flex: 1;
    overflow-x: auto;
    position: relative;
}

/* Строка с ячейками дней для текущей точки */
.schedule-days-row {
    display: flex;
    min-width: min-content;
}

/* Ячейка дня */
.schedule-day-cell {
    flex-shrink: 0;
    width: 160px;
    padding: 16px 12px;
    background: white;
    border-right: 1px solid var(--heading);
    min-height: 100%;
    transition: background 0.2s;
}

.schedule-day-cell:last-child {
    border-right: none;
}

.schedule-day-cell.drag-over {
    background: var(--lightest);
    position: relative;
}

.schedule-day-cell.drag-over::after {
    content: "⬇️ Переместить сюда";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--accent);
    background: white;
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Карточка сотрудника */
.employee-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
    cursor: grab;
    position: relative;
    border: 1px solid var(--heading);
}

.employee-card:active {
    cursor: grabbing;
}

.employee-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.employee-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.employee-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--color);
}

.employee-type {
    font-size: 12px;
    color: var(--accent);
    background: var(--lightest);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    width: fit-content;
}

.employee-time {
    font-size: 13px;
    color: var(--heading-color);
    font-weight: 500;
}

/* Кнопки действий */
.employee-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    justify-content: flex-end;
}

.employee-edit, .employee-delete {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: var(--lightest);
}

.employee-edit:hover {
    background: var(--accent);
}

.employee-edit:hover svg path {
    stroke: white;
}

.employee-delete:hover {
    background: var(--red);
}

.employee-delete:hover svg path {
    stroke: white;
}

/* Кнопка добавления */
.add-employee-btn {
    background: var(--lightest);
    border: 1px dashed var(--accent);
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    color: var(--main);
    font-weight: 500;
}

.add-employee-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Ghost элемент при перетаскивании */
.drag-ghost {
    position: fixed;
    width: 240px;
    background: white;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    pointer-events: none;
    opacity: 0.95;
    transform: rotate(2deg);
}

.drag-ghost .employee-name {
    font-size: 13px;
}

.drag-ghost .employee-type {
    font-size: 11px;
}

/* Синхронизация скролла */
.schedule-days-wrapper::-webkit-scrollbar,
.days-header-wrapper::-webkit-scrollbar {
    height: 8px;
}

.schedule-days-wrapper::-webkit-scrollbar-track,
.days-header-wrapper::-webkit-scrollbar-track {
    background: var(--heading);
    border-radius: 4px;
}

.schedule-days-wrapper::-webkit-scrollbar-thumb,
.days-header-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Индикатор загрузки */
.schedule-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--heading-color);
    font-size: 14px;
}

.schedule-loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid var(--heading);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-t{
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 9999;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(15px);
	transform: scale(0.9);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.modal-t.active{
	opacity: 1;
	transform: scale(1);
	visibility: visible;
}

.modal-t-content{
	background: #fff;
	width: 1120px;
	padding: 44px;
	border-radius: 20px;
}

/* ===== ИСПРАВЛЕННАЯ СТРАНИЦА ФАКТА ПОСЕЩЕНИЙ ===== */
.attendance-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    height: calc(100vh - 280px);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Таблица фактов */
.attendance-table {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Фиксированный заголовок */
.attendance-header {
    flex-shrink: 0;
    background: white;
    z-index: 20;
}

.attendance-header-row {
    display: flex;
    background: var(--heading);
    border-bottom: 2px solid var(--accent);
}

.header-corner-attendance {
    width: 320px;
    flex-shrink: 0;
    padding: 16px 12px;
    font-weight: 600;
    background: var(--heading);
    border-right: 1px solid var(--heading);
    position: sticky;
    left: 0;
    z-index: 15;
}

/* Контейнер дней с горизонтальным скроллом */
.days-header-attendance {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
}

.days-header-attendance::-webkit-scrollbar {
    height: 8px;
}

.days-header-attendance::-webkit-scrollbar-track {
    background: var(--heading);
    border-radius: 4px;
}

.days-header-attendance::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.days-header-scroll {
    display: flex;
    min-width: min-content;
}

.day-header-attendance {
    flex-shrink: 0;
    width: 280px;
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border-right: 1px solid var(--heading);
    background: var(--heading);
}

.day-header-attendance:last-child {
    border-right: none;
}

.day-date {
    font-size: 12px;
    color: var(--heading-color);
    margin-top: 4px;
    font-weight: normal;
}

/* Тело таблицы - ОСНОВНОЙ ВЕРТИКАЛЬНЫЙ СКРОЛЛ */
.attendance-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
}

/* Стили скролла для тела */
.attendance-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.attendance-body::-webkit-scrollbar-track {
    background: var(--heading);
    border-radius: 4px;
}

.attendance-body::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.attendance-body::-webkit-scrollbar-thumb:hover {
    background: var(--main);
}

/* Контейнер строк */
.attendance-rows {
    display: flex;
    flex-direction: column;
    min-width: min-content;
}

/* Строка точки */
.attendance-row {
    display: flex;
    border-bottom: 1px solid var(--heading);
    min-height: 100px;
}

.attendance-row:last-child {
    border-bottom: none;
}

/* Фиксированная колонка с точкой */
.point-fixed-attendance {
    width: 320px;
    flex-shrink: 0;
    padding: 16px 12px;
    background: #faf5ff;
    border-right: 1px solid var(--heading);
    position: sticky;
    left: 0;
    z-index: 10;
}

.point-info-attendance {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.point-name-attendance {
    font-weight: 600;
    font-size: 16px;
    color: var(--color);
}

.point-type-badge {
    font-size: 12px;
    background: var(--lighter);
    padding: 4px 10px;
    border-radius: 16px;
    display: inline-block;
    width: fit-content;
}

/* Строка с днями */
.attendance-days-row {
    display: flex;
    min-width: min-content;
}

/* Ячейка дня */
.attendance-day-cell {
    flex-shrink: 0;
    width: 280px;
    padding: 12px;
    background: white;
    border-right: 1px solid var(--heading);
    min-height: 100%;
}

.attendance-day-cell:last-child {
    border-right: none;
}

/* Карточка сотрудника */
.attendance-employee-card {
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--heading);
    transition: all 0.2s;
}

.attendance-employee-card:last-child {
    margin-bottom: 0;
}

.attendance-employee-card.late {
    border-left: 4px solid #FF6B9D;
    background: #FFF4F4;
}

.attendance-employee-card.early {
    border-left: 4px solid #FFB347;
    background: #FFF9F0;
}

.attendance-employee-card.on-time {
    border-left: 4px solid #2DCF93;
    background: #F0FFF7;
}

.employee-name-attendance {
    font-weight: 600;
    font-size: 14px;
    color: var(--color);
    margin-bottom: 8px;
}

.employee-type-attendance {
    font-size: 11px;
    color: var(--accent);
    background: var(--lightest);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Таблица времени */
.time-table {
    width: 100%;
    font-size: 12px;
    border-collapse: collapse;
}

.time-table td {
    padding: 6px 4px;
    border-bottom: 1px dashed var(--heading);
}

.time-table td:first-child {
    font-weight: 500;
    color: var(--heading-color);
    width: 110px;
}

.time-table td:last-child {
    color: var(--color);
    font-weight: 500;
}

.time-table tr:last-child td {
    border-bottom: none;
}

.time-diff {
    font-size: 11px;
    margin-left: 8px;
}

.time-diff.late {
    color: #FF6B9D;
}

.time-diff.early {
    color: #FFB347;
}

.time-diff.on-time {
    color: #2DCF93;
}

/* Статус посещения */
.attendance-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 8px;
}

.status-present {
    background: #E8F5E9;
    color: #2DCF93;
}

.status-absent {
    background: #FFEBEE;
    color: #FF6B9D;
}

.status-late {
    background: #FFF3E0;
    color: #FFB347;
}

/* Нет данных */
.no-data {
    text-align: center;
    color: var(--heading-color);
    padding: 20px;
    font-size: 13px;
}

/* Сводная информация */
.summary-stats {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    padding: 12px;
    background: var(--heading);
    border-radius: 12px;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.summary-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.summary-dot.green { background: #2DCF93; }
.summary-dot.red { background: #FF6B9D; }
.summary-dot.orange { background: #FFB347; }

/* Фильтры для страницы фактов */
.filter-panel-attendance {
    display: flex;
    gap: 15px;
    margin: 16px 0 20px;
    flex-wrap: wrap;
}

.filter-group-attendance {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--heading);
}

.filter-group-attendance:hover {
    border-color: var(--accent);
}

.filter-group-attendance.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.filter-group-attendance.active svg path {
    stroke: white;
}

.filter-group-attendance span {
    font-size: 14px;
    font-weight: 500;
}

/* Индикатор загрузки */
.schedule-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--heading-color);
    font-size: 14px;
}

.schedule-loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid var(--heading);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.notifications-list{
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.notification-block{
	background: #fff;
	border-radius: 20px;
	padding: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.notification-block.red{
	background: #FFC1C1;
}

.notification-block.green{
	background: #BBFFD0;
}

.notification-block .datetime{
	color: var(--heading-color);
}

.notification-block .close-notification{
	position: absolute;
	right: 15px;
	top: 15px;
	cursor: pointer;
	transition: all .2s;
}

.notification-block .close-notification:hover{
	opacity: 0.6;
}



.section-block {
    padding: 0px 30px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.section-title {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.section-title:hover {
    background: #e9ecef;
}

.section-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    gap: 15px;
}

.section-title svg{
	width: 20px;
}

.toggle-icon {
    font-size: 18px;
    transition: transform 0.2s;
}

.section-title.active .toggle-icon {
    transform: rotate(180deg);
}

.section-content {
    padding: 20px 0px;
    display: none;
}

.section-content .inputs{
	padding-left: 0;
	padding-right: 0;
}

.section-content.show {
    display: block;
}