/* ================================================================
   Quick Notary – Pricing Table Styles
   File: wp-content/themes/enfold-child/css/fc-pricing-table.css
   ================================================================ */

/* ── Wrapper ─────────────────────────────────────────────────────── */
.fc-pricing-table {
    width: 100%;
    font-family: inherit;
}

/* ── Tab Row ─────────────────────────────────────────────────────── */
.fc-pt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* ── Tab Buttons ─────────────────────────────────────────────────── */
.fc-pt-tab {
    padding: 11px 26px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    border-radius: 0 !important;
    cursor: pointer;
    background-color: #e0e0e0 !important;  /* light grey inactive */
    color: #444444 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    outline: none;
    line-height: 1.4;
    border-right: 1px solid #cccccc !important;
    flex: 1 1 auto;
    text-align: center;
}

.fc-pt-tab:last-child {
    border-right: none !important;
}

.fc-pt-tab:hover {
    background-color: #3a5f2a !important;
    color: #ffffff !important;
}

.fc-pt-tab--active {
    background-color: #c8972a !important;  /* gold active */
    color: #ffffff !important;
    border-right-color: #b8871a !important;
}

/* ── Panel ───────────────────────────────────────────────────────── */
.fc-pt-panel {
    display: none !important;
}

.fc-pt-panel--active {
    display: block !important;
    border-radius: 0 0 3px 3px;
    overflow: hidden;
    border: 1px solid #bdbdbd;
    border-top: none;
}

/* ── Table ───────────────────────────────────────────────────────── */
.fc-pt-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    table-layout: fixed;
}

/* ── Column widths ───────────────────────────────────────────────── */
.fc-pt-th--price,
.fc-pt-td--price {
    width: 90px;
}

.fc-pt-th--time,
.fc-pt-td--time {
    width: 120px;
}

/* ── Table Header ────────────────────────────────────────────────── */
.fc-pt-table thead tr,
.fc-pt-table thead tr th {
    background: #f9f9f9 !important;
    background-color: #f9f9f9 !important;
}

.fc-pt-th {
    padding: 12px 16px 10px !important;
    text-align: left !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555555 !important;
    border-bottom: 2px solid #bdbdbd !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* ── Kill ALL theme alternating row styles ───────────────────────── */
.fc-pt-table tbody tr,
.fc-pt-table tbody tr:nth-child(odd),
.fc-pt-table tbody tr:nth-child(even),
.fc-pt-table tr,
.fc-pt-table tr:nth-child(odd),
.fc-pt-table tr:nth-child(even) {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.fc-pt-table tbody tr:hover,
.fc-pt-table tr:hover {
    background: #f2f7ef !important;
    background-color: #f2f7ef !important;
}

/* ── Row borders ─────────────────────────────────────────────────── */
.fc-pt-row {
    border-bottom: 1px solid #bdbdbd !important;
    transition: background-color 0.15s ease;
}

.fc-pt-row:last-child {
    border-bottom: none !important;
}

/* ── Table Cells — kill all theme borders/backgrounds ───────────── */
.fc-pt-table td,
.fc-pt-table th,
.fc-pt-td,
.fc-pt-th {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.fc-pt-td {
    padding: 13px 16px !important;
    font-size: 14px !important;
    color: #333333 !important;
    vertical-align: middle !important;
    background: transparent !important;
    word-break: break-word;
    border-bottom: 1px solid #bdbdbd !important;
}

.fc-pt-row:last-child .fc-pt-td {
    border-bottom: none !important;
}

.fc-pt-td--service {
    font-weight: 500;
    color: #222222 !important;
}

.fc-pt-td--price {
    font-weight: 700 !important;
    color: #2a5a1f !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.fc-pt-td--time {
    color: #444444 !important;
    font-size: 13px !important;
    white-space: nowrap;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .fc-pt-tab {
        padding: 10px 8px !important;
        font-size: 11px !important;
        letter-spacing: 0.01em;
    }

    .fc-pt-th--time,
    .fc-pt-td--time {
        display: none !important;
    }

    .fc-pt-th--price,
    .fc-pt-td--price {
        width: 80px;
    }

    .fc-pt-td {
        padding: 11px 10px !important;
        font-size: 13px !important;
    }

    .fc-pt-th {
        padding: 10px 10px 8px !important;
        font-size: 11px !important;
    }
}