/* =====================================================
 * Hotel Rates Page Styles â€” Premium Dark Design
 * ===================================================== */

.rates-section {
    padding: 40px 0 80px;
    min-height: 100vh;
}

.rates-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-deep);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Table Container */
.rates-container {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.rates-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tables Styling */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.rates-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-family: var(--font-secondary);
}

.rates-table thead tr {
    background: var(--bg-body);
}

.rates-table thead th {
    padding: 18px 24px;
    text-align: left;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--bg-deep);
    white-space: nowrap;
    border-bottom: none;
}

.rates-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.rates-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.rates-table td {
    padding: 15px 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    vertical-align: middle;
}

.hotel-name {
    color: var(--accent-primary);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    width: 250px;
}

.room-type {
    font-size: 0.9rem;
    color: var(--text-white);

}

.rate-val {
    font-family: var(--font-secondary);
    font-weight: 500;
}

.remarks-cell {
    font-size: 0.85rem;
    font-style: italic;

    max-width: 300px;
}

/* Section Separators */
.table-header-row {
    background: rgba(255, 255, 255, 0.04) !important;
}

.table-header-row th {
    text-align: center;
    color: var(--accent-primary);
    font-size: 1rem;
    padding: 15px;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
    .rates-section {
        padding: 60px 0;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Custom Header Styling aligned with Website Theme */
.rates-table thead.custom-header tr.header-title th {
    background-color: #6b7280;
    color: #ffffff;
    text-align: center;
    border: 2px solid #6b7280;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px;
}

.rates-table thead.custom-header tr.header-sub th {
    background-color: #ffffff;
    color: #000080;
    text-align: center;
    border: 2px solid #000080;
    text-transform: uppercase;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 12px;
    letter-spacing: 1px;
}

/* Table body aligned with dark glassmorphism theme */
.rates-table tbody td.excel-cell {
    border: 1px solid #000080;
    color: #000080;
    padding: 15px 20px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    vertical-align: middle;
    text-align: left;
}

/* Alternating hotel group colors */
.rates-table tbody tr.hotel-group-odd td.excel-cell {
    background-color: #ffffff;
}

.rates-table tbody tr.hotel-group-even td.excel-cell {
    background-color: #d9e1f2;
}

/* Bold hotel names */
.rates-table tbody td.hotel-name {
    color: #000080;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Remarks styling */
.rates-table tbody td.remarks-cell {
    font-style: italic;
    font-size: 0.85rem;
    color: #000080;
}