:root {
    --brand-red: #E6000A;
    --brand-red-bright: #FA000A;
    --brand-red-dark: #A00000;
    --brand-black: #141414;
    --brand-gold: #B8860B;
    --app-bg: #17181a;

    /* Recolor Bootstrap's utility classes (.text-*, .bg-*, .border-*, links)
       that read these root tokens; component classes like .btn-primary keep
       their own local copies and are overridden separately below. */
    --bs-primary: var(--brand-red);
    --bs-primary-rgb: 230, 0, 10;
    --bs-dark: var(--brand-black);
    --bs-dark-rgb: 20, 20, 20;
    --bs-link-color: var(--brand-red-bright);
    --bs-link-color-rgb: 250, 0, 10;
    --bs-link-hover-color: #ff4d55;
    --bs-link-hover-color-rgb: 255, 77, 85;
}

body {
    min-height: 100vh;
    background-color: var(--app-bg);
}

.navbar-brand {
    font-weight: 600;
}

.navbar.bg-dark {
    border-bottom: 3px solid var(--brand-red);
}

.card {
    border: none;
}

.btn-primary {
    --bs-btn-bg: var(--brand-red);
    --bs-btn-border-color: var(--brand-red);
    --bs-btn-hover-bg: var(--brand-red-dark);
    --bs-btn-hover-border-color: var(--brand-red-dark);
    --bs-btn-active-bg: var(--brand-red-dark);
    --bs-btn-active-border-color: var(--brand-red-dark);
    --bs-btn-disabled-bg: var(--brand-red);
    --bs-btn-disabled-border-color: var(--brand-red);
    --bs-btn-focus-shadow-rgb: 230, 0, 10;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.25rem rgba(230, 0, 10, 0.25);
}

.table-scroll {
    max-height: 480px;
    overflow-y: auto;
}

.table-scroll thead th {
    position: sticky;
    top: 0;
    background: var(--bs-body-bg);
    z-index: 1;
}

.suggestion-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background-color: var(--brand-red);
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.suggestion-fab:hover {
    background-color: var(--brand-red-dark);
}

@media (max-width: 480px) {
    .suggestion-fab {
        padding: 14px;
        border-radius: 50%;
    }

    .suggestion-fab-label {
        display: none;
    }
}
