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

:root {
    --navy:    #1a2f4e;
    --navy2:   #243d62;
    --gold:    #c8952a;
    --gold2:   #e8b04a;
    --white:   #ffffff;
    --light:   #f5f7fa;
    --gray:    #6c757d;
    --border:  #dee2e6;
    --green:   #28a745;
    --orange:  #fd7e14;
    --red:     #dc3545;
    --blue:    #0d6efd;
    --shadow:  0 2px 12px rgba(0,0,0,0.08);
    --radius:  8px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--light);
    color: #333;
    min-height: 100vh;
}

a { 
    text-decoration: none; 
    color: inherit; 
}
ul { 
    list-style: 
    none; 
}
input, select, textarea, button { font-family: inherit; }

.navbar {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 64px;
    gap: 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-brand i { 
    color: var(--gold); 
    font-size: 1.4rem; 
}
.nav-brand small { 
    display: block; 
    font-size: 0.6rem; 
    font-weight: 400; 
    letter-spacing: 3px; 
    opacity: 0.7; 
}
.nav-menu {
    display: flex;
    gap: 0.3rem;
    flex: 1;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-menu a.active { border-bottom: 2px solid var(--gold); }

.nav-right { margin-left: auto; }

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--radius);
    position: relative;
    transition: background 0.2s;
}

.nav-user:hover { background: rgba(255,255,255,0.1); }
.nav-user i { 
    font-size: 1.3rem; 
    color: var(--gold2); 
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 160px;
    overflow: hidden;
}

.nav-user:hover .nav-dropdown { display: block; }

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: #333;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.nav-dropdown a:last-child { border-bottom: none; color: var(--red); }
.nav-dropdown a:hover { background: var(--light); }

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; }

.page-title {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-title i { color: var(--gold); }
.page-sub { color: var(--gray); margin-bottom: 1.5rem; }

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gold); font-weight: 600; }

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 { 
    font-size: 1.5rem; 
    color: var(--navy); 
}
.date-range { 
    color: var(--gray); 
    font-size: 0.9rem; 
    margin-top: 4px; 
}

.btn-primary {
    background: var(--gold);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
}

.btn-primary:hover { 
    background: var(--gold2); 
    transform: translateY(-1px); 
}
.btn-full { 
    width: 100%; 
    justify-content: center;
    padding: 13px; 
    font-size: 1rem; 
}
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

.btn-secondary {
    background: white;
    color: var(--navy);
    border: 1.5px solid var(--border);
    padding: 11px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
}

.btn-secondary:hover { background: var(--light); border-color: var(--navy); }
.btn-secondary.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

.btn-danger {
    background: var(--red);
    color: white;
    border: none;
    padding: 11px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s;
}

.btn-danger:hover { background: #c82333; }

.btn-view { 
    background: #e3f2fd; 
    color: #1565c0; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    padding: 6px 12px; 
    font-size: 0.82rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    transition: background 0.2s; 
}
.btn-view:hover { background: #bbdefb; }
.btn-cancel { 
    background: #fdecea; 
    color: var(--red); 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    padding: 6px 12px; 
    font-size: 0.82rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    transition: background 0.2s; 
} 
.btn-cancel:hover { background: #f8bbd0; }
.btn-pay-small { 
    background: #e8f5e9; 
    color: var(--green); 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    padding: 6px 12px; 
    font-size: 0.82rem; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; text-decoration: none; 
    transition: background 0.2s; 
}
.btn-pay-small:hover { background: #c8e6c9; }
.btn-search { 
    background: var(--gold); 
    color: white; 
    border: none; 
    padding: 12px 28px; 
    border-radius: var(--radius); 
    cursor: pointer; 
    font-weight: 700; 
    font-size: 0.95rem; 
    display: flex; 
    align-items: center;
    gap: 7px; 
    transition: all 0.2s; 
    white-space: nowrap; 
}
.btn-search:hover { background: var(--gold2); }
.btn-pay { padding: 13px 30px; font-size: 1rem; }


.form-group { margin-bottom: 1.2rem; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.2s;
    color: #333;
}

.form-group input:focus,
.form-group select:focus { 
    outline: none;
    border-color: var(--gold); 
    box-shadow: 0 0 0 3px rgba(200,149,42,0.12); 
}

.input-icon { 
    position: relative; 
}
.input-icon i { 
    position: absolute; 
    left: 13px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--gray); 
    pointer-events: none; 
}
.input-icon input { 
    padding-left: 40px; 
    padding-right: 40px;
}
.toggle-pass { 
    position: absolute; 
    right: 13px; 
    top: 50%; 
    transform: translateY(-50%); 
    cursor: pointer; 
    color: var(--gray); 
}

.input-readonly { background: var(--light); color: var(--gray); cursor: not-allowed; }
.form-group small { color: var(--gray); font-size: 0.8rem; display: block; margin-top: 4px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-check { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 1.5rem; 
    font-size: 0.9rem; 
}
.form-check input { width: auto; margin-top: 2px; accent-color: var(--gold); }
.form-check a { color: var(--gold); }

.form-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

.form-section { 
    margin-bottom: 2rem; 
    padding-bottom: 2rem; 
    border-bottom: 1px solid var(--border); 
}
.form-section:last-of-type { border-bottom: none; }
.form-section h3 { 
    font-size: 1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center;
    gap: 10px; 
}
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
.form-actions .btn-secondary, .form-actions .btn-primary { flex: 1; justify-content: center; }

.alert {
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }


.auth-body { 
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

.auth-wrapper {
    display: flex;
    max-width: 900px;
    margin: 20px auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 90vh;
}

.auth-left {
    background: var(--navy2);
    padding: 3rem 2rem;
    width: 42%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.auth-logo i { font-size: 2rem; color: var(--gold); }
.auth-logo h1 { font-size: 1.4rem; letter-spacing: 2px; }
.auth-logo span { 
    font-size: 0.7rem; 
    letter-spacing: 4px; 
    color: var(--gold2); 
}

.auth-left h2 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.auth-left p { 
    opacity: 0.8; 
    font-size: 0.9rem; 
    margin-bottom: 2rem; 
    line-height: 1.6; 
}

.auth-features { display: flex; flex-direction: column; gap: 1rem; }
.auth-features li { 
    display: flex;
    align-items: center; 
    gap: 10px; 
    font-size: 0.9rem; 
    opacity: 0.9; 
}
.auth-features li i { color: var(--gold2); width: 20px; }

.auth-right { 
    flex: 1; 
    padding: 2.5rem; 
    display: flex; 
    flex-direction: column;
    overflow-y: auto;
}

.auth-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn { 
    flex: 1; 
    padding: 12px; 
    border: none; 
    background: none; 
    font-size: 1rem; 
    font-weight: 600; 
    cursor: pointer; 
    color: var(--gray); 
    border-bottom: 3px solid transparent; 
    margin-bottom: -2px; 
    transition: all 0.2s; 
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.auth-form { 
    display: flex;
    flex-direction: column;
}

.auth-switch { 
    text-align: center; 
    margin-top: 1.2rem; 
    color: var(--gray); 
    font-size: 0.9rem; 
}
.auth-switch a { color: var(--gold); cursor: pointer; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.auth-footer-bar {
    background: rgba(255,255,255,0.07);
    padding: 1rem 20px;
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.auth-footer-bar span { display: flex; align-items: center; gap: 7px; }
.auth-footer-bar i { color: var(--gold2); }

.hero-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: white;
}

.hero-content h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero-content h1 i { color: var(--gold2); }
.hero-content p { opacity: 0.8; margin-bottom: 2rem; }

.search-bar {
    background: white;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.search-field { 
    flex: 1; 
    min-width: 140px; 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
}
.search-field label { 
    font-size: 0.8rem; 
    font-weight: 600; 
    color: var(--gray); 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}
.search-field input,
.search-field select { 
    padding: 10px 12px; 
    border: 1.5px solid var(--border); 
    border-radius: var(--radius); 
    font-size: 0.9rem; 
}
.search-field input:focus,
.search-field select:focus { outline: none; border-color: var(--gold); }


.rooms-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 1.5rem; 
}

.room-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.room-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.room-img {
    height: 180px;
    background: linear-gradient(135deg, var(--navy) 0%, #2d4d7a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3.5rem;
}

.room-img-placeholder { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 5px; 
    color: rgba(255,255,255,0.4); 
}
.room-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: var(--green); 
    color: white; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 0.78rem; 
    font-weight: 600; 
}
.room-badge.available { background: var(--green); }
.room-type-tag { 
    position: absolute; 
    bottom: 12px; 
    left: 12px; 
    background: rgba(0,0,0,0.5); 
    color: white; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-size: 0.78rem; 
    backdrop-filter: blur(4px); 
}

.room-body { padding: 1.3rem; }
.room-body h3 { 
    font-size: 1.1rem; 
    color: var(--navy); 
    margin-bottom: 0.6rem; 
}
.room-body h3 small { color: var(--gray); font-size: 0.8rem; font-weight: 400; }
 .breadcrumb
.room-meta { 
    display: flex; 
    gap: 1rem; 
    font-size: 0.82rem; 
    color: var(--gray); 
    margin-bottom: 0.8rem; 
    flex-wrap: wrap; 
}
.room-meta span { display: flex; align-items: center; gap: 4px; }

.room-desc { 
    font-size: 0.88rem; 
    color: var(--gray); 
    margin-bottom: 1rem; 
    line-height: 1.5; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.room-footer { display: flex; justify-content: space-between; align-items: center; }
.room-price .price { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.room-price .per { font-size: 0.8rem; color: var(--gray); }


.empty-state { 
    text-align: center; 
    padding: 4rem 2rem; 
    background: white; 
    border-radius: 12px; 
}
.empty-state i { 
    font-size: 4rem; 
    color: var(--border); 
    margin-bottom: 1rem; 
    display: block; 
}
.empty-state h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.5rem; }
.empty-state p { color: var(--gray); }


.detail-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 350px; 
    gap: 2rem; 
    align-items: start; 
}
.detail-left, .detail-right 
{

}

.detail-image {
    height: 300px;
    background: linear-gradient(135deg, var(--navy) 0%, #2d4d7a 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.detail-image p { 
    font-size: 0.9rem; 
    color: rgba(255,255,255,0.5); 
    margin-top: 0.5rem; 
}
.big-icon { font-size: 5rem; }

.detail-tabs { 
    display: flex; 
    border-bottom: 2px solid var(--border); 
    margin-bottom: 1.5rem; 
}
.dtab { 
    padding: 10px 18px; 
    border: none; 
    background: none; 
    cursor: pointer; 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--gray); 
    border-bottom: 3px solid transparent; 
    margin-bottom: -2px; 
    transition: all 0.2s; 
}
.dtab.active { color: var(--gold); border-bottom-color: var(--gold); }

.dtab-content h3 { font-size: 1rem; color: var(--navy); margin-bottom: 1rem; }
.dtab-content p { 
    color: var(--gray); 
    font-size: 0.9rem; 
    line-height: 1.6; 
    margin-bottom: 1.2rem; 
}

.room-info-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 0.8rem; 
    margin-top: 1rem; 
}
.room-info-grid div { 
    background: var(--light); 
    padding: 10px 14px; 
    border-radius: 6px; 
}
.room-info-grid strong { 
    display: block; 
    font-size: 0.8rem; 
    color: var(--gray); 
    margin-bottom: 2px; 
}
.room-info-grid span { font-size: 0.9rem; font-weight: 600; color: var(--navy); }

.amenity-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.amenity-list li { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.88rem; 
    color: #444; 
}
.amenity-list li i { color: var(--green); font-size: 0.9rem; }

.booking-card { 
    background: white; 
    border-radius: 10px; 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
    margin-bottom: 1.2rem; 
    position: sticky; 
    top: 80px; 
}
.booking-card h3 { 
    font-size: 1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.price-summary { 
    background: var(--light); 
    border-radius: 8px; 
    padding: 1rem; 
    margin-bottom: 1.2rem; 
}
.price-row { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.88rem; 
    padding: 4px 0; 
    color: #555; 
}
.price-row.total { 
    border-top: 1px solid var(--border); 
    margin-top: 6px; 
    padding-top: 8px; 
    font-weight: 700; 
    color: var(--navy); 
    font-size: 1rem; 
}

.free-cancel { 
    background: #e8f5e9; 
    color: var(--green); 
    border-radius: 6px; 
    padding: 10px 12px; 
    font-size: 0.82rem; 
    display: flex; 
    align-items: center; 
    gap: 7px; 
    margin-top: 1rem; 
}

.why-book { 
    background: white; 
    border-radius: 10px; 
    padding: 1.2rem 1.5rem; 
    box-shadow: var(--shadow); 
}
.why-book h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.8rem; }
.why-book ul { display: flex; flex-direction: column; gap: 0.6rem; }
.why-book li { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.85rem; 
    color: #555; 
}
.why-book li i { color: var(--gold); width: 16px; }


.booking-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 320px; 
    gap: 2rem; 
    align-items: start; 
}
.booking-form-box { 
    background: white; 
    border-radius: 12px; 
    padding: 2rem; 
    box-shadow: var(--shadow); 
}
.booking-form-box h3 { 
    font-size: 1.1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.booking-form-box h3 i { color: var(--gold); }

.room-mini-card { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    background: var(--light); 
    border-radius: 8px; 
    padding: 1rem; 
    margin-bottom: 1.5rem; 
}
.room-mini-icon { 
    width: 60px; 
    height: 60px; 
    background: linear-gradient(135deg, var(--navy) 0%, #2d4d7a 100%); 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: rgba(255,255,255,0.5); 
    font-size: 1.6rem; 
    flex-shrink: 0; 
}
.room-mini-icon.big { 
    width: 80px; 
    height: 80px; 
    font-size: 2rem; 
    border-radius: 10px; 
}
.room-mini-info { display: flex; flex-direction: column; gap: 2px; }
.room-mini-info strong { color: var(--navy); font-size: 0.95rem; }
.room-mini-info span { color: var(--gray); font-size: 0.82rem; }

.price-sidebar { position: sticky; top: 80px; }

.summary-card { 
    background: var(--light); 
    border-radius: 8px; 
    padding: 1rem; 
}
.summary-row { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.88rem; 
    padding: 6px 0; 
    border-bottom: 1px solid var(--border); 
    color: #555; 
}
.summary-row:last-child { border-bottom: none; }
.summary-row.total { 
    font-weight: 700; 
    color: var(--navy); 
    font-size: 1rem; 
    border-top: 2px solid var(--border); 
    margin-top: 4px; 
    padding-top: 8px; 
}

.price-sidebar h3 { 
    background: var(--navy); 
    color: white; 
    padding: 1rem 1.2rem; 
    border-radius: 10px 10px 0 0; 
    font-size: 0.95rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin: 0; 
}
.price-sidebar .summary-card { border-radius: 0 0 10px 10px; border-top: none; }

.info-box { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    background: #e8f5e9; 
    border-radius: 8px; 
    padding: 12px 14px; 
    font-size: 0.85rem; 
    color: #2e7d32; 
    margin-top: 1rem; 
}
.info-box.blue { background: #e3f2fd; color: #1565c0; }
.info-box i { flex-shrink: 0; margin-top: 2px; }
.info-box p { margin: 4px 0 0; line-height: 1.5; font-size: 0.85rem; }

.ajax-note { 
    font-size: 0.8rem; 
    color: var(--gray); 
    margin-top: 0.8rem; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}
.ajax-note i { color: var(--blue); }


.payment-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 320px; 
    gap: 2rem; 
    align-items: start; 
}
.payment-form-box { 
    background: white; 
    border-radius: 12px; 
    padding: 2rem; 
    box-shadow: var(--shadow); 
}

.step-num { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 26px; 
    height: 26px; 
    background: var(--navy); 
    color: white; 
    border-radius: 50%; 
    font-size: 0.85rem; 
    font-weight: 700; 
}

.payment-methods { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
    margin-bottom: 1.5rem; 
}
.pay-method-card { 
    border: 2px solid var(--border); 
    border-radius: 8px; 
    padding: 1rem; 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 6px; 
    transition: all 0.2s; 
}
.pay-method-card:hover { border-color: var(--gold); }
.pay-method-card.active { border-color: var(--gold); background: #fff8ee; }
.pay-method-card input { display: none; }
.pay-method-card i { font-size: 1.5rem; color: var(--navy); }
.pay-method-card span { 
    font-size: 0.82rem; 
    font-weight: 600; 
    color: #555; 
    text-align: center; 
}

.secure-note { 
    background: #e3f2fd; 
    color: #1565c0; 
    border-radius: 6px; 
    padding: 10px 12px; 
    font-size: 0.82rem; 
    display: flex; 
    align-items: center; 
    gap: 7px; 
    margin-top: 1rem; 
}

.pay-note { text-align: center; color: var(--gray); font-size: 0.82rem; margin-top: 0.8rem; }

.summary-hotel-card { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    background: var(--light); 
    border-radius: 8px; 
    padding: 1rem; 
    margin-bottom: 1rem; 
}
.summary-hotel-card > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.summary-hotel-card strong { color: var(--navy); font-size: 0.9rem; }
.summary-hotel-card span { color: var(--gray); font-size: 0.8rem; }

.secure-badges { 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
    margin-top: 1rem; 
}
.secure-badges div { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.82rem; 
    color: var(--gray); 
}
.secure-badges i { color: var(--green); }

.status-badge { 
    display: inline-block; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.78rem; 
    font-weight: 600; 
}
.status-badge.pending        { background: #fff3e0; color: #e65100; }
.status-badge.confirmed      { background: #e8f5e9; color: #2e7d32; }
.status-badge.cancelled      { background: #fdecea; color: #c62828; }
.status-badge.checked-in     { background: #e3f2fd; color: #1565c0; }
.status-badge.checked-out    { background: #f3e5f5; color: #6a1b9a; }

.stats-row { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem; 
    margin-bottom: 2rem; 
}

.stat-card { 
    background: white; 
    border-radius: 10px; 
    padding: 1.2rem 1.5rem; 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    box-shadow: var(--shadow); 
}
.stat-card i { font-size: 2rem; color: var(--navy); opacity: 0.5; }
.stat-card.green i { color: var(--green); }
.stat-card.orange i { color: var(--orange); }
.stat-card.red i { color: var(--red); }
.stat-info h3 { font-size: 1.8rem; color: var(--navy); line-height: 1; }
.stat-info p { font-size: 0.82rem; color: var(--gray); margin-top: 3px; }

.filter-bar { 
    display: flex; 
    gap: 0.8rem; 
    align-items: center; 
    margin-bottom: 0.5rem; 
    flex-wrap: wrap; 
}
.filter-search { position: relative; flex: 1; min-width: 200px; }
.filter-search i { 
    position: absolute; 
    left: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--gray); 
}
.filter-search input { 
    width: 100%; 
    padding: 10px 12px 10px 38px; 
    border: 1.5px solid var(--border); 
    border-radius: var(--radius); 
    font-size: 0.9rem; 
}
.filter-search input:focus { outline: none; border-color: var(--gold); }
.filter-bar select { 
    padding: 10px 14px; 
    border: 1.5px solid var(--border); 
    border-radius: var(--radius); 
    font-size: 0.9rem; 
}


.table-box { 
    background: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: var(--shadow); 
    margin-bottom: 1rem; 
}

.data-table { width: 100%; border-collapse: collapse; }
.data-table thead { background: var(--navy); color: white; }
.data-table th { padding: 14px 16px; text-align: left; font-size: 0.85rem; font-weight: 600; }
.data-table td { 
    padding: 14px 16px; 
    font-size: 0.88rem; 
    border-bottom: 1px solid var(--border); 
    vertical-align: middle; 
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fafafa; }

.action-btns { display: flex; gap: 5px; flex-wrap: wrap; }
.table-count { font-size: 0.82rem; color: var(--gray); }

.empty-row { text-align: center; padding: 3rem; color: var(--gray); }
.empty-row i { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

/*kani ang part sa booking status*/
.status-banner { 
    border-radius: 10px; 
    padding: 1.5rem; 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    margin-bottom: 1.5rem; 
}
.status-banner.confirmed  { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.status-banner.pending    { background: #fff8e1; border: 1px solid #ffe082; color: #f57f17; }
.status-banner.cancelled  { background: #fdecea; border: 1px solid #ef9a9a; color: #c62828; }
.status-banner.checked-in { background: #e3f2fd; border: 1px solid #90caf9; color: #1565c0; }

.status-icon-big { font-size: 2.5rem; flex-shrink: 0; }
.status-text h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.status-text p { font-size: 0.88rem; opacity: 0.9; margin-bottom: 0.5rem; }
.booking-id-tag { font-size: 0.85rem; font-weight: 600; }

.info-cards-row { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem; 
    margin-bottom: 2rem; 
}
.info-card { 
    background: white; 
    border-radius: 10px; 
    padding: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    box-shadow: var(--shadow); 
}
.info-card > i { font-size: 1.8rem; color: var(--gold); flex-shrink: 0; }
.info-card div { display: flex; flex-direction: column; gap: 2px; }
.info-card small { font-size: 0.75rem; color: var(--gray); }
.info-card strong { font-size: 0.9rem; color: var(--navy); }
.info-card span { font-size: 0.78rem; color: var(--gray); }

.status-main { display: grid; grid-template-columns: 1fr 330px; gap: 2rem; }

.detail-section-box { 
    background: white; 
    border-radius: 12px; 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
    margin-bottom: 1.5rem; 
}
.detail-section-box h3 { 
    font-size: 1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.booking-detail-card { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; }
.booking-detail-info { flex: 1; }
.booking-detail-info strong { 
    font-size: 1.1rem; 
    color: var(--navy); 
    display: block; 
    margin-bottom: 4px; 
}
.booking-detail-info p { color: var(--gray); font-size: 0.85rem; margin: 6px 0; }

.mini-meta { 
    display: flex; 
    gap: 1rem; 
    font-size: 0.82rem; 
    color: var(--gray); 
    margin: 8px 0; 
}
.mini-meta span { display: flex; align-items: center; gap: 4px; }

.price-breakdown-mini { 
    background: var(--light); 
    border-radius: 6px; 
    padding: 10px 12px; 
    margin-top: 10px; 
}
.pb-row { 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.84rem; 
    padding: 4px 0; 
    color: #555; 
}
.pb-row.total { 
    border-top: 1px solid var(--border); 
    margin-top: 4px; 
    padding-top: 6px; 
    font-weight: 700; 
    color: var(--gold); 
}

.hotel-address { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--light); 
    border-radius: 6px; 
    padding: 12px; 
    margin-top: 0.5rem; 
}
.hotel-address i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.hotel-address strong { display: block; font-size: 0.9rem; color: var(--navy); }
.hotel-address p { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

.timeline { position: relative; padding: 0.5rem 0; }
.tl-item { 
    display: flex; 
    gap: 1rem; 
    padding-bottom: 1.5rem; 
    position: relative; 
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:not(:last-child)::after { 
    content: ''; 
    position: absolute; 
    left: 17px; 
    top: 38px; 
    bottom: 0; 
    width: 2px; 
    background: var(--border); 
}

.tl-dot { 
    width: 36px; 
    height: 36px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.85rem; 
    flex-shrink: 0; 
    border: 2px solid var(--border); 
    background: white; 
    color: var(--gray); 
}
.tl-item.done .tl-dot { 
    background: var(--green); 
    border-color: var(--green); 
    color: white; 
}
.tl-item.upcoming .tl-dot { background: var(--light); border-color: var(--border); }
.tl-item.pending .tl-dot { 
    background: #fff3e0; 
    border-color: var(--orange); 
    color: var(--orange); 
}

.tl-content h4 { 
    font-size: 0.9rem; 
    color: var(--navy);
    margin-bottom: 2px; 
}
.tl-content p { font-size: 0.82rem; color: var(--gray); }
.tl-item.done .tl-content h4 { color: var(--green); }

.action-row { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    margin-top: 1.2rem; 
}

.checkin-info-box, .help-box { 
    background: white; 
    border-radius: 12px; 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
    margin-bottom: 1.2rem; 
}
.checkin-info-box h3, .help-box h3 { 
    font-size: 1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.ci-row { 
    display: flex; 
    justify-content: space-between; 
    padding: 8px 0; 
    border-bottom: 1px solid var(--border); 
    font-size: 0.88rem; 
}
.ci-row:last-of-type { border-bottom: none; }
.ci-row span { color: var(--gray); }
.ci-row strong { color: var(--navy); }

.req-docs { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    margin-top: 0.8rem; 
}
.req-docs li { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.85rem; 
}
.req-docs li i { color: var(--navy); }

.all-set-box { 
    background: #e8f5e9; 
    border-radius: 8px; 
    padding: 12px; 
    margin-top: 1rem; 
    display: flex; 
    gap: 10px; 
    align-items: flex-start; 
}
.all-set-box i { 
    color: var(--green); 
    font-size: 1.3rem; 
    flex-shrink: 0; 
    margin-top: 2px; 
}
.all-set-box strong { 
    display: block; 
    color: var(--green); 
    font-size: 0.9rem; 
    margin-bottom: 2px; 
}
.all-set-box p { font-size: 0.82rem; color: #2e7d32; }

.help-row { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 10px 0; 
    border-bottom: 1px solid var(--border); 
}
.help-row:last-child { border-bottom: none; }
.help-row > i { 
    font-size: 1.3rem; 
    color: var(--gold); 
    width: 24px; 
    flex-shrink: 0; 
}
.help-row div { 
    display: flex; 
    flex-direction: column; 
    gap: 1px; 
}
.help-row strong { font-size: 0.88rem; color: var(--navy); }
.help-row span { font-size: 0.82rem; color: var(--gray); }

.profile-header-card { 
    background: linear-gradient(135deg, var(--navy), #2d4d7a); 
    color: white; 
    border-radius: 12px; 
    padding: 2rem; 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    margin-bottom: 2rem; 
}
.profile-avatar i { font-size: 5rem; opacity: 0.6; }
.profile-header-info { flex: 1; }
.profile-header-info h3 { font-size: 1.4rem; margin-bottom: 4px; }
.profile-header-info p { opacity: 0.8; font-size: 0.9rem; }
.profile-header-info span { font-size: 0.8rem; opacity: 0.6; }
.profile-stat { text-align: center; }
.profile-stat strong { 
    display: block; 
    font-size: 2rem; 
    font-weight: 700; 
}
.profile-stat span { font-size: 0.8rem; opacity: 0.7; }

.profile-sections { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
}
.profile-section-box { 
    background: white; 
    border-radius: 12px; 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
}
.profile-section-box h3 { 
    font-size: 1rem; 
    color: var(--navy); 
    margin-bottom: 1.2rem; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
.profile-section-box h3 i { color: var(--gold); }


.footer { 
    background: var(--navy); 
    color: rgba(255,255,255,0.7); 
    text-align: center; 
    padding: 2rem; 
    margin-top: 4rem; 
}
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-brand { 
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    color: white; 
    margin-bottom: 0.8rem; 
    font-size: 1.1rem; 
    font-weight: 700; 
}
.footer-brand i { color: var(--gold); }
.footer p { font-size: 0.85rem; margin-bottom: 4px; }
.footer-copy { margin-top: 0.8rem; opacity: 0.5; font-size: 0.8rem; }


@media (max-width: 900px) {
    .detail-wrapper, .booking-wrapper, .payment-wrapper, .status-main { grid-template-columns: 1fr; }
    .booking-card, .price-sidebar { position: static; }
    .info-cards-row, .stats-row { grid-template-columns: repeat(2, 1fr); }
    .rooms-grid { 
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 700px) {
    .auth-wrapper { 
        flex-direction: column; 
        margin: 20px; 
    }
    .auth-left { display: none; }
    .nav-menu, .nav-right { display: none; }
    .nav-menu.open { 
        display: flex; 
        flex-direction: column; 
        position: absolute; 
        top: 64px; 
        left: 0; 
        right: 0; 
        background: var(--navy2); 
        padding: 1rem; 
    }
    .hamburger { display: block; }
    .form-row-2 { grid-template-columns: 1fr; }
    .search-bar { flex-direction: column; }
    .search-field { min-width: unset; }
    .payment-methods { grid-template-columns: 1fr; }
    .profile-sections { grid-template-columns: 1fr; }
    .profile-header-card { flex-direction: column; text-align: center; }
    .data-table th:nth-child(4), .data-table td:nth-child(4),
    .data-table th:nth-child(3), .data-table td:nth-child(3) { display: none; }
    .info-cards-row { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .auth-footer-bar { 
        gap: 1rem; 
        font-size: 0.78rem; 
    }
    .filter-bar { 
        flex-direction: column; 
        align-items: stretch; 
    }
}

@media (max-width: 480px) {
    .info-cards-row, .stats-row { grid-template-columns: 1fr; }
    .rooms-grid { grid-template-columns: 1fr; }
    .page-header-row { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; }
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-icon input {
    padding-left: 35px;
    padding-right: 35px;
    width: 100%;
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}