/* Локальные шрифты */
@font-face {
    font-family: 'Buyan';
    src: url('../fonts/BuyanRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Jost';
    src: url('../fonts/Jost/Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

/* Сброс стилей */
* { box-sizing: border-box; }

body {
    zoom: 0.8;
    min-height: 100vh;
    position: relative;
    max-width: 1920px;
    background: #0A0A0A;
    font-family: 'Jost';
    font-size: 20px;
    line-height: 60px;
    color: #94DDE0;
    margin: 0 auto;
    padding: 0;
}

ul { list-style: none;}

a { text-decoration: none; }

/* ====== Главный экран ====== */
.main__screen {
    max-width: 1700px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    max-height: 1096px;
}

.footer {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    height: 287px;
    margin-left: 110px;
    margin-right: 110px;
    margin-bottom: 113px;
}

.flex { display: flex; }

/* Логотип DRIVE */
.header__logo {
  position: relative;
  display: inline-block;
}

.logo-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 134px;
  display: block;
  z-index: 5;
}

.header__logo img {
  display: block;
  width: 168px;
  height: 134px;
  object-fit: contain;
  margin-left: 30px;
  margin-top: 11px;
}

.header {
    display: flex;
    max-width: 1380px;
    margin: 0 auto;
    height: auto;
    width: 100%;
    height: 92px;
    margin-left: 122px;
}

.header__menu ul {
    display: flex;
    margin-top: 20px;
    gap: 49px;
    font-weight: normal;
}

.header__menu ul li a {
    display: block;
    font-size: 38px;
    line-height: 60px;
    letter-spacing: 0;
    color: #94DDE0;
}

/* Анимация кнопок */
button {
    cursor: pointer;
    transition: filter 0.3s;
}

button:hover { filter: brightness(0.8); }

.button button {
    background: #A359E3;
    color: #DEDDE1;
    border-radius: 30px;
    border: none;
}

/* Кнопка Войти */
.header__button button {
    display: flex;
    width: 142px;
    height: 46px;
    margin-top: 23px;
    margin-left: 150px;
    font-family: 'Jost';
    font-size: 24px;
    line-height: 60px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Другие кнопки */
#logoutBtn {
    width: 126px;
}

#login-btn {
    width: 56px;
}

#login-btn img {
    width: 46px;
    height: 46px;
}

.flex.two_btn {
    display: flex;
    gap: 12px;
    margin-left: 130px;
    margin-top: 23px;
}

.flex.two_btn button {
    margin-left: 0;
    margin-top: 0;
}

#mainBtn {
    margin: 23px 0 0 1050px;
}

#logoutBtn1 {
    margin: 23px 0 0 12px;
    width: 126px;
}



/* Главное изображение */
.central__image img {
    width: 1091px;
    height: 576px;
    margin-left: 304px;
    margin-top: 27px;
}

.icons {
    width: 407px;
    height: 195px;

    display: flex;
    gap: 12px;
}

.icons_left {
    margin-left: 320px;
}

.icons_right {
    margin-left: 13px;
    margin-right: 320px;
}

.icn {
    width: 185px;
    height: 171px;
    margin-left: 12px;
    margin-top: 12px;
}

.icn img {
    width: 72px;
    height: 64px;
    margin-left: 56px;
    margin-top: 17px;
}

.icn h1 {
    font-family: 'Jost';
    font-weight: normal;
    font-size: 24px;
    text-align: center;
    color: #DEDDE1;
    margin-top: 16px;
    line-height: 30px;
    width: 175px;
    height: 62px;
    margin: 0 auto;
}

/* Кнопка Забронировать */
.reserve {
    white-space: nowrap;
    font-family: 'Buyan';
    font-size: 32px;
    line-height: 43px;
    color: #FFFFFF;
    margin-top: 62px;
    margin-left: 13px;
    background-color: #A359E3;
    border-radius: 30px;
    border: none;
    padding: 0 28px;  
    width: auto;
    min-width: 220px;
    height: 72px;
    margin-bottom: 61px;
}

.about-form {
    display: inline;
}

.screen {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
}

.title {
    margin: 50px auto 0 auto;
    width: 100%;
    height: auto;
    text-align: center;
}

.title h1 {
    display: inline-block;
    font-family: 'Buyan';
    font-size: 48px;
    line-height: 60px;
    color: #85DAFA;
    margin: 0;
    margin-bottom: 40px;
}


/* ====== Кнопка прокрутки вверх ====== */
#scrollTopBtn {
    position: fixed;
    right: 7.3vw;
    bottom: 7vh;
    width: 77px;
    height: 77px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: none;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn img {
    width: 44px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

#scrollTopBtn:hover {
    opacity: 1;
}




/* ====== Игровые зоны + Обзор игр ====== */

/* Карточки */
.cards {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1040px;
    height: 705px;

    margin-left: 330px;
    position: relative;
    gap: 36px;
}

.coverflow {
    position: relative;
    width: 770px;
    height: 705px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Карточки по позиции будут 
получать классы: far-left, left, 
center, right, far-right */
.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 512px;
    height: 705px;
    border-radius: 30px;
    border: 1.5px solid #B945E1;
    box-shadow: 0 3px 30px #000a;
    transform: translate(-50%, -50%) scale(0.8);
    transition:
        transform 0.5s cubic-bezier(.33,.32,.14,1.01),
        opacity 0.4s,
        filter 0.3s,
        z-index 0s;
    z-index: 1;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
}

.card.center {
    transform: translate(-50%, -50%) scale(1.0);
    z-index: 4;
    filter: none;
}

.card.left, .card.right {
    transform: translate(calc(-50% + 200px), -50%) scale(0.92);
    z-index: 3;
    filter: brightness(80%) drop-shadow(0 0 10px #000c);
}
.card.right { transform: translate(calc(-50% - 200px), -50%) scale(0.92); }

.card.far-left, .card.far-right {
    transform: translate(calc(-50% + 350px), -50%) scale(0.82);
    z-index: 2;
    filter: brightness(60%) drop-shadow(0 0 14px #000d);
}
.card.far-right {
    transform: translate(calc(-50% - 350px), -50%) scale(0.82);
}

/* Затемнения */
.card.center { filter: none; }
.card.left, .card.right { background: rgba(10,10,10,0.2); }
.card.far-left, .card.far-right { background: rgba(10,10,10,0.5); }

/* Кнопки-стрелки */
.arrow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg,#00FFFC 0%,#FF00D7 100%);
    opacity: 0.8;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px #000b;
    transition: background-color 0.2s, opacity 0.15s;
    z-index: 10;
}
.arrow:active { opacity: 1; }

.arrow__left { margin-right: 26px; }
.arrow__right { margin-left: 26px; }

.arrow img {
    width: 30px;
    height: 48px;
    display: block;
    filter: drop-shadow(1px 1px 5px #20202060);
}

.screen:nth-child(3) {
    height: auto;
    padding-bottom: 50px;
}

/* ====== Прайс-лист ====== */
.tv {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.tv img {
    width: 1071px;
    height: 910px;
}

.tv__table-viewport {
    position: absolute;
    top: 99px;
    left: 380px;
    width: 742px;
    height: 725px;
    overflow: hidden;
    pointer-events: auto;
}

.tv__table-scroll {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: top 0.3s;
}

/* Заголовок над карточкой */
.card_title {
    font-family: 'Jost';
    font-size: 36px;
    color: #85DAFA;
    text-align: center;
    margin-bottom: 12px;
    margin-top: 0;
}

.tv__card {
    width: 525px;
    height: 339px;
    border-radius: 20px;
    border: 1.5px solid #C2FBFD;
    box-shadow: 0 3px 30px #000a;
    margin: 0 auto 30px auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* Отступ сверху/снизу */
.tv__spacer {
    width: 325px;
    height: 23px;
    margin: 0 auto;
    background: transparent;
}

/* Стилизация таблиц */
.tv_table {
    width: 100%;
    height: 90%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Jost';
    color: #DEDDE1;
    table-layout: fixed;
}
.tv_table th {
    font-size: 32px;
    font-weight: normal;
    color: #DEDDE1;
    padding: 7px 0;
}
.tv_table td {
    font-size: 24px;
    color: #DEDDE1;
    text-align: center;
    padding: 6px 0;
}

/* Линии в таблице */
.tv_table,
.tv_table th, .tv_table td { border: none;}

.tv_table thead tr {
    border-bottom: 2px solid #85DAFA;
}

.tv_table th:not(:last-child),
.tv_table td:not(:last-child) { 
    border-right: 2px solid #85DAFA;
}

.tv_table th, .tv_table td {
    border-bottom: 1px solid #C2FBFD;
}

.tv_table tbody tr:last-child td {
    border-bottom: none;
}

.tv_table th, .tv_table td { width: 50%; }

/* Стрелки — картинки */
.tv__arrow__wrap {
    position: absolute;
    width: 77px;
    height: 77px;
    left: 655px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv__arrow__wrap--up { top: 275px; }

.tv__arrow__wrap--down { top: 375px; }

.tv__arrow--up, .tv__arrow--down {
    position: static;
    width: 50px;
    height: 60px;
    pointer-events: none;
}

.tv__arrow__wrap img {
    pointer-events: auto;
    width: 50px;
    height: 60px;
    display: block;
}


/* ====== Акции ====== */
.big img {
    width: 626px;
    height: 359px;
}

.small img {
    width: 404px;
    height: 359px;
}

.promo {
    gap: 30px;
    padding: 0;
}

.section1 img {
    margin-left: 320px;
    padding-top: 30px;
}

.section2 img {
    padding-top: 30px;
}

.section3 img {
    margin-left: 320px;
}



/* ====== О нас ====== */
.about {
    position: relative;
    width: fit-content;
    margin-left: 320px;
}

.about img {
    width: 1060px;
    height: 748px;
    display: block;
}

.about button {
    position: absolute;
    top: 540px;
    left: 677px;
    margin: 0;
    z-index: 5;
}


/* ====== Подвал ====== */
.footer_screen {
    max-width: 1700px;
    width: 100%;
    margin: 0 auto;
    height: 287px;
    margin-top: 4vw;

    margin-bottom: 2vw;
    padding: 0;
    border: 1.5px solid;
    border-image: linear-gradient(90deg, #00FFFC 0%, #FF00D7 100%) 1;
    border-radius: 30px;
}

.footer__logo img {
    width: 168px;
    height: 134px;
    margin-left: 30px;
    margin-top: 77px;
}

.site__map { margin-left: 150px; }

.site__map ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}


.contact__info { margin-left: 218px; }

.footer__title {
    margin: 50px 0 0 0;
    width: 100%;
    height: auto;
    text-align: left;
    color: #94DDE0;
    margin-top: 30px;
}

.footer__title h1 {
    display: block;
    font-family: 'Buyan';
    font-size: 40px;
    line-height: 48px;
    white-space: nowrap;
    color: #85DAFA;
    margin: 0;
    color: #94DDE0;
}

.footer__title h2 {
    font-family: 'Jost';
    font-size: 24px;
    line-height: 30px;
    white-space: nowrap;
    color: #94DDE0;
    display: block;
    font-weight: normal;
}

.footer__title h2 .label {
    font-weight: 600;
}

.site__map li {
    margin: 0;
    line-height: 1;
}

.site__map a {
    font-family: 'Jost';
    font-size: 24px;
    line-height: 30px;
    color: #94DDE0;
    display: block;
}

.phone,
.tg {
    margin-top: 50px;
}

.phone img,
.tg img {
    width: 48px;
    height: 48px;
    margin: 0 20px;
}

.social {
    display: flex;
    gap: 20px;
    margin-left: auto;   /* ← ВАЖНО */
    margin-right: 20px;
    margin-top: 10px;
    align-items: flex-start;
}

.social img {
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.caption {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    color: #4A5568;
}

.caption::after {
    content: '';
    display: block;
    height: 100px;
}






/* ======================================== */
/* ====== Страница входа/регистрации ====== */
/* ======================================== */

.auth-section-login {
    max-width: 520px;
    margin: 60px auto;
    border-radius: 30px;
    color: #DEDFEE;
    padding-top: 0;
    margin-top: 0;
}

.auth-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-title {
    font-family: Buyan, Jost, Arial, sans-serif;
    font-size: 40px;
    color: #DEDDE1;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

#loginForm .auth-label[for="username"] {
    margin-bottom: 15px;
}

#loginForm .auth-input[name="username"] {
    margin-bottom: 25px;
}

#loginForm .auth-label[for="password"] {
    margin-bottom: 15px;
    margin-top: 0;
}

#loginForm .auth-input[name="password"] {
    margin-bottom: 25px;
}

.auth-label {
  display: block;
  margin-bottom: 10px;
  font-family: Jost, Arial, sans-serif;
  font-size: 36px;
  color: #DEDDE1;
  letter-spacing: 0.3px;
}

.auth-input {
    width: 430px;
    height: 70px;
    border-radius: 15px;
    border: none;
    background: #292853;
    color: #DEDFEE;
    font-size: 24px;
    padding: 12px 16px;
    margin-bottom: 17px;
    outline: none;
    transition: border 0.2s;
}

.auth-input:focus {
    border: 1.5px solid #85DAFA;
    background: #252343;
}

.auth-btn {
    display: block;
    min-width: 360px;
    width: 220px;
    height: 72px;
    background: #A359E3;
    color: #DEDDE1;
    border-radius: 30px;
    border: none;
    font-size: 36px;
    line-height: 56px;
    font-family: Jost, Arial, sans-serif;
    box-shadow: 0 3px 30px #000a;
    cursor: pointer;
    transition: filter 0.3s;
    margin: 12px auto 0 auto;
}

.auth-btn:hover {
    filter: brightness(0.92);
}

.auth-register {
    display: block;
    color: #C2FBFD;
    font-size: 22px;
    text-align: center;
    margin: 12px auto 0 auto;
}

.auth-register a {
    color: #A359E3;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-register a:hover {
    color: #85DAFA;
}



.alert {
    padding: 14px 24px;
    margin-bottom: 10px;
    border-radius: 17px;
    font-size: 18px;
    font-family: Jost, Arial, sans-serif;
}

.alert-success {
    background: linear-gradient(90deg, #00FFFC 0%, #85DAFA 100%);
    color: #19172A;
}

.alert-danger, .alert-error {
    background: linear-gradient(90deg, #A359E3 0%, #B945E1 100%);
    color: #FFF;
}




/* ======================================== */
/* ====== Страница личного кабинета ======= */
/* ======================================== */

.account-page-bg {
    width: 100vw;
    min-height: 100vh;
    background: #0A0A0A;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Jost', Arial, sans-serif;
}

.account-container {
    max-width: 700px;
    width: 100%;
    background: #1A1A1A;
    color: #DEDDE1;
    border-radius: 30px;
    margin: 40px auto 0 auto;
    box-shadow: 0 8px 32px 0 rgba(54, 31, 150, 0.22);
    padding: 48px 44px 40px 44px;
    font-size: 20px;
}

.account-title {
    font-family: Buyan, Jost, Arial, sans-serif;
    font-size: 38px;
    color: #A359E3;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.account-form label {
    display: block;
    font-size: 22px;
    color: #85DAFA;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    font-family: Jost, Arial, sans-serif;
}

.account-form input[type="text"] {
    width: 100%;
    height: 48px;
    border-radius: 13px;
    border: 1.5px solid #292853;
    background: #26244b;
    color: #DEDFEE;
    font-size: 20px;
    padding: 12px 14px;
    outline: none;
    margin-bottom: 14px;
    transition: border 0.2s;
}

.account-form input[type="text"]:focus {
    border: 1.5px solid #85DAFA;
}

.discount-note {
    font-size: 14px;
    line-height: 1.3;
    font-weight: normal;
    margin: 4px 0 0 0;
    color: #C2FBFD;
}


.account-info {
    margin-bottom: 24px;
    font-size: 22px;
    color: #DEDDE1;
}

.account-btn {
    display: block;
    margin: 18px auto 0 auto;
    width: 200px;
    height: 54px;
    font-size: 22px;
    background: #A359E3;
    color: #DEDDE1;
    border-radius: 20px;
    border: none;
    font-family: Jost, Arial, sans-serif;
    box-shadow: 0 3px 20px #000a;
    transition: filter 0.2s;
    cursor: pointer;
}

.account-btn:hover {
    filter: brightness(0.92);
}

.orders-section {
    margin-top: 34px;
    background: #21213d;
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 2px 10px #0006;
}

.orders-title {
    font-size: 28px;
    color: #A359E3;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: Buyan, Jost, Arial, sans-serif;
    text-align: left;
}

.orders-toggle {
    color: #85DAFA;
    font-size: 18px;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    transition: color 0.2s;
}

.orders-toggle:hover {
    color: #C2FBFD;
}

#ordersList {
    margin-top: 12px;
}

.order-item {
    background: #18182f;
    border-radius: 13px;
    padding: 18px 14px;
    margin-bottom: 13px;
    box-shadow: 0 1px 4px #0006;
    font-size: 18px;
    color: #DEDDE1;
    border-top: 2px solid #A359E3;
}

.order-empty {
    color: #C2FBFD;
    font-size: 19px;
    text-align: center;
    margin-top: 18px;
}



/* ======================================== */
/* ====== Форма бронирования ======= */
/* ======================================== */

.booking-container {
    max-width: 1550px;
    margin: 70px auto;
    padding: 44px 38px 36px 38px;
    border-radius: 30px;
    background: #0a0a0f;
    box-shadow: 0 8px 34px #000d;
    color: #DEDDE1;
    font-family: 'Jost';
}

label[for="time"] {
    white-space: nowrap;
    
}

.booking-title {
    font-family: Buyan, Jost, Arial, sans-serif;
    font-size: 44px;
    text-align: center;
    color: #85DAFA;
    margin-bottom: 27px;
    letter-spacing: 0.3px;
}

.booking-form label {
    display: block;
    font-size: 30px;
    font-family: Jost, Arial, sans-serif;
    color: #DEDDE1;
    margin-bottom: 9px;
    margin-top: 13px;
    letter-spacing: 0.22px;
}

.booking-form input[type="date"],
.booking-form select,
.booking-form textarea {
    width: 100%;
    height: 64px;
    border-radius: 15px;
    border: none;
    background: #292853;
    color: #DEDFEE;
    font-size: 22px;
    padding: 10px 15px;
    margin-bottom: 17px;
    outline: none;
    transition: border 0.18s, background-color 0.18s;
    box-sizing: border-box;
}

.booking-form input[type="date"]:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border: 1.5px solid #85DAFA;
    background: #252343;
}

.booking-form textarea {
    min-height: 46px;
    resize: vertical;
    font-size: 20px;
    line-height: 1.4;
}

.booking-form .form-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    margin-top: 6px;
}

.booking-form .form-check-input[type="checkbox"] {
    width: 25px;
    height: 25px;
    accent-color: #A359E3;
    border-radius: 8px;
    border: 1.3px solid #85DAFA;
    margin-right: 6px;
}

.booking-form .form-check-label {
    font-size: 24px;
    color: #DEDDE1;
    font-family: Jost, Arial, sans-serif;
}

.booking-form .place-label {
    font-size: 28px;
    color: #85DAFA;
    font-family: Jost, Arial, sans-serif;
    margin-bottom: 12px;
    margin-top: 17px;
}

#placeGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 14px;
}

.place-item {
    background: #252343;
    color: #C2FBFD;
    border-radius: 12px;
    font-size: 23px;
    padding: 14px 26px;
    cursor: pointer;
    border: 1.3px solid #A359E3;
    transition: background-color 0.19s, border 0.19s;
    user-select: none;
}

.place-item.selected,
.place-item:hover {
    background: #A359E3;
    border-color: #85DAFA;
    color: #fff;
}

.booking-form .order-total-wrapper {
    margin-top: 19px;
    margin-bottom: 11px;
}

.booking-form .order-total-title {
    font-size: 29px;
    font-weight: 600;
    color: #85DAFA;
    margin-bottom: 4px;
}

.booking-form .order-total {
    font-size: 26px;
    background: #292853;
    color: #C2FBFD;
    padding: 13px 21px;
    border-radius: 11px;
    border: 1.5px solid #85DAFA;
    width: fit-content;
}

.booking-form .pay-btn-wrapper {
    text-align: center;
    margin-top: 22px;
}

.booking-form .pay-online-btn {
    display: inline-block;
    width: 210px;
    height: 62px;
    background: #A359E3;
    color: #DEDDE1;
    border-radius: 30px;
    font-size: 31px;
    line-height: 58px;
    font-family: Buyan, Jost, Arial, sans-serif;
    border: none;
    box-shadow: 0 2px 20px #000c;
    cursor: pointer;
    transition: filter 0.3s;
    margin: 0 auto;
}

.booking-form .pay-online-btn:hover {
    filter: brightness(0.90);
}

.booking-form .paid-label-wrapper {
    margin-top: 16px;
    text-align: center;
}

.booking-form .paid-label {
    border: 1.2px solid #85DAFA;
    background: #292853;
    color: #2ac76e;
    font-size: 22px;
    border-radius: 15px;
    padding: 14px 10px;
    display: inline-block;
    margin-top: 6px;
}

.booking-form .btn-submit {
    margin: 36px auto 0 auto;
    display: block;
    min-width: 320px;
    padding: 0 24px;
    height: 62px;
    background: #A359E3;
    border-radius: 30px;
    color: #DEDDE1;
    font-size: 26px;
    font-family: Buyan, Jost, Arial, sans-serif;
    border: none;
    box-shadow: 0 3px 23px #000b;
    cursor: pointer;
    transition: filter 0.28s;
    text-align: center;
    white-space: nowrap;
    font-family: 'Jost';
}

.booking-form .btn-submit:hover {
    filter: brightness(0.92);
}

/* ====== Дата ====== */
#dateInput {
    width: 350px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 20px;
    border: 2px solid #29284A !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* ====== Время начала ====== */
#time {
    width: 350px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 20px;
    border: 2px solid #29284A !important;
}

/* ====== Длительность ====== */
#durationSelect {
    width: 350px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-top: 10px;
    margin-left: 12px;
    margin-right: 20px;
    border: 2px solid #29284A !important;
}


#line-date-time select[name="time"],
.form-group-time select,
#time {
    margin-left: 20px;
}

.form-group-date input {
    margin-top: 10px;
}
.form-group-time select {
    margin-top: 10px;
}



/* ====== Карточки с номерами ====== */
.place-item {
    background: #252343;
    color: #C2FBFD;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 18px;
    cursor: pointer;
    border: 3px solid #A359E3;
    transition: background-color 0.19s, border 0.19s;
    user-select: none;
    margin-bottom: 20px;
    margin-right: 20px;
    min-width: 80px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px #000a;
}

.place-item.selected,
.place-item:hover {
    background: #A359E3;
    border-color: #85DAFA;
    color: #fff;
}


/* ====== Таблица тарифов в админке ====== */
.admin-tariff-table-wrapper {
    width: 100vw;
    max-width: 1700px; 
    min-height: 83vh;
    padding: 44px 48px 36px 48px;
    margin: 0;
    box-sizing: border-box;
    background: #1A1A1A;
    border-radius: 30px;
    box-shadow: 0 7px 34px #000d;
    color: #DEDDE1;
    font-family: 'Jost', Arial, sans-serif;
}

.admin-tariff-table-title {
    text-align: center;
    font-family: Buyan, Jost, Arial, sans-serif;
    font-size: 44px;
    color: #85DAFA;
    margin-bottom: 27px;
    letter-spacing: 0.3px;
}

.admin-tariff-table-subtitle {
    font-size: 28px;
    color: #A359E3;
    margin-bottom: 20px;
    font-weight: 500;
    font-family: Buyan, Jost, Arial, sans-serif;
    text-align: left;
}

/* Основные таблицы в админке */
.admin-tariff-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    background: #252343;
    box-shadow: 0 2px 16px #000b;
    margin-bottom: 18px;
    table-layout: auto;
}

/* Общие настройки ячеек: компактнее и без раздувания */
.admin-tariff-table th,
.admin-tariff-table td {
    padding: 8px 6px;
    font-size: 16px;
    color: #DEDDE1;
    text-align: center;
    border-bottom: 1px solid #85DAFA;
    white-space: nowrap;
}

/* Заголовок таблиц */
.admin-tariff-table thead tr {
    background: linear-gradient(90deg,#0149b6 0%,#8345ba 100%);
    color: #19172A;
    font-size: 18px;
}

.admin-tariff-table th {
    font-weight: 500;
    color: #DEDDE1;
}

/* Поле ввода цены в таблице тарифов */
.admin-tariff-table td input[type="number"] {
    width: 120px;
    height: 40px;
    border-radius: 13px;
    border: 2px solid #A359E3;
    background: #292853;
    color: #DEDFEE;
    font-size: 16px;
    padding: 5px 10px;
    outline: none;
    transition: border 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.admin-tariff-table td input[type="number"]:focus {
    border: 1.5px solid #85DAFA;
    background: #252343;
}


/* Кнопка отправки формы */
.admin-tariff-table-btn {
    display: block;
    width: 230px;
    height: 62px;
    background: #A359E3;
    color: #DEDDE1;
    border-radius: 30px;
    border: none;
    font-size: 27px;
    font-family: Buyan, Jost, Arial, sans-serif;
    box-shadow: 0 3px 23px #000b;
    cursor: pointer;
    margin: 36px auto 0 auto;
    transition: filter 0.28s;
}
.admin-tariff-table-btn:hover {
    filter: brightness(0.92);
}



.flash-container-big {
    margin: 20px 0;
    text-align: center;
}

.flash-big {
    padding: 15px 25px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-block;
    animation: flashPop 0.4s ease-out;
}

.flash-success {
    background: #28a745;
    color: white;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
}

.flash-danger {
    background: #dc3545;
    color: white;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.6);
}

.flash-warning {
    background: #ffc107;
    color: black;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

@keyframes flashPop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}




/* ======================================== */
/* ============ Бронирование ============== */
/* ======================================== */

/* Контейнер после оплаты */
#paidMessage {
    margin-top: 30px;
    text-align: center;
}

/* Кнопка "Забронировать" */
#bookBtn {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

#bookBtn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}

/* Сообщение "Бронирование успешно" */
#bookingSuccess h3 {
    font-size: 28px;
    font-weight: 800;
    color: #28a745;
    margin-top: 20px;
    text-shadow: 0 0 15px rgba(40, 167, 69, 0.7);
    animation: flashPop 0.5s ease-out;
}

/* Анимация появления */
@keyframes flashPop {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); }
}

.club-hint {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #5fa4ff;
    text-align: center;
    font-family: 'Jost';
}

.hidden { display: none !important; }
.success-container {
    background: #1A1A1A; border-radius: 30px; padding: 40px 60px; 
    text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center; 
    min-height: 60vh; margin: 0 auto;
}
.success-title { color: #2ac76e; font-size: 36px; margin-bottom: 20px; }
.success-btn { 
    display: inline-block; margin-top: 10px; padding: 12px 30px; 
    border-radius: 25px; background: #A359E3; color: #DEDDE1; 
    font-size: 22px; text-decoration: none;
}