* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(30, 136, 255, .22), transparent 28%),
        #f4f7fb;
    color: #0f172a;
}

.navbar {
    height: 72px;
    padding: 0 7%;
    background: #07111f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo,
.back {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.logo {
    font-size: 1.5rem;
}

.back {
    background: #1e88ff;
    padding: 10px 16px;
    border-radius: 999px;
}

.page {
    width: 88%;
    max-width: 1250px;
    margin: 42px auto;
}

.hero {
    background:
        linear-gradient(135deg, rgba(7, 17, 31, .92), rgba(30, 64, 175, .75)),
        url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1600") center/cover;
    color: white;
    padding: 45px;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 25px 65px rgba(15, 23, 42, .24);
}

.badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    color: #dbeafe;
    margin-bottom: 14px;
    font-weight: bold;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 12px;
}

.hero p {
    color: #dbeafe;
    max-width: 650px;
    line-height: 1.6;
}

.hero-card {
    min-width: 170px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    padding: 24px;
}

.hero-card span {
    display: block;
    color: #bfdbfe;
    margin-bottom: 8px;
}

.hero-card strong {
    font-size: 3rem;
}

.layout {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 28px;
    align-items: start;
}

.panel {
    background: white;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.panel h2 {
    margin-bottom: 22px;
    color: #07111f;
}

.panel form p {
    margin-bottom: 16px;
}

.panel label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
    color: #334155;
}

.panel input,
.panel select {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d5dde8;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 15px;
}

.panel input:focus,
.panel select:focus {
    outline: none;
    border-color: #1e88ff;
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 136, 255, .12);
}

.panel button {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border: none;
    border-radius: 13px;
    background: #1e88ff;
    color: white;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.panel button:hover {
    background: #006be6;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.reservation-list {
    display: grid;
    gap: 18px;
}

.reservation-card {
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    padding: 22px;
    background: white;
    transition: .25s;
}

.reservation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, .10);
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.label {
    display: block;
    color: #64748b;
    font-size: .8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-top h3 {
    color: #1e88ff;
    font-size: 1.5rem;
}

.status {
    height: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e40af;
    font-size: .8rem;
    font-weight: bold;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.details p {
    background: #f8fafc;
    padding: 13px;
    border-radius: 14px;
    color: #475569;
}

.details strong {
    display: block;
    color: #0f172a;
    margin-bottom: 5px;
}

.empty {
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 950px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {
    .navbar {
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .page {
        width: 92%;
        margin: 25px auto;
    }

    .hero {
        padding: 30px 22px;
    }

    .hero h1 {
        font-size: 3rem;
    }

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