/*
 * Styles for the pricing quote preview modal (#17). Filament only loads its
 * own CSS bundle and does NOT scan our custom Blade views, so Tailwind utility
 * classes used there produce no CSS (the preview rendered as an unstyled,
 * stacked list). We ship explicit classes here instead, registered via
 * FilamentAsset, and render the quote as a real table.
 */

.ssmt-quote {
    font-size: 0.875rem;
}

.ssmt-quote__table {
    width: 100%;
    border-collapse: collapse;
}

.ssmt-quote__table th,
.ssmt-quote__table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgb(0 0 0 / 0.08);
    text-align: left;
    vertical-align: top;
}

html.dark .ssmt-quote__table th,
html.dark .ssmt-quote__table td {
    border-bottom-color: rgb(255 255 255 / 0.1);
}

.ssmt-quote__table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: rgb(107 114 128); /* gray-500 */
}

/* numeric columns: right-aligned, tabular figures. The td selector must carry
   the same (class + element) specificity as the base `.ssmt-quote__table td`
   left-align rule above, otherwise that rule wins and the values stay left
   while only the headers right-align. */
.ssmt-quote__table th.ssmt-quote__num,
.ssmt-quote__table td.ssmt-quote__num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ssmt-quote__label {
    display: block;
    font-weight: 600;
}

.ssmt-quote__note {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: rgb(107 114 128); /* gray-500 */
}

.ssmt-quote__net {
    font-weight: 700;
}

/* monthly projection banner */
.ssmt-quote__projection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--primary-50, rgb(239 246 255));
    font-weight: 500;
}

html.dark .ssmt-quote__projection {
    background: rgb(255 255 255 / 0.05);
}

.ssmt-quote__projection strong {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
