body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: 'Open Sans', sans-serif;
	background: linear-gradient(135deg, #000000, #1a0000, #d10000); /* Убран голубой цвет */
	background-attachment: fixed;
}

/* main {
} */

/* Мобильная навигация - скрываем на десктопе */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

/* Стили шапки перенесены в header.css */

/* Dropdown z-index fix */
.dropdown-menu {
    z-index: 99999 !important;
    position: absolute !important;
}

.dropdown-menu.show {
    z-index: 99999 !important;
    position: absolute !important;
    display: block !important;
}

.dropdown-menu[data-bs-popper] {
    z-index: 99999 !important;
}

.dropdown {
    position: relative !important;
    z-index: 1000 !important;
}

/* Убираем старые Bootstrap стили */
.navbar-nav, .navbar-collapse {
	display: none !important;
}

/* Исправляем container-fluid для контента */
.container-fluid {
	display: block !important;
}

/* Стили кнопок перенесены в header.css */

/* Стили шапки перенесены в header.css */

.dropdown-toggle {
	color: #ffffff !important;
	background: transparent !important;
	border: none !important;
}

.dropdown-toggle:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
}

.dropdown-menu {
	background: rgba(0, 0, 0, 0.9) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dropdown-item {
	color: #ffffff !important;
	background: transparent !important;
}

.navbar-nav .dropdown-item:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
}

.signup {
	background-color: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	text-decoration: none;
	padding: 8px 15px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.signup:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

/* Стили для кнопок в шапке */
.header .btn {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: #ffffff !important;
	padding: 8px 15px !important;
	border-radius: 4px !important;
	transition: all 0.3s ease !important;
}

.header .btn:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
	color: #ffffff !important;
}

.header .btn-success {
	background: rgba(40, 167, 69, 0.8) !important;
	border-color: #28a745 !important;
}

.header .btn-success:hover {
	background: rgba(40, 167, 69, 1) !important;
}

.header .btn-primary {
	background: rgba(0, 123, 255, 0.8) !important;
	border-color: #007bff !important;
}

.header .btn-primary:hover {
	background: rgba(0, 123, 255, 1) !important;
}

.hero-text {
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	z-index: 1;
	width: 100%;
	padding: 0 20px;
	font-family: 'Ebbe', sans-serif;
}

.hero-text h1 {
	font-size: 64px;
	font-weight: normal;
	margin: 0;
	line-height: 1.2;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.hero-buttons {
	margin-top: 30px;
	display: flex;
	gap: 20px;
	justify-content: center;
}

.hero-button {
	background-color: rgba(16, 25, 203, 0.7);
	color: white;
	text-decoration: none;
	padding: 12px 30px;
	border-radius: 5px;
	font-family: 'Teko', sans-serif;
	font-size: 20px;
	letter-spacing: 1px;
	backdrop-filter: blur(5px);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-button:hover {
	background-color: rgba(16, 25, 203, 0.9);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(16, 25, 203, 0.9);
	backdrop-filter: blur(5px);
	min-width: 250px;
	border-radius: 5px;
	margin-top: 5px;
	box-shadow: 0 5px 15px rgba(251, 248, 248, 0.892);
	z-index: 1000;
}

/*
.dropdown:hover .dropdown-menu {
	display: block;
}
*/

.dropdown-menu a {
	color: white;
	padding: 12px 20px;
	text-decoration: none;
	display: block;
	font-family: 'Teko', sans-serif;
	font-size: 18px;
	transition: background-color 0.3s;
}

.dropdown-menu a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1;
	border-radius: 5px;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

/*
.dropdown:hover .dropdown-content {
	display: block;
}
*/

.nav-link {
	color: #ffffff;
	text-decoration: none;
	padding: 8px 15px;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(16, 25, 203, 0.9);
	backdrop-filter: blur(5px);
	min-width: 150px;
	border-radius: 5px;
	padding: 8px 0;
	margin-top: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	z-index: 1000;
}

/*
.dropdown:hover .dropdown-content {
	display: block;
}
*/

.dropdown-content a {
	color: white;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	font-family: 'Teko', sans-serif;
	font-size: 18px;
	transition: background-color 0.3s;
	white-space: nowrap;
}

.dropdown-content a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.nav-link:focus,
.dropdown-content a:focus,
.signup:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(16, 25, 203, 0.9);
	backdrop-filter: blur(5px);
	min-width: 150px;
	border-radius: 5px;
	padding: 8px 0;
	margin-top: 5px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	z-index: 1000;
}

/*
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
	display: block;
}
*/

/* Стили logo-link перенесены в header.css */

.dropdown-content a i {
	margin-right: 8px;
	width: 16px;
	text-align: center;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
}

.modal-content {
	background-color: rgba(16, 25, 203, 0.9);
	margin: 15% auto;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	width: 80%;
	max-width: 400px;
	border-radius: 10px;
	position: relative;
	color: white;
}

.close {
	color: #fff;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover {
	color: #999;
}

.modal-content form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 20px;
}

.modal-content input {
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
}

.modal-content input::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.modal-content button {
	padding: 10px;
	background: #ffffff;
	border: none;
	border-radius: 5px;
	color: #000;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
}

.modal-content button:hover {
	background: rgba(255, 255, 255, 0.8);
}

.scroll-section .hero-text {
	z-index: 2;
}

.hero-section .hero-text {
	position: absolute;
	top: 20%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	z-index: 1;
	width: 100%;
	padding: 0 20px;
	font-family: 'Ebbe', sans-serif;
}

.hero-section .hero-text h1 {
	font-family: 'Teko', sans-serif;
	font-size: 48px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.scroll-section .hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
	z-index: 1;
	width: 100%;
	padding: 0 20px;
	font-family: 'Ebbe', sans-serif;
}

.scroll-section .hero-text h1 {
	font-family: 'Teko', sans-serif;
	font-size: 48px;
	font-weight: bold;
	margin: 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.hero-section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	/* background: #000000 url('../images/riz.jpg') center center/cover no-repeat; */
	margin-top: 70px;
	transition: opacity 0.5s ease-in-out;
}

.scroll-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	position: relative;
	z-index: 1;
	/* background: #000000 url('../images/nowa.png') center center/contain no-repeat; */
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.nav-menu button {
	background-color: transparent;
	/* Прозрачный фон */
	color: #ffffff;
	/* Цвет текста */
	border: none;
	/* Убираем рамку */
	cursor: pointer;
	/* Указатель при наведении */
	padding: 8px 15px;
	/* Отступы */
	transition: background-color 0.3s ease;
	/* Плавный переход цвета */
}

.nav-menu button:hover {
	background-color: rgba(255, 255, 255, 0.1);
	/* Цвет кнопки при наведении */
}

.logout-button {
	background-color: rgba(16, 25, 203, 0.7);
	color: white;
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.logout-button:hover {
	background-color: rgba(16, 25, 203, 0.9);
}

.nav-menu .logout-button {
	background-color: rgba(16, 25, 203, 0.7) !important;
	color: white !important;
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.nav-menu .logout-button:hover {
	background-color: rgba(16, 25, 203, 0.9);
}

.dropdown {
	position: relative;
	display: inline-block;
}

.profile-link {
	color: #fff;
	text-decoration: none;
	padding: 10px;
	background-color: #333;
	border-radius: 5px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
}

.arrow {
	margin-left: 5px;
	font-size: 12px;
	transition: transform 0.3s ease;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1;
	border-radius: 5px;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #ddd;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

/*
.dropdown:hover .dropdown-content {
	display: block;
}
*/


nav.bg-dark {
    background-color: transparent !important;
}

.btn-primary, .btn-success {
    display: inline-block;
    margin: 0;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    min-width: 120px;
    background: #d10000;
    color: #fff;
    white-space: nowrap;
}

.btn-success {
    background: #0a7d1a;
}

.btn-primary:hover { background: #a80000; }
.btn-success:hover { background: #055c12; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* На мобильных скрываем десктопную навигацию */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important;
    }
}
.navbar-nav, .header-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- Стили для уведомлений --- */
.notification {
    position: fixed;
    top: 80px; /* Отступ от шапки */
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Запрещаем перенос текста */
    opacity: 0;
    transform: translateY(-20px);
    animation: notification-fade-in 0.5s forwards;
}

.notification.success {
    background-color: #28a745; /* Зеленый */
}

.notification.error {
    background-color: #dc3545; /* Красный */
}

@keyframes notification-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS) ==================== */
.breadcrumbs-nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
    font-size: 12px;
}

.breadcrumb-separator i {
    opacity: 0.5;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .breadcrumbs-nav {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .breadcrumbs {
        font-size: 12px;
    }
    
    .breadcrumb-separator {
        margin: 0 8px;
        font-size: 10px;
    }
    
    /* На мобильных скрываем первые элементы, оставляем только последние 3 */
    .breadcrumb-item:not(:nth-last-child(-n+3)) {
        display: none;
    }
    
    /* Показываем многоточие если есть скрытые элементы */
    .breadcrumbs:has(.breadcrumb-item:not(:nth-last-child(-n+3)))::before {
        content: '...';
        color: #999;
        margin-right: 8px;
        display: inline-block;
    }
}

/* ==================== ГЛОБАЛЬНЫЙ TOAST (успех / ошибка / предупреждение / инфо) ==================== */
.global-toast {
    position: fixed;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 420px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.4);
    z-index: 9999;
    min-width: 0;
    display: none;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: globalToastSlideIn 0.4s ease-out;
}
.global-toast.toast-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 8px 32px rgba(220, 53, 69, 0.4);
}
.global-toast.toast-warning {
    background: linear-gradient(135deg, #fd7e14 0%, #e8590c 100%);
    box-shadow: 0 8px 32px rgba(253, 126, 20, 0.4);
}
.global-toast.toast-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    box-shadow: 0 8px 32px rgba(13, 202, 240, 0.4);
}
.global-toast.show {
    display: flex;
}
.global-toast.hiding {
    animation: globalToastSlideOut 0.35s ease-in forwards;
}
.global-toast .toast-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.global-toast .toast-content {
    flex: 1;
}
.global-toast .toast-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #fff;
}
.global-toast .toast-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}
.global-toast .toast-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-size: 16px;
    padding: 0;
}
.global-toast .toast-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
@keyframes globalToastSlideIn {
    from { transform: translateX(-50%) translateY(-24px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes globalToastSlideOut {
    from { transform: translateX(-50%) translateY(0); opacity: 1; }
    to { transform: translateX(-50%) translateY(-24px); opacity: 0; }
}
@media (max-width: 768px) {
    .global-toast {
        top: 72px;
        width: calc(100% - 20px);
        max-width: none;
    }
}

/* Единая кнопка «Назад» — иконка стрелки вверху контента (профиль, заявки, клуб и т.д.) */
.page-back-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    z-index: 10002;
}
.page-back-link:hover {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

