﻿/* ==========================================================================
   Business Premises Registration Rates page
   Add this file at: wwwroot/dirto/css/rates.css
   ========================================================================== */

.rates-page-header {
    background-color: #f8f9fa;
    padding: 60px 0 40px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 40px;
}

    .rates-page-header h1 {
        font-family: "Work Sans", sans-serif;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .rates-page-header p {
        color: #6b6b6b;
        max-width: 720px;
    }

.rates-note {
    background-color: #fff8e6;
    border: 1px solid #ffe2a8;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #6b5300;
}

.rates-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    margin-bottom: 50px;
}

table.rates-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    font-size: 14px;
}

    table.rates-table thead th {
        background-color: #1c1c1c;
        color: #fff;
        font-weight: 600;
        text-align: center;
        padding: 12px 10px;
        white-space: nowrap;
        position: sticky;
        top: 0;
    }

    table.rates-table thead tr.rates-subhead th {
        background-color: #2d2d2d;
        font-size: 12px;
        font-weight: 500;
        padding: 8px 10px;
    }

    table.rates-table tbody td {
        padding: 12px 10px;
        vertical-align: top;
        border-bottom: 1px solid #eee;
    }

    table.rates-table tbody tr:nth-child(even) {
        background-color: #fafafa;
    }

    table.rates-table tbody tr:hover {
        background-color: #fff4e9;
    }

.rates-cat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--theme-color, #1f8a3f);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.rates-business-list {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    max-width: 260px;
}

td.rates-amount {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

    td.rates-amount.rates-reg-fee {
        text-align: center;
    }

.rates-appraisal-title {
    font-weight: 600;
    margin-top: 6px;
}

@media (max-width: 767px) {
    .rates-page-header {
        padding: 40px 0 25px;
    }
}
