div.game__list-user-name a {
    color: #333;
}

.slots__item-record.alert-info {
    padding: 8px 11px;
}

.game__description-item--coach:before {
    content: url(../img/ico-coach.png);
}

.slots__item-description-item--coach:before {
    content: url(../img/ico-coach.png);
}

.game__description-item--status:before {
    content: url(../img/cancel.svg);
}

.slots__item-description-item--status:before {
    content: url(../img/cancel.svg);
}
.navbar-form {
    border-top: none;
}

.navbar-collapse {
    box-shadow: none;
}

div.place-info {background-color: #ffd469;border-color:transparent;color: #333;padding: 8px 11px;padding-left: 15px;border-radius: 10px; margin-bottom: 12px}

#id_level {
  margin-left: 4px;
}

#level_btn {
    background:#2a3142;
    color:#FFF ;
    margin-top: 4px;
    border-radius: 18px;
    -moz-border-radius: 5px;
    border-color:transparent;
    -webkit-border-radius: 5px;
}

button.small_btn {
    background:#2a3142;
    color:#FFF ;
    border-radius: 18px;
    -moz-border-radius: 5px;
    border-color:transparent;
    -webkit-border-radius: 5px;
}

.level_selector_form {
     box-sizing: border-box;
}

.level_selector_form input[type="text"], select {
    height: 30px;
    width: 180px;
    margin-left: 4px;
    margin-top: 4px;
    margin-bottom: 2px;
}

.bold_link {
  font-weight: 600;
}





ul.menu li {
    text-align: right;
    padding-right: 30px;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover {
    background-color: transparent;
}

.game__list-pair-photo {
    margin-bottom: 25px;
}

a.payment-info {
    color: #000000;
    font-weight: bold;
    font-style: italic;
}



@media (min-width: 1200px) {
    ul.menu {
        margin-top: 15px;
    }

    .header__button {
        margin-top: 20px;
        position: static;
        transform: none;
        top: auto;
        right: auto;
    }

    ul.menu li {
        padding-right: 0;
    }

    .container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
        margin-right: -15px;
        margin-left: -15px;
    }
}

.table {
	width: 100%;
	border: none;
    border-collapse: separate;
}
.table thead th {
	font-weight: bold;
	text-align: center;
	border: none;
	background: #EDEDED;
	font-size: 14px;
	border-top: 1px solid #ddd;
}
.table tr th:first-child, .table tr td:first-child {
	border-left: 1px solid #ddd;
}
.table tr th:last-child, .table tr td:last-child {
	border-right: 1px solid #ddd;
}
.table thead tr th:first-child {
	border-radius: 20px 0 0 0;
}
.table thead tr th:last-child {
	border-radius: 0 20px 0 0;
}
.table tbody td {
	text-align: center;
	border: none;
	vertical-align: middle;
}
.table tbody tr td {
	vertical-align: middle;
}
.table tbody tr:nth-child(even) {
	background: #F8F8F8;
}
.table tbody tr:last-child td{
	border-bottom: 1px solid #ddd;
}
.table tbody tr:last-child td:first-child {
	border-radius: 0 0 0 20px;
}
.table tbody tr:last-child td:last-child {
	border-radius: 0 0 20px 0;
}

.custom-summary {

    font-weight: bold;
    color: #2a3142; /* Цвет текста */
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-right: 1em; /* Добавлено для увеличения кликабельной области */
}

.custom-summary span {
    display: inline-block;
    transition: transform 0.2s;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.custom-summary::-webkit-details-marker {
    display: none;
}

.custom-summary::before {
    content: '►';
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.2s;
    margin-right: 0.3em;

    line-height: 1;
}

details[open] .custom-summary::before {
    transform: rotate(90deg);
}


.email-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }
  
  .email-popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
    width: 100%;
  }
  
  .email-popup-open {
    overflow: hidden;
  }

/* Селектор с повышенной специфичностью для текста адреса */
.header__address .address-text {
    font-size: 16px !important;
    white-space: nowrap;
}

/* Селектор с повышенной специфичностью для номера телефона */
.header__address .phone-number {
    font-size: 14px !important;
    white-space: nowrap;
}

.game__block1 {
  border: 2px solid #1a1f2e;
  padding: 30px;
  -webkit-box-shadow: 0 2px 8px rgba(26, 31, 46, 0.15);
  -moz-box-shadow: 0 2px 8px rgba(26, 31, 46, 0.15);
  box-shadow: 0 2px 8px rgba(26, 31, 46, 0.15);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}

.btn-pink {
    background-color: #f350a2;
    color: #fff;
}

.btn-pink:hover {
    background-color: #ff1493;
    color: #fff;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
}

.environment-info {
    margin-left: 10px;
    font-size: 12px;
    color: #888;
}
.push-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.push-enabled {
    background-color: #28a745;
}

.push-disabled {
    background-color: #dc3545;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

/* ========================================
   Palma Header Styles - тёмная тема
   ======================================== */

.header .navbar-inverse {
    background-color: #1a1f2e;
    border-color: #2a3142;
    background-image: none;
}

.header .navbar-inverse .navbar-brand {
    position: relative;
    z-index: 100;
    margin-top: 10px;
    margin-bottom: -90px;
}

.header .navbar-inverse .navbar-brand img {
    border-radius: 50%;
    border: 5px solid #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6), 0 0 50px rgba(212, 175, 55, 0.3);
    width: 180px;
    height: auto;
    position: relative;
    z-index: 100;
}

.header .navbar-inverse .navbar-nav > li > a {
    color: #d4af37;
    transition: color 0.2s ease;
}

.header .navbar-inverse .navbar-nav > li > a:hover,
.header .navbar-inverse .navbar-nav > li > a:focus {
    color: #f4d03f;
    background-color: transparent;
}

.header .navbar-inverse .navbar-nav > .active > a,
.header .navbar-inverse .navbar-nav > .active > a:hover,
.header .navbar-inverse .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #d4af37;
    border-radius: 6px;
    font-weight: 600;
}

.header .navbar-text,
.header .header__address,
.header .address-text,
.header .phone-number {
    color: #b8a165 !important;
}

.header .navbar-inverse .navbar-toggle {
    border-color: #d4af37;
}

.header .navbar-inverse .navbar-toggle .icon-bar {
    background-color: #d4af37;
}

.header .navbar-inverse .navbar-toggle:hover,
.header .navbar-inverse .navbar-toggle:focus {
    background-color: rgba(212, 175, 55, 0.1);
}

.header .btn-primary {
    background-color: #d4af37;
    border-color: #c9a55c;
    color: #1a1f2e;
}

.header .btn-primary:hover {
    background-color: #f4d03f;
    border-color: #d4af37;
    color: #1a1f2e;
}

.header .navbar-form a[style*="color:#ffffff"],
.header .navbar-form a[style*="color: #ffffff"] {
    color: #d4af37 !important;
}

/* Мобильное меню */
@media (max-width: 767px) {
    .header .navbar-inverse .navbar-collapse {
        background-color: #1a1f2e;
        border-color: #2a3142;
    }
}

/* ========================================
   Palma - Глобальная тёмная тема
   ======================================== */

/* Основной фон страницы */
body {
    background-color: #1a1f2e !important;
    color: #e0e0e0;
}

/* Контейнер контента - тёмный фон */
.main-content,
.container {
    background-color: transparent;
}

/* Заголовки на тёмном фоне */
h1, h2, h3, h4, h5, h6,
.slots__title,
.game__title {
    color: #ffffff !important;
}

/* Подзаголовки и даты */
.slots__date-title,
.game__date-title {
    color: #b8a165 !important;
}

/* ========================================
   Глобальные стили для всех страниц
   ======================================== */

/* Панели и блоки */
.panel,
.panel-default,
.panel-primary,
.panel-info {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.panel-heading {
    background-color: #1f2433 !important;
    border-bottom: 1px solid #3d4558 !important;
    color: #ffffff !important;
}

.panel-body {
    background-color: #2a3142 !important;
    color: #e0e0e0 !important;
}

.panel-title {
    color: #ffffff !important;
}

/* Well блоки */
.well {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
}

/* Таблицы */
.table {
    color: #e0e0e0 !important;
    background-color: transparent !important;
}

.table thead th {
    background-color: #1f2433 !important;
    color: #ffffff !important;
    border-color: #3d4558 !important;
}

.table tbody tr {
    background-color: #2a3142 !important;
}

.table tbody tr:nth-child(even) {
    background-color: #252c3f !important;
}

.table tbody td {
    border-color: #3d4558 !important;
    color: #e0e0e0 !important;
}

.table-hover tbody tr:hover {
    background-color: #2f3749 !important;
}

/* Формы и инпуты */
.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #ffffff !important;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    background-color: #2f3749 !important;
    border-color: #d4af37 !important;
    color: #ffffff !important;
}

.form-control::placeholder {
    color: #888 !important;
}

/* Лейблы форм */
label,
.control-label {
    color: #e0e0e0 !important;
}

/* Карточки игроков и игр */
.game,
.game__item,
.player-card,
.profile-card {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.game__block,
.game__block1 {
    background-color: #2a3142 !important;
    border-color: #3d4558 !important;
}

/* Списки */
ul, ol {
    color: #e0e0e0;
}

li {
    color: #e0e0e0;
}

/* Параграфы */
p {
    color: #e0e0e0;
}

/* Алерты */
.alert {
    background-color: #2a3142 !important;
    border-color: #3d4558 !important;
    color: #e0e0e0 !important;
}

.alert-info {
    background-color: #2a3d52 !important;
    border-color: #3d5568 !important;
    color: #a8d4ff !important;
}

.alert-success {
    background-color: #2d4a2f !important;
    border-color: #3d5840 !important;
    color: #a8ffa8 !important;
}

.alert-warning {
    background-color: #4a3f2d !important;
    border-color: #584d3d !important;
    color: #ffd4a8 !important;
}

.alert-danger {
    background-color: #4a2d2d !important;
    border-color: #583d3d !important;
    color: #ffa8a8 !important;
}

/* Модальные окна */
.modal-content {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
}

.modal-header {
    background-color: #1f2433 !important;
    border-bottom: 1px solid #3d4558 !important;
    color: #ffffff !important;
}

.modal-body {
    background-color: #2a3142 !important;
    color: #e0e0e0 !important;
}

.modal-footer {
    background-color: #1f2433 !important;
    border-top: 1px solid #3d4558 !important;
}

.modal-title {
    color: #ffffff !important;
}

/* Навигация и пагинация */
.pagination > li > a,
.pagination > li > span {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
}

.pagination > li > a:hover,
.pagination > li > span:hover {
    background-color: #2f3749 !important;
    border-color: #d4af37 !important;
}

.pagination > .active > a,
.pagination > .active > span {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #1a1f2e !important;
}

/* Бэйджи и лейблы */
.badge,
.label {
    background-color: #d4af37 !important;
    color: #1a1f2e !important;
}

/* Карточки профиля */
.profile,
.profile-info,
.user-profile {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
}

/* Статистика */
.stats,
.statistics {
    background-color: #2a3142 !important;
    color: #e0e0e0 !important;
}

/* Вкладки */
.nav-tabs > li > a {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #1f2433 !important;
    border-color: #d4af37 !important;
    color: #d4af37 !important;
}

/* Дропдауны */
.dropdown-menu {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
}

.dropdown-menu > li > a {
    color: #e0e0e0 !important;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #2f3749 !important;
    color: #d4af37 !important;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: #2a3142 !important;
    color: #e0e0e0 !important;
}

.breadcrumb > li > a {
    color: #d4af37 !important;
}

/* Progress bars */
.progress {
    background-color: #1f2433 !important;
}

.progress-bar {
    background-color: #d4af37 !important;
}

/* ========================================
   Страница бронирования - тёмная таблица
   ======================================== */

/* Контейнер таблицы бронирования */
.booking-table-wrapper,
.booking-new-container {
    background-color: transparent !important;
}

/* Таблица бронирования */
.booking-table {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
}

.booking-table th {
    background-color: #1f2433 !important;
    color: #ffffff !important;
    border: 1px solid #3d4558 !important;
}

.booking-table td {
    background-color: #2a3142 !important;
    color: #e0e0e0 !important;
    border: 1px solid #3d4558 !important;
}

.booking-table .time-cell {
    background-color: #1f2433 !important;
    color: #ffffff !important;
}

/* Кнопка бронирования */
.booking-btn,
.book-button {
    background-color: transparent !important;
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
}

.booking-btn:hover,
.book-button:hover {
    background-color: #d4af37 !important;
    color: #1a1f2e !important;
}

.booking-btn:disabled,
.book-button:disabled {
    background-color: #3d4558 !important;
    border-color: #555 !important;
    color: #888 !important;
    opacity: 0.5 !important;
}

/* Селекторы длительности */
.booking-duration select,
.booking-duration input {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #ffffff !important;
}

/* Занятые слоты */
.booking.occupied,
.booking-occupied {
    background-color: #e57373 !important;
    opacity: 0.7;
}

/* Свободные слоты */
.booking.available,
.booking-available {
    background-color: #81c784 !important;
}

/* Тренировки */
.booking.training {
    background-color: #4fc3f7 !important;
}

/* Активный день в календаре бронирования */
.search__item-label {
    background-color: #d4af37 !important;
    color: #1a1f2e !important;
}

/* Выделенные интервалы для бронирования */
.booking-table td.selected,
.booking-table td.selected-interval,
.booking-table td:hover,
.booking-interval.selected {
    background-color: #d4af37 !important;
    color: #1a1f2e !important;
    cursor: pointer !important;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.5) !important;
}

/* Календарь бронирования - переопределение инлайновых стилей */
.search__item {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 1px solid #4a5568 !important;
    color: #e0e0e0 !important;
}

.search__item-day,
.search__item-date,
.search__item-week {
    color: #ffffff !important;
}

/* Активный день - максимальная специфичность для переопределения custom.css */
html body .search .search__container .search__list .search__item.search__item--active,
html body .search__item.search__item--active,
html body .search__item--active,
.search .search__list li .search__item.search__item--active {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 2px solid #d4af37 !important;
    border-color: #d4af37 !important;
    box-shadow: 
        0 4px 16px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

html body .search .search__container .search__list .search__item.search__item--active .search__item-date,
html body .search__item.search__item--active .search__item-date,
html body .search__item--active .search__item-date,
.search .search__list li .search__item.search__item--active .search__item-date {
    color: #d4af37 !important;
}

/* Блок завершения бронирования */
.booking-summary,
.booking-complete,
.booking-confirmation,
.booking-details-panel,
.booking-info-box,
.selected-intervals,
div[style*="background-color: white"],
div[style*="background: white"],
div[style*="background-color:#fff"],
div[style*="background:#fff"],
div[style*="background-color: rgb(255, 255, 255)"],
div[style*="background: rgb(255, 255, 255)"] {
    background-color: #2a3142 !important;
    background: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #e0e0e0 !important;
    padding: 20px !important;
    border-radius: 12px !important;
}

/* Все белые div внутри страницы бронирования */
#booking-new-root div[style*="background"],
#booking-iframe-root div[style*="background"],
#booking-parnas-root div[style*="background"] {
    background-color: #2a3142 !important;
    background: #2a3142 !important;
}

/* Специально для selected-intervals */
.selected-intervals,
.selected-intervals div,
.selected-intervals * {
    background-color: #2a3142 !important;
    background: #2a3142 !important;
    color: #e0e0e0 !important;
}

/* Текст в блоке завершения */
.booking-summary h3,
.booking-summary h4,
.booking-complete h3,
.booking-complete h4,
.booking-summary *,
.booking-complete *,
.selected-intervals h3,
.selected-intervals h4,
.selected-intervals span,
.selected-intervals div {
    color: #e0e0e0 !important;
}

.booking-summary p,
.booking-summary div,
.booking-complete p,
.booking-complete div {
    color: #e0e0e0 !important;
}

/* Цена в блоке завершения */
.booking-price,
.booking-total,
.price-info,
div[style*="font-weight: bold"] {
    color: #d4af37 !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
}

/* Кнопки в блоке завершения */
.booking-summary .btn,
.booking-complete .btn {
    margin-top: 10px;
}

/* Кнопка "Забронировать выбранное" */
button[style*="background-color: rgb(255, 193, 7)"],
button[style*="background: rgb(255, 193, 7)"],
.btn-booking-confirm {
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
}

button[style*="background-color: rgb(255, 193, 7)"]:hover,
button[style*="background: rgb(255, 193, 7)"]:hover,
.btn-booking-confirm:hover {
    background-color: #d4af37 !important;
    background: #d4af37 !important;
    color: #1a1f2e !important;
}

/* Поля ввода в форме бронирования */
.booking-form input,
.booking-form textarea,
.booking-form select {
    background-color: #2a3142 !important;
    border: 1px solid #3d4558 !important;
    color: #ffffff !important;
}

.booking-form label {
    color: #e0e0e0 !important;
}

/* ========================================
   Контейнеры контента - тёмный стиль
   ======================================== */

.content,
.days,
.content.days {
    background-color: #1a1f2e !important;
    color: #e0e0e0 !important;
}

/* ========================================
   Карточки слотов - тёмный стиль с бликами
   ======================================== */

.slots__item {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 50%, #1f2433 100%) !important;
    border: 1px solid #4a5568 !important;
    border-radius: 16px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* Блик на карточке */
.slots__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

.slots__item:hover {
    border-color: #d4af37 !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.slots__item-description-item-label {
    color: #888 !important;
    font-size: 12px;
    text-transform: uppercase;
}

.slots__item-description-item-value {
    color: #ffffff !important;
    font-weight: 500;
}

/* Время игр - белый цвет */
.slots__item-description-item--time .slots__item-description-item-value {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 1.3em;
}

/* Иконки в карточках - золотой цвет через filter */
.slots__item-description-item:before,
.slots__item-description-item--time:before,
.slots__item-description-item--place:before,
.slots__item-description-item--price:before,
.slots__item-description-item--cost:before {
    filter: brightness(0) saturate(100%) invert(65%) sepia(50%) saturate(450%) hue-rotate(10deg) brightness(95%) contrast(90%) !important;
}

.slots__item .fa,
.slots__item .fas,
.slots__item .far,
.slots__item .icon,
.slots__item [class*="icon-"] {
    color: #d4af37 !important;
}

/* Пустые слоты игроков */
.slots__item-place-user--empty {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px dashed rgba(255, 255, 255, 0.3) !important;
}

/* ========================================
   Кнопки в карточках
   ======================================== */

/* Кнопка записи - с обводкой */
.slots__item .btn-primary,
.slots__item-record.btn-primary {
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.slots__item .btn-primary:hover,
.slots__item-record.btn-primary:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1a1f2e !important;
}

/* Кнопка отмены - оставляем как есть (красная/розовая) */
.slots__item .btn-danger,
.slots__item-record.btn-danger {
    background-color: #e57373 !important;
    border-color: #e57373 !important;
    color: #fff !important;
    border-radius: 8px !important;
}

/* Кнопка успеха - золотая */
.slots__item .btn-success,
.slots__item-record.btn-success {
    background-color: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #1a1f2e !important;
    border-radius: 8px !important;
}

.slots__item .btn-success:hover,
.slots__item-record.btn-success:hover {
    background-color: #f4d03f !important;
    border-color: #f4d03f !important;
}

/* Розовая кнопка для девочек */
.slots__item .btn-pink {
    background-color: #f06292 !important;
    border-color: #f06292 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.slots__item .btn-pink:hover {
    background-color: #ec407a !important;
    border-color: #ec407a !important;
}

/* Синяя кнопка для мальчиков */
.slots__item .btn-info {
    background-color: #4fc3f7 !important;
    border-color: #4fc3f7 !important;
    color: #1a1f2e !important;
    border-radius: 8px !important;
}

.slots__item .btn-info:hover {
    background-color: #29b6f6 !important;
    border-color: #29b6f6 !important;
}

.slots__item .alert-info,
.slots__item-record.alert-info {
    background-color: #3d4558 !important;
    border-color: #555 !important;
    color: #aaa !important;
}

/* ========================================
   Календарь - тёмный стиль с бликами
   ======================================== */

.calendar-wrapper,
.slots__calendar,
.search__calendar {
    background-color: transparent !important;
}

.calendar-button,
.search__item {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 1px solid #4a5568 !important;
    border-radius: 12px !important;
    color: #e0e0e0 !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: all 0.2s ease;
}

.calendar-button:hover,
.search__item:hover {
    border-color: #d4af37 !important;
}

.calendar-button.active,
.calendar-button--active,
.search__item.active,
.search__item--active {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
    box-shadow: 
        0 4px 16px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Текст внутри search__item */
.search__item-day,
.search__item-date {
    color: #ffffff !important;
}

.search__item.active .search__item-date,
.search__item--active .search__item-date {
    color: #d4af37 !important;
}

.search__item-week {
    color: #888888 !important;
}

.calendar-button .day-name {
    color: #888888 !important;
    font-size: 11px;
    text-transform: uppercase;
}

.calendar-button .day-number {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.4em;
}

.calendar-button.active .day-number,
.calendar-button--active .day-number {
    color: #d4af37 !important;
}

/* Точки под датами */
.calendar-button .dots {
    color: #d4af37 !important;
}

/* ========================================
   Фильтры (Все, Зал, Улица) - тёмный стиль
   ======================================== */

.filter-buttons,
.slots__filter {
    background-color: transparent !important;
}

.filter-btn,
.slots__filter-btn {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 1px solid #4a5568 !important;
    color: #e0e0e0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.filter-btn:hover,
.slots__filter-btn:hover {
    border-color: #d4af37 !important;
}

.filter-btn.active,
.filter-btn--active,
.slots__filter-btn.active {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
}

/* ========================================
   Футер - тёмный стиль
   ======================================== */

.footer,
footer {
    background-color: #151820 !important;
    border-top: 1px solid #2a3142 !important;
    color: #888 !important;
}

.footer a,
footer a {
    color: #d4af37 !important;
}

.footer a:hover,
footer a:hover {
    color: #f4d03f !important;
}

/* ========================================
   Ссылки и текст
   ======================================== */

a {
    color: #d4af37;
}

a:hover {
    color: #f4d03f;
}

/* Текст в карточках */
.game__list-user-name a,
.slots__item a {
    color: #e0e0e0 !important;
}

/* ========================================
   Прочие элементы
   ======================================== */

/* Разделители */
hr {
    border-color: #3d4558;
}

/* Панели и блоки */
.panel,
.well {
    background-color: #2a3142 !important;
    border-color: #3d4558 !important;
    color: #e0e0e0;
}

/* Алерты */
.alert {
    background-color: #2a3142 !important;
    border-color: #3d4558 !important;
    color: #e0e0e0 !important;
}

/* Метка "сегодня" */
.today-label,
.calendar-today {
    background-color: #d4af37 !important;
    color: #1a1f2e !important;
    border-radius: 12px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

/* ========================================
   Секция с играми - тёмный фон
   ======================================== */

.slots,
.games-section,
.slots__list {
    background-color: transparent !important;
}

/* Заголовки дат на тёмном фоне */
.slots__section-title,
.slots h3,
.slots h4 {
    color: #ffffff !important;
}

/* Блок "Сегодня игр пока нет" */
.slots__empty,
.slots__item--empty,
.no-games-message {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 50%, #1f2433 100%) !important;
    border: 1px solid #4a5568 !important;
    border-radius: 16px !important;
    color: #888888 !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ========================================
   Золотая линия под хедером
   ======================================== */

.header::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, #b8963e 50%, #d4af37 100%);
    box-shadow: 0 1px 4px rgba(212, 175, 55, 0.3);
}

/* ========================================
   ФИНАЛЬНЫЕ ПЕРЕОПРЕДЕЛЕНИЯ - максимальный приоритет
   ======================================== */

/* Активный день календаря - золотая обводка */
.search__item--active,
.search__item.search__item--active,
div.search__item--active,
div.search__item.search__item--active {
    background: linear-gradient(145deg, #3d4558 0%, #2a3142 100%) !important;
    border: 2px solid #d4af37 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.search__item--active .search__item-date,
.search__item.search__item--active .search__item-date,
div.search__item--active .search__item-date {
    color: #d4af37 !important;
}
