@charset "UTF-8";

/*!
 * Katarina Templates base version 1.0
 * Copyright 2021
 * Modern Clean Theme
 */

/* Bsase styles */

:root {
	--k-bg-main: #f8fafc;
	--k-bg-white: #ffffff;
	--k-bg-black: #111827;
	--k-link-hover: #4f46e5;
	--k-bg-blue: #4f46e5;
	--k-transition: 0.3s;
	--k-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	--k-width-main: 615px;
	--k-width-fullstory: 800px;
	/* Modern colors */
	--primary: #4f46e5;
	--primary-light: #818cf8;
	--secondary: #8b5cf6;
	--accent: #10b981;
	--text-primary: #374151;
	--text-secondary: #6b7280;
	--border-light: #e5e7eb;
	--border-medium: #d1d5db;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
}

.block {
	border-radius: var(--radius-md) !important;
	border: 1px solid var(--border-light);
}


/* Body styles */

body {
	background-color: var(--k-bg-main);
	color: var(--text-primary);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	font-size: 16px;
}

.fix-content {
	margin-top: 500px;
}

.td-none a {
	text-decoration: none;
}

.td-none {
	text-decoration: none;
}

.color-fix a {
	color: var(--text-primary) !important;
	font-weight: 600;
}

.main-bg {
	background-color: var(--k-bg-main)
}

.border-line {
	border: 1px solid var(--border-light);
}

.fix-btn-dark {
	color: #000 !important;
}

.link-hover:hover {
	color: var(--primary) !important;
	transition: var(--k-transition);
}

.main-width {
	max-width: var(--k-width-main) !important;
}

.fullstory-width {
	max-width: var(--k-width-fullstory) !important;
}


/* Header | modules/header.tpl */

.bg-header {
	background-color: rgba(255, 255, 255, 0.9) !important;
	backdrop-filter: blur(10px) !important;
	border-bottom: 1px solid var(--border-light);
	box-shadow: var(--shadow-sm);
}

.header-fix {
	margin-top: 90px;
}

.st {
	top: 90px !important;
}

.search-wrapper {
	border-radius: var(--radius-lg);
	background-color: var(--k-bg-white);
	padding-right: 12px;
	height: 44px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	color: var(--text-secondary);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	border: 1px solid var(--border-light);
	transition: var(--k-transition);
}
.search-wrapper:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-input {
	border: none;
	flex: 1;
	outline: none;
	height: 100%;
	padding: 0 20px;
	width: 340px;
	font-size: 16px;
	background-color: transparent;
	color: var(--text-primary);
}

.search-input::placeholder {
	color: var(--text-secondary);
	opacity: 0.7;
}

.profile-btn {
	padding: 0;
	border: 0;
	background-color: transparent;
	display: flex;
	align-items: center;
	padding-left: 12px;
	border-left: 2px solid var(--border-light);
}

.profile-btn img {
	width: 32px;
	height: 32px;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: 50%;
	margin-right: 4px;
}

.profile-btn span {
	color: var(--text-primary);
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}

.add-btn {
	color: var(--primary);
	background-color: rgba(79, 70, 229, 0.1);
	padding: 0;
	border: 0;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--primary);
	transition: var(--k-transition);
}

.add-btn:hover {
	background: rgba(79, 70, 229, 0.2);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.notification-btn {
	color: var(--text-secondary);
	padding: 0;
	border: 0;
	background-color: transparent;
	height: 36px;
	width: 36px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	transition: var(--k-transition);
}
.notification-btn:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: var(--text-primary);
}

.mode-switch {
	background-color: transparent;
	border: none;
	padding: 0;
	color: var(--text-secondary);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: var(--k-transition);
}
.mode-switch:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: var(--text-primary);
}

.app-icon {
	width: 26px;
	height: 2px;
	border-radius: 4px;
	background-color: var(--text-primary);
	position: relative;
}

.app-icon:before,
.app-icon:after {
	content: "";
	position: absolute;
	width: 12px;
	height: 2px;
	border-radius: 4px;
	background-color: var(--text-primary);
	left: 50%;
	transform: translatex(-50%);
}

.app-icon:before {
	top: -6px;
}

.app-icon:after {
	bottom: -6px;
}

.app-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 16px 24px;
	position: relative;
}

.app-header-left,
.app-header-right {
	display: flex;
	align-items: center;
}

.app-header-left {
	flex-grow: 1;
}

.app-header-right button {
	margin-left: 10px;
}

.app-name {
	font-size: 22px;
	line-height: 28px;
	font-weight: 700;
	margin: 0px 32px 0px 0px;
	color: var(--text-primary);
	transition: var(--k-transition);
}

.app-name:hover {
	color: var(--primary) !important;
}

#toggleThemeBtn {
	cursor: pointer;
}

.moon {
	display: none;
}

.sun {
	width: 24px;
	height: 24px;
	display: block;
}

#toggleThemeBtn.light .sun {
	display: none;
}

#toggleThemeBtn.light .moon {
	display: block;
}


/* Результаты поиска */

#searchsuggestions {
	z-index: 2200;
	width: 400px;
	border-radius: var(--radius-md);
	margin-top: 20px !important;
	background: var(--k-bg-white);
	box-shadow: var(--shadow-lg);
	background-clip: padding-box;
	font-size: .9em;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid var(--border-light);
}

#searchsuggestions a,
#searchsuggestions span.notfound {
	padding: 15px 25px;
	display: block;
	text-decoration: none;
}

#searchsuggestions a {
	color: inherit;
}

#searchsuggestions a span {
	display: block;
	cursor: pointer;
}

#searchsuggestions span.searchheading {
	display: block;
	font-weight: bold;
	margin-bottom: .2em;
}

#searchsuggestions span.seperator {
	display: block;
}

#searchsuggestions span.seperator a {
	padding: 10px 0;
	text-align: center;
	border: 0 none;
	background-color: transparent;
	color: #919191;
}

#searchsuggestions span.notfound {
	padding: 15px 25px;
	display: block;
}

#searchsuggestions .break {
	display: none;
}

#searchsuggestions a:hover {
	background: rgba(79, 70, 229, 0.05);
	border-radius: var(--radius-sm);
	color: var(--primary);
}


/* Shortstory | shortstory.tpl */

.post:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
	transition: var(--k-transition);
}

.lineblue {
	border-bottom: 4px solid var(--primary);
	width: 87px;
	margin-bottom: -11px;
}

.com-text {
	font-size: 13px;
}

.com-news {
	font-size: 14px !important;
	color: var(--text-primary);
	font-weight: 600;
}

.com-login a {
	font-size: 14px;
	color: var(--text-secondary) !important;
}

.com:hover {
	background: rgba(79, 70, 229, 0.05);
	border-radius: var(--radius-md);
	border-left: 3px solid var(--primary);
}

.like a:hover {
	color: var(--primary) !important;
}

.com-autor {
	background-color: rgba(16, 185, 129, 0.1);
	border-left: 4px solid var(--accent);
}

.list-poll input[type=checkbox] {
	margin-right: 10px;
}

.list-poll input:checked[type=radio] {
	margin-right: 10px;
}

.img-fix img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

@media (min-width: 1200px) {
	.img-fix p:nth-child(3) {
		margin: 0 -64px;
	}
}

.card-hover:hover {
	box-shadow: var(--shadow-lg);
	transition: var(--k-transition);
	transform: translateY(-4px);
}

.noimg img {
	display: none !important;
}

.card-text img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
	margin: 1rem 0;
}

.poster-img img {
	width: 100% !important;
}

.cat-icon img {
	width: 30px !important;
	height: 30px !important;
	border: solid 2px #fff !important;
	padding: 2px !important;
	border-radius: 50px !important;
}

.log-pm-none_0 {
	display: none !important;
}

.group-icon img {
	width: 15px;
	height: 15px;
	margin-bottom: 5px;
}


/*---Выпадающее меню кнопки редактировать---*/

#dropmenudiv {
	padding: 8px 0;
	min-width: 160px;
	z-index: 9999 !important;
	width: auto !important;
	opacity: 1 !important;
	display: none;
	font-size: .9em;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	background-clip: padding-box;
	background-color: var(--k-bg-white);
}

#dropmenudiv a {
	text-decoration: none !important;
	color: var(--text-primary);
	display: block;
	padding: 8px 16px;
	border: 0 none;
	white-space: nowrap;
	border-radius: var(--radius-sm);
	transition: var(--k-transition);
}

#dropmenudiv a:hover {
	background-color: rgba(79, 70, 229, 0.08);
	color: var(--primary);
}


/* Nav | modules/nav.tpl */

.app-sidebar-link {
	color: var(--text-primary);
	margin: 12px 0;
	transition: var(--k-transition);
	border-radius: var(--radius-md);
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.03);
}

.app-sidebar-link:hover {
	background-color: rgba(79, 70, 229, 0.1);
	border-left: 3px solid var(--primary);
	color: var(--primary);
}

.active-nav {
	background-color: rgba(79, 70, 229, 0.15);
	color: var(--primary);
	border-left: 3px solid var(--accent);
}


/* Nav | modules/sidebar.tpl */

.btn-telegram {
	box-shadow: var(--shadow-md);
}

.border-deviver {
	border-bottom: 5px;
	color: #cecece;
}

.bordertwo img {
	border: solid 2px var(--primary) !important;
	padding: 3px !important;
	width: 54px !important;
	height: 54px !important;
	border-radius: 50px !important;
}


/* Panel | modules/panel.tpl */

.list-cat {
	list-style-type: none;
	margin-left: -20px;
}

.list-e {
	padding: 8px 12px;
	border-radius: var(--radius-md);
}

.list-e a {
	color: var(--text-primary) !important;
	text-decoration: none;
	font-weight: 500;
}

.list-e:hover {
	background-color: rgba(16, 185, 129, 0.08);
	border-left: 3px solid var(--accent);
}


/* Userinfo | userinfo.tpl */

.link-pm a {
	color: #ffffff !important;
}

.link-rss a {
	color: var(--text-primary) !important;
	transition: var(--k-transition);
}

.link-rss a:hover {
	color: var(--primary) !important;
}

.user-nav {
	border-bottom: 3px solid var(--primary);
	padding-bottom: 15px;
}

.soc-vk {
	background-color: rgba(79, 70, 229, 0.08);
	padding: 8px;
	border-radius: var(--radius-sm);
}

.soc-tg {
	background-color: rgba(79, 70, 229, 0.08);
	padding: 8px 10px;
	border-radius: var(--radius-sm);
}

.soc-mail {
	background-color: rgba(79, 70, 229, 0.08);
	padding: 8px 10px;
	border-radius: var(--radius-sm);
}


/* Login | login.tpl */

.p-list li {
	margin: 0px 5px;
	border-radius: var(--radius-md);
}

.p-list li:hover {
	border-radius: var(--radius-lg) !important;
	background: rgba(16, 185, 129, 0.08) !important;
	border-left: 3px solid var(--accent);
}


/* --- PM --- */

@media only screen and (min-width: 601px) {
	#pm-menu:after {
		content: "";
		clear: both;
		display: block;
	}
	#pm-menu {
		margin-bottom: 25px;
	}
	#pm-menu a {
		color: inherit;
		border-radius: 2px;
		border: 2px solid transparent;
		float: left;
		text-decoration: none !important;
	}
}

.pm-box {
	margin-bottom: 25px;
}

.pm_status {
	padding: 25px;
	background-color: rgba(79, 70, 229, 0.08);
	border-radius: var(--radius-sm);
	border-left: 3px solid var(--secondary);
}

.pm_progress_bar {
	background-color: rgba(79, 70, 229, 0.12);
	margin-bottom: 10px;
	border-radius: var(--radius-sm);
}

.pm_progress_bar span {
	background: var(--primary);
	font-size: 0;
	height: 20px;
	border-radius: var(--radius-sm);
	display: block;
	overflow: hidden
}


/* --- Search | search.rpl --- */

.form-control-fix input {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--text-primary);
	background-color: rgba(0, 0, 0, 0.03);
	background-clip: padding-box;
	border: 1px solid var(--border-light);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: var(--radius-sm);
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-fix input:focus {
	color: var(--text-primary);
	background-color: #fff;
	border-color: var(--primary);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}


/* --- Постраничная навигация --- */

.navigation {
	margin: 25px 0;
}

.navigation:after {
	clear: both;
	display: block;
	content: "";
}

.pages {
	text-align: left;
}

.pages span,
.pages a:hover,
.page_next-prev {
	background-color: #fff;
	box-shadow: var(--shadow-sm);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-light);
}

.pages span,
.pages a {
	color: inherit;
	display: inline-block;
	position: relative;
	padding: 8px 12px;
	min-width: 40px;
	height: 40px;
	line-height: 24px;
	text-align: center;
	text-decoration: none !important;
	font-weight: 600;
}

.pages span {
	color: var(--text-primary);
}

.pages a:hover {
	color: #fff;
	background-color: var(--primary);
	box-shadow: var(--shadow-md);
}

.page_next-prev {
	float: right;
	height: 36px;
}

.page_next-prev * {
	float: left;
}

.page_next-prev .icon {
	width: 32px;
	height: 20px;
	fill: var(--text-secondary);
}

.page_next-prev>span>a:hover .icon {
	fill: var(--primary);
}

.page_next-prev>span>* {
	float: left;
	padding: 6px 12px;
}

.page_next>span,
.page_prev>span {
	opacity: 0.5;
}


/* Постраничная навигация в новости */

.splitnewsnavigation {
	margin-top: 4%;
	padding-top: 4%;
	font-weight: bold;
	border-top: 1px solid var(--border-light);
}

.splitnewsnavigation>a,
.splitnewsnavigation>span {
	padding: 6px 10px;
}

.owl-item img {
	border-radius: 15px !important;
}


/* Табы */

.myfeed {
	border-bottom: 2px dashed var(--border-light);
	transition: var(--k-transition);
}

.myfeed:hover {
	border-bottom: 2px dashed var(--primary);
	transition: var(--k-transition);
}

@media (max-width: 1300px) {
	.stories-fix {
		display: none !important;
	}
}

/* Modern UI components */

.card {
	background: var(--k-bg-white);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: var(--k-transition);
}

.card:hover {
	box-shadow: var(--shadow-md);
}

.card-title {
	color: var(--text-primary) !important;
	transition: var(--k-transition);
	font-weight: 600;
}

.card-title:hover {
	color: var(--primary) !important;
}

a {
	color: var(--text-primary);
	text-decoration: none;
	transition: color var(--k-transition);
}

a:hover {
	color: var(--primary) !important;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	border: none;
	color: #fff;
	font-weight: 600;
	padding: 0.5rem 1.5rem;
	border-radius: var(--radius-md);
	transition: var(--k-transition);
}

.btn-primary:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.btn-dark {
	background: rgba(79, 70, 229, 0.1) !important;
	border: 1px solid var(--primary);
	color: var(--primary);
}

.btn-dark:hover {
	background: rgba(79, 70, 229, 0.2) !important;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-outline-dark {
	color: var(--text-primary) !important;
	border-color: var(--border-medium) !important;
}

.btn-outline-dark:hover {
	background: rgba(0, 0, 0, 0.03);
	color: var(--primary);
	border-color: var(--primary) !important;
}

.dropdown-menu {
	background: var(--k-bg-white);
	border: 1px solid var(--border-light);
	box-shadow: var(--shadow-lg);
}

.dropdown-item {
	color: var(--text-primary) !important;
}

.dropdown-item:hover {
	background: rgba(79, 70, 229, 0.08) !important;
	color: var(--primary) !important;
}

.modal-content {
	background: var(--k-bg-white) !important;
	border: 1px solid var(--border-light);
	box-shadow: var(--shadow-lg);
}

.form-control {
	background-color: rgba(0, 0, 0, 0.03) !important;
	border: 1px solid var(--border-light);
	color: var(--text-primary);
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.toast {
	background-color: var(--k-bg-white) !important;
	border: 1px solid var(--border-light);
	box-shadow: var(--shadow-lg);
}

.toast-header {
	background-color: var(--k-bg-white) !important;
	color: var(--text-primary) !important;
	border-bottom: 1px solid var(--border-light);
}

::selection {
	background: rgba(79, 70, 229, 0.3);
	color: var(--text-primary);
}

.scrollbar::-webkit-scrollbar {
	width: 10px;
	background: var(--k-bg-main);
}

.scrollbar::-webkit-scrollbar-thumb {
	background: var(--border-medium);
	border-radius: 5px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

.pulse {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.5); }
	70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
	100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* Плавная анимация для выпадающего меню в боковой панели */
.dropend .dropdown-menu {
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	display: block;
	visibility: hidden;
	pointer-events: none;
}
.dropend .dropdown-menu.show {
	opacity: 1;
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}

/* Стили для подменю развлечений */
.entertainment-dropdown {
	background-color: #ffffff !important;
	border: 1px solid #000000 !important;
	border-width: 1px !important;
}
.entertainment-dropdown .dropdown-item {
	color: #212529 !important;
}
.entertainment-dropdown .dropdown-item:hover {
	background-color: rgba(0, 0, 0, 0.05) !important;
}
.entertainment-dropdown .dropdown-divider {
	border-color: #dee2e6 !important;
}