/* Kindling Ventures brand: dark red primary, blue surfaces, orange accent, gradient sidebar.
   Loaded after ui-polish.css / auth.css when APP_BRAND=kindling. */

:root {
    --app-primary: #7e1416;
    --app-primary-rgb: 126, 20, 22;
    --app-primary-dark: #477c9a;
    --app-surface: #477c9a;
    --app-surface-dark: #3b6a89;
    --app-surface-rgb: 71, 124, 154;
    --app-accent: #d77427;
    --app-success: #429238;
    --app-sidebar-gradient: linear-gradient(180deg, #232323 0%, #1f1f1f 30%, #6b0f11 60%, #3b6a89 85%, #b65e1e 100%);
    --app-preloader: linear-gradient(180deg, #7e1416, #561010, #232323, #477c9a, #d77427);
    --sk-color: #e8e2d9;

    --auth-primary: #7e1416;
    --auth-primary-rgb: 126, 20, 22;
    --auth-primary-dark: #477c9a;
}

/* Theme classes that are hard-coded to the ARC blue */
.bg-primary { background-color: var(--app-accent) !important; }
.text-primary { color: var(--app-primary) !important; }
.border-primary { border-color: var(--app-primary) !important; }
.badge-primary { background-color: var(--app-primary) !important; }
[dir] .btn-primary,
[dir] .btn-primary:disabled { background-color: var(--app-primary) !important; border-color: var(--app-primary) !important; }
[dir] .btn-primary:hover,
[dir] .btn-primary:focus,
[dir] .btn-primary:active { background-color: var(--app-primary-dark) !important; border-color: var(--app-primary-dark) !important; }
.btn-outline-primary { color: var(--app-primary) !important; border-color: var(--app-primary) !important; }
.btn-outline-primary:hover { background-color: var(--app-primary) !important; color: #fff !important; }
.page-item.active .page-link { background-color: var(--app-primary) !important; border-color: var(--app-primary) !important; }
.custom-control-input:checked ~ .custom-control-label::before { background-color: var(--app-primary) !important; border-color: var(--app-primary) !important; }

.bg-success, .badge-success, [dir] .btn-success { background-color: var(--app-success) !important; border-color: var(--app-success) !important; }
.text-success { color: var(--app-success) !important; }

/* Warm gradient sidebar (beats the theme's [dir] .sidebar-dark-pickled-bluewood) */
[dir] .app-sidebar.sidebar-dark-pickled-bluewood { background: var(--app-sidebar-gradient); }

/* Sidebar text on the warm gradient */
.app-sidebar .sidebar-menu-button,
.app-sidebar .sidebar-menu-icon,
.app-sidebar__brand-text small { color: #e8e2d8 !important; }

/* Login page */
.auth {
    background-color: #232323;
    background-image:
        radial-gradient(650px circle at 0% 0%, #dbac40 15%, #d77427 35%, #477c9a 75%, #7e1416 80%, transparent 100%),
        radial-gradient(1250px circle at 100% 100%, #dbac40 15%, #d77427 35%, #477c9a 75%, #7e1416 80%, transparent 100%);
}

.auth__shape--one { background: radial-gradient(#dbac40, #7e1416); }
.auth__shape--two { background: radial-gradient(#477c9a, #d77427); }
