/* Minimal precompiled additions for SVG fill utilities (Tailwind-like) */

/* Base fills */
.fill-\[\#FF5A0A\] {
    fill: #FF5A0A;
}

.fill-white {
    fill: #ffffff;
}

/* Group hover/active variants */
.group:hover .group-hover\:fill-\[\#E34E08\] {
    fill: #E34E08;
}

.group:active .active\:fill-\[\#C74307\] {
    fill: #C74307;
}

/* Ensure the button text in embedded SVGs stays white */
.text-white {
    fill: #ffffff;
}

/* QuickBooks brand button (green) */
.qb-btn {
    background-color: #2CA01C;
}

.qb-btn:hover {
    background-color: #279018;
}

.qb-btn:active {
    background-color: #218014;
}

/* QB asset button hover swap */
.qb-asset-btn {
    position: relative;
    display: inline-block;
    height: 36px;
    line-height: 0;
}

.qb-asset-btn img {
    display: block;
    height: 36px;
    width: auto;
}

.qb-asset-btn img.hover {
    display: none !important;
}

.qb-asset-btn:hover img.default {
    display: none !important;
}

.qb-asset-btn:hover img.hover {
    display: block !important;
}

/* BILL asset button hover swap */
.bill-asset-btn {
    position: relative;
    display: inline-block;
    height: auto;
    line-height: 0;
}

.bill-asset-btn img {
    display: block;
}

.bill-asset-btn img.hover {
    display: none !important;
}

.bill-asset-btn:hover img.default {
    display: none !important;
}

.bill-asset-btn:hover img.hover {
    display: block !important;
}

/* Ensure header auth links never inherit bold */
.auth-link {
    font-weight: 400 !important;
}

/* Force normal weight when link represents current page and grey it out */
a[aria-current="page"] {
    font-weight: 400 !important;
    color: #6B7280 !important;
}

/* Generic button styles (Balsamiq-like, simple wireframe) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    /* px-4 py-2 */
    border: 2px solid #111827;
    /* darker wireframe line */
    border-radius: 0.5rem;
    /* slightly rounder corners */
    background-color: #ffffff;
    color: #111827;
    /* gray-900 */
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 2px 2px 0 #9CA3AF;
    /* subtle offset shadow */
    transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 60ms ease;
}

.btn:hover {
    background-color: #F9FAFB;
    /* gray-50 */
    box-shadow: 3px 3px 0 #9CA3AF;
}

.btn:active {
    background-color: #E5E7EB;
    /* gray-200 */
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 #9CA3AF;
}

.btn[disabled],
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Filled primary variant */
.btn-primary {
    background-color: #4F46E5;
    /* indigo-600 */
    border-color: #111827;
    /* keep strong wireframe edge */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #4338CA;
    /* indigo-700 */
    border-color: #3730A3;
    /* indigo-800 */
}

.btn-primary:active {
    background-color: #3730A3;
    /* indigo-800 */
}

/* Subtle gray filled variant */
.btn-secondary {
    background-color: #6B7280;
    /* gray-500 */
    border-color: #111827;
    /* strong edge */
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #4B5563;
    border-color: #374151;
}

/* Outline-only variant */
.btn-outline {
    background-color: #ffffff;
    color: #111827;
    border-color: #111827;
}

/* Danger variant */
.btn-danger {
    background-color: #DC2626;
    /* red-600 */
    border-color: #111827;
    /* strong edge */
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #B91C1C;
    /* red-700 */
    border-color: #991B1B;
    /* red-800 */
}

/* Compact button variant for parity with small pills */
.btn-compact {
    padding: 0.25rem 0.5rem !important;
    /* px-2 py-1 */
    border-width: 1px !important;
    border-radius: 0.375rem !important;
    /* rounded-md */
    font-size: 0.875rem !important;
    /* text-sm */
    box-shadow: 1px 1px 0 #9CA3AF !important;
}

/* QuickBooks brand color on generic button with Intuit hover overlay */
.btn.qb-brand {
    background-color: #2CA01C !important;
    /* default green */
    color: #ffffff !important;
    border-color: #111827 !important;
}

.btn.qb-brand:hover {
    background-color: #2CA01C !important;
    /* keep base color */
    background-image: linear-gradient(0deg, rgba(16, 128, 0, 0.5), rgba(16, 128, 0, 0.5));
    /* match hover svg overlay */
    box-shadow: 3px 3px 0 #9CA3AF !important;
}

.btn.qb-brand:active {
    background-color: #2CA01C !important;
    background-image: linear-gradient(0deg, rgba(16, 128, 0, 0.7), rgba(16, 128, 0, 0.7));
}

/* BILL brand color on generic button with hover */
.btn.bill-brand {
    background-color: #FF5A0A !important;
    /* default orange */
    color: #ffffff !important;
    border-color: #111827 !important;
}

.btn.bill-brand:hover {
    background-color: #E34E08 !important;
    /* hover orange from SVG */
    box-shadow: 3px 3px 0 #9CA3AF !important;
}

.btn.bill-brand:active {
    background-color: #C74307 !important;
    /* deeper active tone */
}

/* Segmented row container; actual max-width set by JS alignSegmentRows */
.seg-row {
    margin-left: auto;
    margin-right: auto;
}