body {
    background: #f6f6f6;
}

#successModal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    height: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #6B2737;
    padding: 20px 50px 20px 50px;
    box-sizing: border-box;
}

#successModal .success-modal-title {
    color: rgb(107, 39, 55);
    font-family: 'Philosopher', sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 21px;
}
.success-modal-content {
    align-items: center;
    align-content: center;
    justify-content: center;
}
.success-modal-content a{
    left: 50%;
    width: 100%;
    text-align: center;
    color: rgb(33, 33, 33);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 19px;
    letter-spacing: 0%;
}
.home-link {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    align-items: center;
}

#successModal .close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* ===== Стили для страницы "Мои бронирования" ===== */
/* Модальное окно отмены записи */
#cancelReserveModal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.12);
    backdrop-filter: blur(2px);
}
.cancel-modal-content {
    position: relative;
    width: 370px;
    background: #fff;
    margin: 10% auto;
    padding: 1px 24px 24px 24px;
    border-radius: 10px;
    border: 2px solid #6B2737;
    box-shadow: 0 2px 12px rgba(107, 39, 55, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cancel-modal-content h3 {
    color: #6B2737;
    font-family: 'Philosopher', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}
.cancel-btn-main {
    background: #6B2737;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    padding: 10px 32px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.cancel-btn-main:hover {
    background: #8B3447;
}
.cancel-btn-secondary {
    background: none;
    color: #6B2737;
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    cursor: pointer;
    margin-top: 0;
    padding: 0;
}
.cancel-btn-secondary:hover {
    text-decoration: underline;
}
.reserves-container {
    max-width: 926px;
    margin: 100px auto 100px auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    background: #fff;
    padding: 0px 0px 32px 0px;
    border-radius: 10px;
    
}
#scroll-container {
    overflow: auto;
    height: 363px;
}
#reserves-list {
    background-image: url('../../../static/photo/various-vases-pottery-indoors-workshop.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 30px 50px 30px 50px;
    
}
.reserves-container h2 {
    color: rgb(107, 39, 55);
    font-family: Philosopher;
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0%;
    text-align: left;
    margin-left: 50px;
    padding-top: 32px;
    margin-bottom: 10px;
}
.reserves-container h3 {
    color: rgb(33, 33, 33);
    font-family: Philosopher;
    font-size: 25px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 10px;
    margin-left: 50px;
}

.reserve-card {
    

    padding: 18px 20px 14px 20px;
    border-left: 4px solid #e7d1c1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(107,39,55,0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
}

.reserve-card:hover {
    box-shadow: 0 8px 32px rgba(107,39,55,0.13);
    border-color: #a13c5a;
}

.reserve-title {
    font-weight: bold;
    font-size: 20px;
    color: #6B2737;
    margin-bottom: 10px;
}

.reserve-datetime, .reserve-count {
    font-size: 16px;
    color: #444;
    margin-bottom: 4px;
}

.reserve-action-wrapper {


    display: flex
;
    flex-direction: column;
    align-items: end;
    gap: 15px;
    height: 100%;
}

.reserve-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px;
}

.cancel-reserve-btn {
    background-color: #6B2737;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    font-size: 15px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-left: 10px;
}

.cancel-reserve-btn:hover {
    background-color: #a13c5a;
    color: #fff;
}

.reserve-status {

    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    padding: 7px 16px;
    margin-left: 10px;
    display: inline-block;
}
.reserve-status.finished {
        background: rgb(107, 201, 107, 0.7);
}
.reserve-status.cancelled {
        background: rgba(206, 87, 103, 0.7);
}
.reserve-status.active {
        background: rgba(228, 145, 77, 0.7);
}
