/* ============================================================
   Lalit Kala Akademi — Guest House Module CSS
   Location: css/guesthouse.css

   Design tokens matched to existing site:
   — Primary color:   #ff5e15  (site's btn-custom / topHeader orange)
   — Dark accent:     #044f7c  (site's dark blue)
   — Text:            #000 / #333
   — Font:            Playfair Display, serif  (site font)
   — Background body: #ececec  (site body bg)
   — Card bg:         #fff
   — Border radius:   0 / 2px  (site uses flat design)
   ============================================================ */

/* ---- Section Wrapper (inside .content-section .container) ---- */
.gh-module-wrap {
    padding: 30px 0 50px;
}

/* ---- Inner-page title used on top of each gh page ---- */
.gh-page-heading {
    border-bottom: 2px solid #ff5e15;
    margin-bottom: 28px;
    padding-bottom: 10px;
}

.gh-page-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.gh-page-heading p {
    color: #555;
    font-size: 14px;
    margin: 5px 0 0;
    font-family: 'Open Sans', sans-serif;
}

/* ---- Tariff Info Strip ---- */
.gh-tariff-strip {
    background: #fff;
    border-left: 4px solid #ff5e15;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.gh-tariff-strip table td {
    padding: 3px 12px 3px 0;
    color: #333;
}

.gh-tariff-strip table td strong {
    color: #ff5e15;
}

/* ---- Notice / Alert Box ---- */
.gh-notice {
    background: #fff8f0;
    border: 1px solid #ffcb9a;
    border-left: 4px solid #ff5e15;
    padding: 13px 16px;
    font-size: 13px;
    color: #5a3000;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 18px;
}

.gh-notice i {
    color: #ff5e15;
    margin-right: 6px;
}

/* ---- Search Box ---- */
.gh-search-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 28px 26px 22px;
    margin-bottom: 28px;
}

.gh-search-box .gh-section-label {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.gh-search-box label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.gh-search-box .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    font-size: 14px;
    height: 40px;
    font-family: 'Open Sans', sans-serif;
}

.gh-search-box .form-control:focus {
    border-color: #ff5e15;
    box-shadow: none;
    outline: none;
}

/* ---- Primary Button (matches site's btn-custom) ---- */
.btn-gh-primary {
    background: #ff5e15;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 28px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-gh-primary:hover,
.btn-gh-primary:focus {
    background: #d44c0a;
    color: #fff;
    text-decoration: none;
}

/* ---- Secondary Button (dark blue, matches site accent) ---- */
.btn-gh-secondary {
    background: #044f7c;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 10px 22px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn-gh-secondary:hover,
.btn-gh-secondary:focus {
    background: #033b5e;
    color: #fff;
    text-decoration: none;
}

/* ---- Outline Button ---- */
.btn-gh-outline {
    background: transparent;
    color: #ff5e15;
    border: 2px solid #ff5e15;
    border-radius: 0;
    padding: 8px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-gh-outline:hover {
    background: #ff5e15;
    color: #fff;
    text-decoration: none;
}

/* ---- Room Cards ---- */
.gh-room-results {
    margin-top: 5px;
}

.gh-room-card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #ff5e15;
    padding: 20px 22px;
    margin-bottom: 22px;
    transition: box-shadow 0.2s;
}

.gh-room-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.gh-room-card .room-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.gh-room-card .room-price {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ff5e15;
}

.gh-room-card .room-price small {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.gh-room-card .room-meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #555;
    margin: 8px 0 14px;
    line-height: 1.7;
}

.gh-room-card .room-meta i {
    color: #ff5e15;
    width: 16px;
}

/* ---- Type Badges ---- */
.gh-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    border-radius: 0;
}

.gh-badge-vip        { background: #ff5e15; color: #fff; }
.gh-badge-dorm       { background: #044f7c; color: #fff; }
.gh-badge-male       { background: #1a5c8b; color: #fff; }
.gh-badge-female     { background: #8b3a6f; color: #fff; }

/* ---- Summary / Booking Detail Box ---- */
.gh-summary-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.gh-summary-box .gh-summary-head {
    background: #f7f7f7;
    border-bottom: 2px solid #ff5e15;
    padding: 10px 16px;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #000;
}

.gh-summary-box .gh-summary-body {
    padding: 15px 16px;
}

.gh-summary-box table {
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.gh-summary-box table td {
    padding: 5px 0;
    vertical-align: top;
}

.gh-summary-box table td:first-child {
    color: #666;
    width: 45%;
}

.gh-summary-box table td:last-child {
    font-weight: 600;
    color: #222;
}

.gh-summary-box .total-row td {
    border-top: 1px solid #eee;
    padding-top: 8px;
    font-size: 15px;
}

.gh-summary-box .total-row td:last-child {
    color: #ff5e15;
    font-size: 18px;
    font-weight: 700;
}

/* ---- Booking Status Badges ---- */
.gh-status {
    display: inline-block;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Open Sans', sans-serif;
    border-radius: 0;
}

.gh-status-awaited     { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.gh-status-confirmed   { background: #d4edda; color: #155724; border: 1px solid #28a745; }
.gh-status-rejected    { background: #f8d7da; color: #721c24; border: 1px solid #dc3545; }
.gh-status-cancelled   { background: #e2e3e5; color: #383d41; border: 1px solid #999; }
.gh-status-checked_in  { background: #cce5ff; color: #004085; border: 1px solid #007bff; }
.gh-status-checked_out { background: #d6d8db; color: #1b1e21; border: 1px solid #666; }

/* ---- Success Page ---- */
.gh-success-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #28a745;
    padding: 35px 30px;
    text-align: center;
}

.gh-success-wrap .success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 15px;
}

.gh-success-wrap h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.gh-success-wrap .booking-ref-box {
    background: #fff8f0;
    border: 2px dashed #ff5e15;
    display: inline-block;
    padding: 8px 24px;
    font-size: 22px;
    font-weight: 800;
    color: #ff5e15;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
    margin: 12px 0;
}

/* ---- Forms ---- */
.gh-form-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 28px 28px 24px;
}

.gh-form-wrap .gh-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff5e15;
}

.gh-form-wrap .gh-sub-heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ff5e15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid #ff5e15;
    padding-left: 10px;
    margin: 22px 0 14px;
}

.gh-form-wrap label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.gh-form-wrap .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    height: 38px;
    color: #333;
}

.gh-form-wrap textarea.form-control {
    height: auto;
}

.gh-form-wrap .form-control:focus {
    border-color: #ff5e15;
    box-shadow: none;
}

.gh-form-wrap .errorMsg,
.gh-form-wrap small.text-danger {
    color: #dc3545;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    display: block;
    margin-top: 3px;
}

.gh-form-wrap .gh-link {
    color: #ff5e15;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

.gh-form-wrap .gh-link:hover {
    color: #d44c0a;
}

/* ---- Dashboard Stats ---- */
.gh-stat-row {
    margin-bottom: 22px;
}

.gh-stat-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #ff5e15;
    padding: 18px 14px 14px;
    text-align: center;
    margin-bottom: 16px;
}

.gh-stat-card .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 800;
    color: #ff5e15;
    line-height: 1;
}

.gh-stat-card .stat-lbl {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

/* ---- Booking History Table ---- */
.gh-history-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px 22px;
}

.gh-history-wrap .gh-table-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
    border-bottom: 2px solid #ff5e15;
    padding-bottom: 10px;
}

.gh-history-wrap .table {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.gh-history-wrap .table thead th {
    background: #f7f7f7;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #ff5e15;
}

.gh-action-btn {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    transition: background 0.15s;
}

.gh-action-view    { background: #044f7c; color: #fff; }
.gh-action-view:hover { background: #033b5e; color: #fff; text-decoration: none; }

.gh-action-slip    { background: #ff5e15; color: #fff; }
.gh-action-slip:hover { background: #d44c0a; color: #fff; text-decoration: none; }

/* ---- Login Box ---- */
.gh-login-box {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #ff5e15;
    padding: 30px 30px 24px;
}

/* ---- Booking Slip (print) ---- */
.gh-slip-outer {
    max-width: 750px;
    margin: 30px auto;
    padding: 30px;
    border: 2px solid #ff5e15;
    font-family: 'Open Sans', sans-serif;
}

.gh-slip-head {
    text-align: center;
    border-bottom: 2px solid #ff5e15;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.gh-slip-head .org {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: #000;
}

.gh-slip-head .slip-sub {
    font-size: 14px;
    font-weight: 600;
    color: #ff5e15;
    margin-top: 4px;
}

.gh-slip-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.gh-slip-table th, .gh-slip-table td {
    border: 1px solid #ccc;
    padding: 7px 12px;
}

.gh-slip-table th {
    background: #f9f0e8;
    font-weight: 700;
    width: 35%;
}

.gh-slip-status {
    background: #fff3cd;
    border: 2px solid #ff5e15;
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #856404;
    margin: 14px 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

@media print {
    .no-print { display: none !important; }
    body { background: #fff !important; }
    .gh-slip-outer { border: 2px solid #000; }
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .gh-search-box,
    .gh-form-wrap,
    .gh-history-wrap {
        padding: 16px;
    }

    .gh-room-card { padding: 14px 16px; }
    .gh-login-box { padding: 20px 16px; }
    .gh-slip-outer { padding: 16px; }

    .gh-summary-box table td:first-child { width: 50%; }
}