/* ================================
   GLOBAL STYLE
================================ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e1f2f, #1b2a41, #162a4f);
    color: white;
    text-align: center;
    overflow-x: hidden;
}

h1, h2 {
    margin: 10px 0;
    font-weight: 600;
}

/* ================================
   HEADER TITLE
================================ */
.title {
    font-size: 40px;
    margin-top: 20px;
    text-shadow: 0px 0px 25px cyan;
}

/* ================================
   CARD STYLING
================================ */
.booking-card, .list-card {
    width: 350px;
    margin: 25px auto;
    padding: 20px;
    background: rgba(255,255,255,0.08);
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,255,255,0.25);
    backdrop-filter: blur(10px);
}

.booking-card label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
}

.booking-card select,
.booking-card input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    margin-bottom: 15px;
    background: #e8e8e8;
}

/* ================================
   BUTTONS
================================ */
.glow-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: cyan;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: black;
    transition: 0.3s;
    box-shadow: 0 0 15px cyan;
}

.glow-btn:hover {
    background: #00f0ff;
    box-shadow: 0 0 25px #00f0ff;
    transform: scale(1.05);
}

.glow-btn.small {
    width: 200px;
    margin: 10px 5px;
}

/* ================================
   SLOT GRID
================================ */
.slot-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 340px;
    margin: 20px auto;
}

.slot-box {
    padding: 20px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 12px;
    background: #2ecc71; /* AVAILABLE */
    color: black;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.slot-box:hover {
    transform: scale(1.15);
}

.slot-box.selected {
    outline: 3px solid cyan;
    background: #00b8d4;
    color: white;
    transform: scale(1.12);
    box-shadow: 0 0 20px cyan;
}

.slot-box.booked {
    background: #d9534f !important; /* BOOKED */
    color: white;
    cursor: not-allowed;
    opacity: 0.85;
    box-shadow: 0 0 10px #ff4d4d;
}

/* ================================
   BOOKING LIST
================================ */
.list-card ul {
    text-align: left;
    padding-left: 15px;
}

.list-card li {
    padding: 8px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* ================================
   CANCEL BUTTON
================================ */
.cancel-btn {
    float: right;
    background: #ff4d4d;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    font-size: 14px;
    transition: 0.2s;
}

.cancel-btn:hover {
    background: #ff1a1a;
    box-shadow: 0 0 8px #ff4d4d;
}

/* ================================
   POPUP CONFIRMATION BOX
================================ */
.confirm-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.confirm-box {
    background: #131a2d;
    padding: 25px;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 0 20px cyan;
}

.confirm-box h3 {
    color: cyan;
    margin-bottom: 10px;
}

.confirm-btn {
    padding: 10px;
    width: 45%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.confirm-yes {
    background: #00e6ff;
    color: black;
}

.confirm-no {
    background: #d9534f;
    color: white;
}

.confirm-btn:hover {
    opacity: 0.8;
}

/* ================================
   ANIMATIONS
================================ */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.9s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
