:root {
    --gold: #c5a059;
    --dark: #121212;
    --white: #ffffff;
    --bg: #f4f6f8;
    --border: #e0e0e0;
}

body {
    background: var(--bg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

.app-shell {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0,0,0,0.05);
}

.hero-header {
    background: var(--dark);
    padding: 40px 20px 30px;
    text-align: center;
    color: var(--white);
    border-bottom: 4px solid var(--gold);
}

.hero-header h1 { margin: 0; font-weight: 800; letter-spacing: 1px; }
.hero-header p { color: var(--gold); font-size: 12px; text-transform: uppercase; margin-top: 5px; font-weight: 700; }

.form-container { padding: 30px 24px; }

.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 10px; color: #333; }

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    box-sizing: border-box;
    transition: 0.2s;
}

.form-control:focus { border-color: var(--gold); outline: none; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.btn-submit {
    width: 100%;
    background: var(--dark);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.error-badge {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Add this to the BOTTOM of your guest/style.css */

/* Modern Grid Calendar */
.calendar-container {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 16px;
}

.calendar-nav {
    background: #f4f6f8;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark);
    transition: 0.2s;
}
.calendar-nav:active { background: #e0e0e0; }

.calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 8px;
    text-align: center;
}

.calendar-day-header {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    font-weight: 800;
    margin-bottom: 10px;
}

.calendar-date {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    background: #f8f9fa;
    color: var(--dark);
    border: 2px solid transparent;
}

.calendar-date:not(.disabled):active { transform: scale(0.95); }
.calendar-date.disabled { opacity: 0.3; cursor: not-allowed; background: #fff; }
.calendar-date.full { background: #ffebee; color: #c62828; text-decoration: line-through; cursor: not-allowed; }
.calendar-date.selected { background: var(--dark); color: var(--gold); border-color: var(--dark); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

/* User Profile Badge */
.profile-badge {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
}
/* =========================================================
   STATUS PAGES (SUCCESS / FAILED)
   ========================================================= */

.flex-center { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    padding: 24px; 
}

.status-card { 
    background: var(--white, #ffffff); 
    border: 1px solid var(--border, #eef0f2); 
    border-radius: 24px; 
    padding: 40px 24px; 
    text-align: center; 
    width: 100%; 
    max-width: 400px; 
    box-shadow: 0 12px 40px rgba(0,0,0,0.04); 
}

.status-icon { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 24px auto; 
}

.status-icon svg { 
    width: 40px; 
    height: 40px; 
}

.error-icon { 
    background-color: #ffebee; 
    color: #c62828; 
}

.status-title { 
    color: var(--dark, #111111); 
    font-size: 24px; 
    font-weight: 800; 
    margin: 0 0 12px 0; 
    letter-spacing: -0.5px;
}

.status-message { 
    color: #666666; 
    font-size: 15px; 
    line-height: 1.6; 
    margin: 0 0 32px 0; 
    padding: 0 10px;
}

.btn-block { 
    display: block; 
    width: 100%; 
    text-align: center; 
    text-decoration: none; 
    padding: 16px; 
    box-sizing: border-box; 
}

.support-text { 
    margin-top: 32px; 
    font-size: 13px; 
    color: #888888; 
    text-align: center; 
}

.support-link {
    color: var(--gold, #c5a059);
    text-decoration: none;
    font-weight: 800;
}
/* =========================================================
   APP LAYOUT: HERO HEADER & BOTTOM NAV
   ========================================================= */

/* Ensure content doesn't hide behind the fixed bottom nav */
body {
    background: var(--bg, #f8f9fa);
    margin: 0;
    padding-bottom: 80px; 
}

/* Premium Image Header */
.hero-image-header {
    position: relative;
    width: 100%;
    height: 240px;
    /* Default background image - change URL as needed */
    background-image: url('https://bertamresort.com/wp-content/uploads/2026/01/Poster-6.1_1280-x-720-1536x864.webp'); 
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.85));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px 20px;
}

.hero-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: var(--gold, #c5a059);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fixed Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eef0f2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    padding-bottom: env(safe-area-inset-bottom); /* Fix for iPhone bottom bar */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888888;
    flex: 1;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.nav-item:hover, .nav-item:active {
    color: var(--gold, #c5a059);
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
}

.nav-text {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}