@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Two-tone Pastel Green & Pastel Logo Red & White */
    --primary: #81C784;         /* Pastel Green */
    --primary-light: #C8E6C9;
    --primary-dark: #4CAF50;
    --accent: #E57373;          /* Pastel Logo Red */
    --accent-light: #FFCDD2;
    --accent-dark: #EF5350;
    --bg-warm: #FFFFFF;         /* White Background */
    --bg-white: #FFFFFF;
    --text-main: #2D2522;       /* Charcoal Brown */
    --text-muted: #6E615D;
    --text-light: #FFFFFF;
    
    /* Semantic Colors */
    --success: #2E7D32;
    --danger: #C62828;
    --warning: #EF6C00;
    --info: #0288D1;
    
    /* Layout Variables */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(129, 199, 132, 0.04);
    --shadow-md: 0 8px 16px rgba(129, 199, 132, 0.08);
    --shadow-lg: 0 16px 32px rgba(129, 199, 132, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Fonts */
    --font-heading: 'Playfair Display', 'Sarabun', serif;
    --font-body: 'Inter', 'Sarabun', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

input, select, textarea {
    font-family: var(--font-body);
    outline: none;
    border: 1px solid rgba(129, 199, 132, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(129, 199, 132, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

/* Navigation Header */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(129, 199, 132, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-lang {
    background: rgba(129, 199, 132, 0.05);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.btn-lang:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-lang:hover i {
    color: var(--text-light) !important;
}

.btn-my-booking {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-my-booking:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* Stepper / Booking Progress */
.booking-progress {
    background: var(--primary);
    padding: 16px 0;
    color: var(--text-light);
    border-bottom: 3px solid var(--accent);
}

.progress-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 24px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    transition: var(--transition);
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--primary-dark);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
}

.step-item.active .step-num {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.step-item.active .step-label {
    color: var(--text-light);
    font-weight: 600;
}

.step-item.completed .step-num {
    background: var(--primary-light);
    border-color: var(--accent);
    color: var(--text-light);
}

.step-item.completed .step-label {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   PAGES AND SECTIONS
   ========================================================================== */

/* Main Content Wrapper */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 60px 24px;
    min-height: calc(100vh - 200px);
}

.view-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.view-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 40px;
    color: var(--text-light);
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(129, 199, 132, 0.2) 0%, rgba(76, 175, 80, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.1;
    color: var(--text-light);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* Search Bar Overlay */
.search-panel {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) 150px;
    gap: 16px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.search-field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field-input-wrapper i {
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-size: 1.1rem;
}

.search-field-input-wrapper input,
.search-field-input-wrapper select {
    padding-left: 36px;
}

.guest-selector-dropdown {
    position: relative;
}

.guest-trigger {
    background: var(--bg-white);
    border: 1px solid rgba(129, 199, 132, 0.15);
    border-radius: var(--radius-sm);
    padding: 12px 12px 12px 36px;
    text-align: left;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border: 1px solid rgba(129, 199, 132, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-md);
    z-index: 50;
    flex-direction: column;
    gap: 16px;
}

.guest-dropdown-content.show {
    display: flex;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-label-details {
    display: flex;
    flex-direction: column;
}

.guest-row-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.guest-row-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-qty {
    width: 28px;
    height: 28px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-qty:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-qty:disabled {
    border-color: #CCC;
    color: #CCC;
    cursor: not-allowed;
}

.qty-val {
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 15px;
    text-align: center;
}

.btn-search {
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(129, 199, 132, 0.15);
}

.btn-search:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(129, 199, 132, 0.25);
}

/* ==========================================================================
   ROOMS VIEW (STEP 1) - 3 Columns Layout
   ========================================================================== */

.rooms-layout {
    display: grid;
    grid-template-columns: 260px 1fr 240px;
    gap: 24px;
    align-items: flex-start;
}

/* Filter Sidebar */
.filter-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(129, 199, 132, 0.05);
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(129, 199, 132, 0.05);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-main);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Custom Price Slider */
.price-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-range-slider {
    accent-color: var(--primary);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Rooms List */
.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.no-rooms-fallback {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--text-muted);
}

.no-rooms-fallback i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Room Card */
.room-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(129, 199, 132, 0.05);
    display: grid;
    grid-template-columns: 300px 1fr;
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.room-img-container {
    position: relative;
    overflow: hidden;
}

.room-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-img-container img {
    transform: scale(1.05);
}

.room-size-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(129, 199, 132, 0.85);
    color: var(--text-light);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.room-info-container {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.room-title {
    font-size: 1.4rem;
    color: var(--primary);
}

.room-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-dark);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
}

.room-meta-details {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.room-meta-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.room-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-chip {
    background: rgba(129, 199, 132, 0.04);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(129, 199, 132, 0.08);
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed rgba(129, 199, 132, 0.1);
    padding-top: 16px;
}

.room-price-box {
    display: flex;
    flex-direction: column;
}

.room-price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.room-price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.room-price-value span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.room-action-buttons {
    display: flex;
    gap: 10px;
}

.btn-details {
    border: 1px solid rgba(129, 199, 132, 0.2);
    color: var(--primary);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-details:hover {
    background: rgba(129, 199, 132, 0.05);
}

.btn-book {
    background: var(--primary);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-book:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PROMOTIONS SIDEBAR BANNER (RIGHT COLUMN)
   ========================================================================== */

.promo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

.promo-banner-card {
    font-family: 'Poppins', sans-serif;
    background: #FFF;
    border: 1.5px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.promo-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.promo-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.promo-banner-code {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: rgba(129, 199, 132, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.promo-banner-copy-btn {
    font-family: 'Poppins', sans-serif;
    background: transparent;
    border: none;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.promo-banner-copy-btn:hover {
    color: var(--primary);
}

.promo-banner-discount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.promo-banner-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   ROOM DETAIL MODAL
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(76, 175, 80, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-backdrop.show {
    display: flex;
}

.modal-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

.btn-close-modal:hover {
    background: var(--primary);
    color: var(--text-light);
}

.modal-gallery {
    height: 300px;
    position: relative;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content-details {
    padding: 30px;
}

.modal-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.modal-room-title {
    font-size: 1.8rem;
    color: var(--primary);
}

.modal-tabs {
    display: flex;
    border-bottom: 2px solid rgba(129, 199, 132, 0.1);
    margin-bottom: 20px;
    gap: 20px;
}

.tab-btn {
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary);
    border-color: var(--accent);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.modal-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.modal-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.modal-amenity-item i {
    width: 32px;
    height: 32px;
    background: rgba(129, 199, 132, 0.05);
    border-radius: 50%;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(212, 175, 55, 0.05);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.reviews-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    font-family: var(--font-heading);
}

.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    border-bottom: 1px solid rgba(129, 199, 132, 0.05);
    padding-bottom: 16px;
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.review-rating-stars {
    color: var(--accent);
    font-size: 0.8rem;
}

.review-comment {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ==========================================================================
   CHECKOUT & PAYMENT VIEW (STEP 2)
   ========================================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
}

.checkout-form-container {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(129, 199, 132, 0.05);
}

.checkout-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 1px solid rgba(129, 199, 132, 0.08);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.form-grid.full-width {
    grid-template-columns: 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Payment Simulated Details */
.payment-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-tab-btn {
    flex: 1;
    border: 1px solid rgba(129, 199, 132, 0.15);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
}

.payment-tab-btn.active {
    background: rgba(129, 199, 132, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.credit-card-simulation {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    padding: 24px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.credit-card-simulation::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.card-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-logo i {
    font-size: 1.8rem;
    color: var(--accent);
}

.card-number-display {
    font-size: 1.4rem;
    letter-spacing: 3px;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Summary Box */
.summary-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(129, 199, 132, 0.05);
    position: sticky;
    top: 100px;
    overflow: hidden;
}

.summary-header {
    background: var(--primary);
    color: var(--text-light);
    padding: 20px;
    border-bottom: 2px solid var(--accent);
}

.summary-hotel-name {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.summary-stay-dates {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.summary-body {
    padding: 24px;
}

.summary-room-preview {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(129, 199, 132, 0.08);
    margin-bottom: 16px;
}

.summary-room-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.summary-room-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.summary-room-capacity {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.summary-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(129, 199, 132, 0.08);
    margin-bottom: 16px;
}

.summary-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.summary-detail-label {
    color: var(--text-muted);
}

.summary-detail-val {
    font-weight: 600;
}

.promo-code-input-box {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-apply-promo {
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-apply-promo:hover {
    background: var(--accent-dark);
}

.promo-applied-tag {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-remove-promo {
    color: var(--danger);
    font-weight: 600;
}

.total-pricing-display {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.total-label {
    font-weight: 600;
    font-size: 1rem;
}

.total-val-box {
    text-align: right;
}

.total-val-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.total-val-tax-info {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.btn-checkout-confirm {
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    padding: 14px;
    width: 100%;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(129, 199, 132, 0.15);
}

.btn-checkout-confirm:hover {
    background: var(--primary-light);
    box-shadow: 0 6px 14px rgba(129, 199, 132, 0.25);
}

.btn-checkout-back {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-top: 14px;
    display: block;
}

.btn-checkout-back:hover {
    color: var(--primary);
}

/* ==========================================================================
   VOUCHER / CONFIRMATION VIEW (STEP 3)
   ========================================================================== */

.voucher-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.voucher-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(129, 199, 132, 0.05);
    overflow: hidden;
    position: relative;
}

.voucher-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    padding: 30px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--accent);
}

.voucher-badge {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.voucher-id {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 2px;
}

.voucher-details {
    padding: 30px;
}

.voucher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(129, 199, 132, 0.15);
    margin-bottom: 24px;
}

.voucher-field {
    display: flex;
    flex-direction: column;
}

.voucher-field-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.voucher-field-val {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
}

.voucher-field-val.highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.voucher-footer-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.voucher-instructions {
    max-width: 350px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.voucher-instructions p {
    margin-bottom: 6px;
}

.voucher-qr-code {
    border: 1px solid rgba(129, 199, 132, 0.1);
    padding: 8px;
    background: #FFF;
    border-radius: var(--radius-sm);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

.btn-action-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-action-outline:hover {
    background: rgba(129, 199, 132, 0.05);
}

.btn-action-fill {
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-action-fill:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ADMIN PANEL / BOOKING MANAGER
   ========================================================================== */

.admin-panel {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(129, 199, 132, 0.05);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(129, 199, 132, 0.08);
    padding-bottom: 14px;
}

.admin-title {
    font-size: 1.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: rgba(129, 199, 132, 0.02);
    border: 1px solid rgba(129, 199, 132, 0.05);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
}

/* Admin Table */
.table-wrapper {
    overflow-x: auto;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

table.admin-table th {
    background: rgba(129, 199, 132, 0.05);
    color: var(--primary);
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 2px solid rgba(129, 199, 132, 0.08);
}

table.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(129, 199, 132, 0.05);
    vertical-align: middle;
}

table.admin-table tr:hover td {
    background: rgba(129, 199, 132, 0.01);
}

.badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-status.confirmed {
    background: rgba(46, 125, 50, 0.1);
    color: var(--success);
}

.badge-status.checked-in {
    background: rgba(2, 136, 209, 0.1);
    color: var(--info);
}

.badge-status.checked-out {
    background: rgba(110, 97, 93, 0.1);
    color: var(--text-muted);
}

.badge-status.cancelled {
    background: rgba(198, 40, 40, 0.1);
    color: var(--danger);
}

.badge-status.pending-verification {
    background: rgba(239, 108, 0, 0.1);
    color: var(--warning);
}

.btn-table-cancel {
    background: transparent;
    color: var(--danger);
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(198, 40, 40, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.btn-table-cancel:hover {
    background: var(--danger);
    color: var(--text-light);
}

/* Footer Section */
footer {
    background: #2D2522;
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 24px;
    border-top: 4px solid var(--accent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-light);
}

.footer-copyright {
    font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--text-main);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .rooms-layout {
        grid-template-columns: 240px 1fr;
    }
    
    .promo-sidebar {
        grid-column: span 2;
        flex-direction: row;
        position: static;
        flex-wrap: wrap;
        margin-top: 24px;
    }
    
    .promo-banner-card {
        flex: 1;
        min-width: 260px;
    }
}

@media (max-width: 1024px) {
    .rooms-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .promo-sidebar {
        grid-column: auto;
        flex-direction: row;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-sidebar {
        position: static;
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: 320px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-panel {
        margin-top: -30px;
    }
    
    .room-card {
        grid-template-columns: 1fr;
    }
    
    .room-img-container {
        height: 220px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .voucher-grid {
        grid-template-columns: 1fr;
    }
    
    .voucher-footer-code {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .admin-stats-bar {
        grid-template-columns: 1fr;
    }
    
    .progress-container {
        padding: 0 10px;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .promo-sidebar {
        flex-direction: column;
    }
    
    .double-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}


