body {
    margin: 0;
    background: #eee;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 1500px;

    overflow: auto;

    padding: 20px;
}

#tabs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.tab-btn {
    padding: 10px 20px;
    background: #3b1f2b;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
}
.tab-btn.active {
    background: #592f44;
}

#rotate-warning {
    position: fixed;
    inset: 0;
    background: #eee;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    text-align: center;
    padding: 20px;
}
#rotate-warning h2 {
    font-size: 26px;
    font-weight: bold;
    color: #3b1f2b;
    margin-bottom: 28px;
}
.phone-rotate {
    width: 90px;
    height: 140px;
    border: 5px solid #3b1f2b;
    border-radius: 16px;
    animation: rotatePhone 2.8s infinite;
    margin-bottom: 26px;
}
@keyframes rotatePhone {
    0% { transform: rotate(0); }
    40% { transform: rotate(90deg); }
    70% { transform: rotate(90deg); }
    100% { transform: rotate(0); }
}
#ignore-rotate {
    padding: 10px 25px;
    background: #3b1f2b;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    margin-top: 10px;
}
.rotate-brand {
    margin-top: 22px;
    font-size: 14px;
    color: #3b1f2b;
    opacity: .55;
}

.wrapper {
    width: 1430px;
    height: 1040px;
    display: flex;
    justify-content: center;
    align-items: center;

    transform: none !important;

    transform-origin: top center;
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #ddd;
}

.container {
    width: 1430px;
    height: 1040px;
    position: relative;
    background: #eee;
}
.title {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    color: #3b1f2b;
    font-weight: bold;
    z-index: 10;
}
.grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(0,0,0,.20) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,.20) 1px, transparent 1px);
    background-size: 130px 130px;
    z-index: 1;
}

.table {
    width: 85px;
    height: 85px;
    background: white;
    border: 3px solid #3b1f2b;
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #3b1f2b;
    font-weight: bold;
    z-index: 4;
}

.seat {
    width: 20px;
    height: 20px;
    background: #3b1f2b;
    color: white;
    border-radius: 50%;
    font-size: 9px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
}
.seat.taken {
    background: #f8e9f0 !important;
    color: #3b1f2b !important;
    font-weight: bold;
    cursor: not-allowed;
}

.parket {
    width: 330px;
    height: 330px;
    background: rgba(200,160,80,.55);
    border: 3b1f2b 3px solid;
    position: absolute;
    font-size: 28px;
    color: #3b1f2b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.stage {
    width: 260px;
    height: 90px;
    background: #3b1f2b;
    color: white;
    border-radius: 10px;
    position: absolute;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.fence {
    width: 130px;
    height: 130px;
    background: repeating-linear-gradient(
        90deg,
        #444,
        #444 6px,
        transparent 6px,
        transparent 12px
    );
    opacity: 0.7;
    position: absolute;
    z-index: 3;
}

#panel {
    background: #fff;
    padding: 16px 22px;
    border-radius: 12px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}
#back {
    padding: 10px 18px;
    background: #3b1f2b;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}
