.bg-dark {
    background-color: #0a53be !important;
}



.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}



.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}




h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Navigation */
nav {
    background-color: #E8DECD;
    box-shadow: 0 2px 10px rgba(93, 83, 74, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 1.2rem 2rem;
    text-decoration: none;
    color: #5D534A;
    font-weight: 400;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}



/* Main Content */
main {

}

.room-category {
    margin-bottom: 4rem;
}

.room-category h2 {
    margin-top: 30px;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    color: #5D534A;
    text-align: center;
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

/* Room Cards */
.room-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(93, 83, 74, 0.08);
    transition: all 0.3s ease;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 49px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Стили для видео-секции */
.video-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.video-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.video-caption {
    padding: 20px;
}

.video-caption h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.video-caption p {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.container p {
    font-size: 1.3rem;
}
/* Адаптивность для медиа-контента */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 180px;
    }

    .video-wrapper video {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        height: 150px;
    }

    .video-caption {
        padding: 15px;
    }

    .video-caption h4 {
        font-size: 1.1rem;
    }
}

.room-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.h2{
    margin-top: 60px !important;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    color: #5D534A;
    text-align: center;
}



.room-info {
    padding: 2rem;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #5D534A;
    font-weight: 400;
}

.room-bed {
    font-weight: 500;
    color: #8C7C6C;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.room-description {
    margin-bottom: 1.5rem;
    color: #7A6F65;
    line-height: 1.7;
}

.room-features {
    list-style: none;
    margin-bottom: 2rem;
}

.room-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: #5D534A;
}

.room-features li:before {
    content: "•";
    position: absolute;
    left: 0.8rem;
    color: #B8A99A;
    font-size: 1.2rem;
}

.room-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #E8DECD;
}

.price {
    font-size: 1.8rem;
    font-weight: 300;
    color: #5D534A;
    margin-right: 0.5rem;
    letter-spacing: 0.5px;
}

.period {
    color: #8C7C6C;
    font-size: 0.9rem;
}

.book-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, #B8A99A, #9C8E7E);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}


/* Booking Section */
.booking-section {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(93, 83, 74, 0.08);
    margin-top: 3rem;
    border: 1px solid #E8DECD;
}

.booking-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #5D534A;
    text-align: center;
    font-weight: 300;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 400;
    color: #5D534A;
}

input, select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #D5C9B8;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #F9F7F4;
    color: #5D534A;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: #9C8E7E;
    box-shadow: 0 0 0 3px rgba(156, 142, 126, 0.1);
    background-color: #FFFFFF;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(to right, #B8A99A, #9C8E7E);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}




/* Footer */
footer {
    background-color: #5D534A;
    color: #E8DECD;
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.bg-dark {
    background-color: #70533d !important;
}



.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 40px;
    margin-bottom: 34px;
    color: #5D534A;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #7f8c8d;
}



.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Шапка сайта */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0;
}

.logo span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}



/* Герой-секция */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/random/1600x900/?hotel,lobby') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Блок об отеле */
.about-content {

    align-items: center;
    align-content: space-between;



}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
}

.advantage {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    align-content: center;
    flex-direction: column;
}

.advantage i {
    font-size: 2rem;
    color: #b89f7e;
    margin-right: 20px;
    margin-top: 5px;
}

.advantage h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.about-media h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 49px;
    margin-bottom: 40px;
}

.gallery-item {
    height: 316px;
    background-color: #ddd;
    border-radius: 8px;
}

.video-placeholder {
    height: 250px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Блок номеров */
.rooms {
    background-color: #f1f2f6;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.room-image {
    height: 200px;
    background-color: #ddd;
}

.standard {
    background: url('https://source.unsplash.com/random/600x400/?hotel,standard') no-repeat center center/cover;
}

.deluxe {
    background: url('https://source.unsplash.com/random/600x400/?hotel,deluxe') no-repeat center center/cover;
}

.family {
    background: url('https://source.unsplash.com/random/600x400/?hotel,family') no-repeat center center/cover;
}

.business {
    background: url('https://source.unsplash.com/random/600x400/?hotel,business') no-repeat center center/cover;
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.room-features {
    list-style: none;
    margin-bottom: 20px;
}

.room-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.room-features i {
    margin-right: 10px;
    color: #3498db;
    width: 20px;
}

.room-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-right: 10px;
}

.period {
    color: #7f8c8d;
}

.room-info .btn {
    width: 100%;
    text-align: center;
}

/* Блок услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}



.service-icon {
    font-size: 3rem;
    color: #b89f7e;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Блок отзывов */
.reviews {
    background-color: #f1f2f6;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
    margin-right: 15px;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.rating {
    color: #f39c12;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.7;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Контакты и карта */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #b89f7e;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.map-placeholder {
    margin-top: 40px;
    height: 400px;
    background-color: #ddd;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Подвал сайта */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}


.footer-section ul li i {
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    margin-bottom: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}



.footer-links {
    display: flex;
    flex-direction: column;
}



.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content,
    .contacts-content {
        grid-template-columns: 1fr;
    }

    .nav ul {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header-booking {
        margin-top: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .rooms-grid,
    .services-grid,
    .reviews-slider {
        grid-template-columns: 1fr;
    }
}

/* Стили для страницы "Мои брони" */
.zagolovok {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.1);
}

.btn-success {
    background: linear-gradient(135deg, #c8b299 0%, #a08c6c 100%);!important;
}.btn:hover{
    background-color: linear-gradient(135deg, #c8b299 0%, #a08c6c 100%);!important;
}
.zagolovok h3 {
    color: #8b7355;
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
}

/* Контейнер для бронирований */
.d-flex.justify-content-between.align-items-center {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.08);
    border: 1px solid #f0e6d6;
}

/* Карточка бронирования */
.app {
    background: linear-gradient(145deg, #fcfaf7 0%, #f5f1e8 100%);
    border: 1px solid #e8dfd1;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.app:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.15);
    border-color: #c8b299;
}

.app h5 {
    color: #8b7355;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 2px solid #f0e6d6;
    padding-bottom: 10px;
    text-align: center;
}

.app p {
    color: #5d4c33;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
}

.app p:last-of-type {
    margin-bottom: 0;
}

/* Стили для разных статусов */
.app p:contains("Статус:") {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.app p:contains("Статус: Подтверждено"),
.app p:contains("Статус: Активно"),
.app p:contains("Статус: confirmed") {
    background: rgba(168, 198, 138, 0.2);
    color: #5a7d3e;
    border: 1px solid #a8c68a;
}

.app p:contains("Статус: Ожидание"),
.app p:contains("Статус: В обработке"),
.app p:contains("Статус: pending") {
    background: rgba(255, 235, 153, 0.2);
    color: #b38f00;
    border: 1px solid #ffeb99;
}

.app p:contains("Статус: Отменено"),
.app p:contains("Статус: canceled") {
    background: rgba(255, 173, 173, 0.2);
    color: #d46a6a;
    border: 1px solid #ffadad;
}

/* Разделитель */
.app hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e8dfd1, transparent);
    margin: 20px 0 0 0;
}

/* Кнопка "Забронировать еще" */
.btn-success {
    border: none;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    text-align: center;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.3);
    color: white;
    text-decoration: none;
}

.btn-success:active {
    transform: translateY(0);
}

/* Контейнер для кнопки */
.text-center {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .app {
        width: calc(50% - 25px);
        min-width: 300px;
    }
}
/* Стили для страницы бронирования */
.reg {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.reg .col-lg-5 {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 115, 85, 0.1);
    border: 1px solid #f0e6d6;
    position: relative;
    overflow: hidden;
}

.reg .col-lg-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Заголовок */
.zagolovok {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0e6d6;
}

.zagolovok h2 {
    color: #8b7355;
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1px;
}

.zagolovok::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c8b299, #a08c6c);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Форма */
.form-horizontal {
    width: 100%;
}

/* Стили для полей формы */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #8b7355;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8dfd1;
    border-radius: 8px;
    background: #fcfaf7;
    color: #5d4c33;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c8b299;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 178, 153, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #b8a995;
}

/* Стили для выпадающего списка */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b7355' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
}

/* Стили для masked input */
input[type="text"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Блок с количеством гостей */
.count_guest {
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e8dfd1;
    margin-bottom: 25px;
}

.count_guest > p {
    color: #8b7355;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.count_guest .form-group {
    margin-bottom: 20px;
}

.count_guest .form-group:last-child {
    margin-bottom: 0;
}

/* Стили для radio buttons */
.radio-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 10px;
    width: 10px;
    height: 1px;
    border: 2px solid #c8b299;
    position: relative;
    cursor: pointer;
}

.form-check-input:checked {
    border-color: #8b7355;
}

.form-check-input:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.form-check-label {
    color: #5d4c33;
    cursor: pointer;
    font-weight: 400;
}

/* Стили для чекбокса дополнительных услуг */
.form-check-input[type="checkbox"] {
    border-radius: 4px;
}

.form-check-input[type="checkbox"]:checked {

}

.form-check-input[type="checkbox"]:checked::before {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Блок дополнительных услуг */
#content-field {
    background: linear-gradient(135deg, #f8f4f0 0%, #f0e6d6 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e8dfd1;
    margin-bottom: 25px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

/* Кнопка отправки */
.btn-primary {
    background: linear-gradient(135deg, #c8b299 0%, #a08c6c 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Основные стили для страницы регистрации */
.register {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register h2 {
    color: #8b7355;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hotel-description {
    color: #a08c6c;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hotel-description::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 20px auto 0;
    border-radius: 1px;
}

/* Форма */
.form-horizontal {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;


    position: relative;
    overflow: hidden;
}

.form-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Стили для полей формы */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #8b7355;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8dfd1;
    border-radius: 8px;
    background: #fcfaf7;
    color: #5d4c33;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c8b299;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 178, 153, 0.1);
}

.form-control::placeholder {
    color: #b8a995;
}

/* Компактное расположение ФИО в одну строку */
.form-group:has(#user-surname),
.form-group:has(#user-name),
.form-group:has(#user-patronymic) {
    display: inline-block;
    width: calc(33.333% - 10px);
    margin-right: 10px;
    vertical-align: top;
}

.form-group:has(#user-patronymic) {
    margin-right: 0;
}

/* Стили для пароля */
.form-group:has(#user-password) {
    position: relative;
}

.form-group:has(#user-password) .form-control {
    padding-right: 40px;
}

/* Стили для телефона */
input[type="tel"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: ltr;
}

/* Кнопка отправки */
.form-group:has(.btn-primary) {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #f0e6d6;
}

.col-lg-offset-1.col-lg-11 {
    margin-left: 0;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #c8b299 0%, #a08c6c 100%);
    border: none;
    color: white;
    padding: 15px 50px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a08c6c 0%, #8b7355 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Стили для ошибок валидации */
.invalid-feedback {
    display: block;
    color: #d4a373;
    font-size: 0.85rem;
    margin-top: 5px;
}

.is-invalid {
    border-color: #d4a373 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1) !important;
}


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Основные стили для страницы авторизации */
.log {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-login {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 115, 85, 0.1);

    position: relative;
    overflow: hidden;
}

.site-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

/* Логотип и заголовок */
.logo1 {
    text-align: center;
    margin-bottom: 11px;
}

.logo1 h1 {
    color: #8b7355;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.logo1 p {
    color: #a08c6c;
    font-size: 1.1rem;
    margin: 0;
}

.logo1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Стили для формы */
.col-lg-5 {
    width: 100%;
}

/* Стили для полей формы */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #8b7355;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8dfd1;
    border-radius: 8px;
    background: #fcfaf7;
    color: #5d4c33;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c8b299;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 178, 153, 0.1);
}

.form-control::placeholder {
    color: #b8a995;
}

/* Стили для чекбокса "Запомнить меня" */
.custom-control {
    position: relative;
    padding-left: 1px;
    margin-bottom: 15px;
    cursor: pointer;
}

.custom-control-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {

}

.custom-control-label {
    color: #5d4c33;
    cursor: pointer;
    font-weight: 400;
    position: relative;
}

.custom-control-label::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #c8b299;
    border-radius: 4px;
    background: #fcfaf7;
    transition: all 0.3s ease;
}

.custom-control-label::after {
    content: '✓';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-control-input:checked + .custom-control-label::after {
    opacity: 1;
}

/* Кнопка входа */
.form-group:has(.btn-primary) {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0e6d6;
}

.btn-primary {
    background: linear-gradient(135deg, #c8b299 0%, #a08c6c 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 150px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #a08c6c 0%, #8b7355 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Стили для ошибок валидации */
.invalid-feedback {
    display: block;
    color: #d4a373;
    font-size: 0.85rem;
    margin-top: 5px;
}

.is-invalid {
    border-color: #d4a373 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1) !important;
}

/* Анимация появления формы */


@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Плавное появление полей при загрузке */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Адаптивность */
@media (max-width: 768px) {
    .log {
        padding: 20px 15px;
    }

    .site-login {
        padding: 35px 25px;
    }

    .logo1 h1 {
        font-size: 2rem;
    }

    .logo1 p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-login {
        padding: 25px 20px;
    }

    .logo1 h1 {
        font-size: 1.8rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        min-width: auto;
    }

    .custom-control {
        padding-left: 30px;
    }

    .custom-control-label::before {
        left: -30px;
        width: 18px;
        height: 18px;
    }

    .custom-control-label::after {
        left: -26px;
        font-size: 10px;
    }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0e6d6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c8b299;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a08c6c;
}

/* Стили для фокуса на кнопке */
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 178, 153, 0.3);
}

/* Стили для состояний полей */
.form-control:disabled {
    background-color: #f5f1e8;
    color: #b8a995;
    cursor: not-allowed;
}

/* Дополнительные украшения */
.log::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(200, 178, 153, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    z-index: -1;
}

/* Исправление box-sizing */
* {
    box-sizing: border-box;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Задержка анимации для последовательного появления */


/* Адаптивность */
@media (max-width: 768px) {
    .register {
        padding: 20px 15px;
    }

    .form-horizontal {
        padding: 30px 20px;
    }

    .register h2 {
        font-size: 2rem;
    }

    .hotel-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* На мобильных ФИО в столбик */
    .form-group:has(#user-surname),
    .form-group:has(#user-name),
    .form-group:has(#user-patronymic) {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .register {
        padding: 15px 10px;
    }

    .form-horizontal {
        padding: 25px 15px;
    }

    .register h2 {
        font-size: 1.8rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        min-width: auto;
    }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0e6d6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c8b299;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a08c6c;
}

/* Стили для успешной валидации */
.has-success .form-control {
    border-color: #a8c68a;
}

.has-success .help-block {
    color: #5a7d3e;
}

/* Стили для фокуса на кнопке */
.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 178, 153, 0.3);
}

/* Стили для состояний полей */
.form-control:disabled {
    background-color: #f5f1e8;
    color: #b8a995;
    cursor: not-allowed;
}

/* Дополнительные украшения */
.register {
    position: relative;
}

.register::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 80%, rgba(200, 178, 153, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    z-index: -1;
}







.btn-primary:hover {
    background: linear-gradient(135deg, #a08c6c 0%, #8b7355 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Стили для ошибок валидации */
.invalid-feedback {
    display: block;
    color: #d4a373;
    font-size: 0.85rem;
    margin-top: 5px;
}

.is-invalid {
    border-color: #d4a373 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reg {
        padding: 20px 15px;
    }

    .reg .col-lg-5 {
        padding: 30px 25px;
    }

    .zagolovok h2 {
        font-size: 1.8rem;
    }

    .radio-list {
        flex-direction: column;
        gap: 15px;
    }

    .count_guest {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .reg .col-lg-5 {
        padding: 25px 20px;
    }

    .form-control {
        padding: 10px 12px;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .count_guest {
        padding: 15px;
    }

    #content-field {
        padding: 20px;
    }
}

/* Стили для состояний полей */
.form-control:disabled {
    background-color: #f5f1e8;
    color: #b8a995;
    cursor: not-allowed;
}

.form-control:read-only {
    background-color: #f9f7f4;
    border-color: #e8dfd1;
}

/* Кастомный скроллбар для textarea */
textarea.form-control::-webkit-scrollbar {
    width: 8px;
}

textarea.form-control::-webkit-scrollbar-track {
    background: #f0e6d6;
    border-radius: 4px;
}

textarea.form-control::-webkit-scrollbar-thumb {
    background: #c8b299;
    border-radius: 4px;
}

textarea.form-control::-webkit-scrollbar-thumb:hover {
    background: #a08c6c;
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для подсказок */
.help-block {
    color: #a08c6c;
    font-size: 0.85rem;
    margin-top: 5px;
    font-style: italic;
}

/* Стили для успешной отправки */
.has-success .form-control {
    border-color: #a8c68a;
}

.has-success .help-block {
    color: #5a7d3e;
}

@media (max-width: 768px) {
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        gap: 20px;
    }

    .app {
        width: 100%;
        min-width: auto;
    }

    .zagolovok h3 {
        font-size: 1.8rem;
    }

    .btn-success {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .app {
        padding: 20px 15px;
    }

    .app h5 {
        font-size: 1.1rem;
    }

    .app p {
        font-size: 0.9rem;
        flex-direction: column;
    }

    .zagolovok {
        margin-bottom: 25px;
        padding: 15px 0;
    }
}

/* Стили для пустого состояния */
.d-flex.justify-content-between.align-items-center:empty::before {
    content: 'У вас пока нет бронирований';
    text-align: center;
    color: #a08c6c;
    font-size: 1.1rem;
    padding: 40px;
    width: 100%;
}

/* Анимации */
.app {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для дат */
.app p:contains("Дата заезда:"),
.app p:contains("Дата отъезда:") {
    color: #8b7355;
    font-weight: 500;
}

/* Стили для количества гостей */
.app p:contains("Кол-во гостей") {
    color: #7d6b4f;
}

/* Стили для способа оплаты */
.app p:contains("Способ оплаты:") {
    color: #8b7355;
    font-weight: 500;
}

/* Улучшенные стили для текста */
.app p strong {
    color: #8b7355;
    font-weight: 600;
}

/* Кастомный скроллбар для контейнера */
.d-flex.justify-content-between.align-items-center {
    scrollbar-width: thin;
    scrollbar-color: #c8b299 #f0e6d6;
}

.d-flex.justify-content-between.align-items-center::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.d-flex.justify-content-between.align-items-center::-webkit-scrollbar-track {
    background: #f0e6d6;
    border-radius: 4px;
}

.d-flex.justify-content-between.align-items-center::-webkit-scrollbar-thumb {
    background: #c8b299;
    border-radius: 4px;
}

.d-flex.justify-content-between.align-items-center::-webkit-scrollbar-thumb:hover {
    background: #a08c6c;
}


/* Дополнительные украшения */
.zagolovok::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c8b299, #a08c6c);
    margin: 15px auto 0;
    border-radius: 2px;
}



/* Responsive */
@media (max-width: 768px) {
    .room-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        padding: 1rem;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    .booking-section {
        padding: 2rem 1.5rem;
    }

    .room-info {
        padding: 1.5rem;
    }



}
