/* TaskeyBee Amber/Gold Theme Overrides */

:root {
    --brand-primary: #FFB300;      /* Amber 600 */
    --brand-primary-hover: #FF8F00;/* Amber 800 */
    --brand-primary-rgb: 255, 179, 0;
    --brand-primary-light: #FFF8E1;/* Amber 50 */
    --brand-dark-charcoal: #1E293B;/* Slate 800 */
}

/* Base Variable Overrides */
:root, [data-bs-theme="light"] {
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: var(--brand-primary-rgb);
    --bs-primary-border-subtle: #ffeeba;
    --bs-primary-bg-subtle: #fff9e6;
    --bs-link-color: var(--brand-primary);
    --bs-link-hover-color: var(--brand-primary-hover);
}

[data-bs-theme="dark"] {
    --bs-primary: #FFC107; /* Amber 500 */
    --bs-primary-rgb: 255, 193, 7;
    --bs-primary-border-subtle: #4d3a08;
    --bs-primary-bg-subtle: #2b2103;
    --bs-link-color: #FFC107;
    --bs-link-hover-color: #ffd54f;
}

/* Button Overrides */
.btn-primary {
    --bs-btn-bg: var(--brand-primary) !important;
    --bs-btn-border-color: var(--brand-primary) !important;
    --bs-btn-color: #000000 !important;
    --bs-btn-hover-bg: var(--brand-primary-hover) !important;
    --bs-btn-hover-border-color: var(--brand-primary-hover) !important;
    --bs-btn-hover-color: #000000 !important;
    --bs-btn-active-bg: var(--brand-primary-hover) !important;
    --bs-btn-active-border-color: var(--brand-primary-hover) !important;
    --bs-btn-active-color: #000000 !important;
    --bs-btn-disabled-bg: #ffe082 !important;
    --bs-btn-disabled-border-color: #ffe082 !important;
    --bs-btn-disabled-color: #6c757d !important;
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb) !important;
    font-weight: 600;
}

[data-bs-theme="dark"] .btn-primary {
    --bs-btn-bg: #FFC107 !important;
    --bs-btn-border-color: #FFC107 !important;
    --bs-btn-hover-bg: #ffd54f !important;
    --bs-btn-hover-border-color: #ffd54f !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary) !important;
    --bs-btn-border-color: var(--bs-primary) !important;
    --bs-btn-hover-bg: var(--bs-primary) !important;
    --bs-btn-hover-border-color: var(--bs-primary) !important;
    --bs-btn-hover-color: #000000 !important;
    --bs-btn-active-bg: var(--bs-primary) !important;
    --bs-btn-active-border-color: var(--bs-primary) !important;
    --bs-btn-active-color: #000000 !important;
}

/* Text & BG Utilities */
.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
    color: #000000 !important;
}

.bg-primary-subtle {
    background-color: var(--bs-primary-bg-subtle) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

/* Sidebar Active/Hover styling */
.sidebar-menu-link:hover, .sidebar-menu-link.active {
    background-color: var(--bs-primary-bg-subtle) !important;
    color: var(--bs-primary) !important;
}

.sidebar-brand {
    color: var(--bs-emphasis-color) !important;
}

.sidebar-brand span {
    background: linear-gradient(135deg, var(--bs-emphasis-color) 40%, var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Form inputs */
.form-control:focus {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.form-check-input:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/* Badges & Progress */
.badge.bg-primary {
    background-color: var(--bs-primary) !important;
    color: #000000 !important;
}

.progress-bar {
    background-color: var(--bs-primary) !important;
}

.avatar-circle {
    background-color: var(--bs-primary) !important;
    color: #000000 !important;
}

/* Custom Scrollbar highlight */
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary) !important;
}

/* Task Tree Details hover */
.task-row:hover {
    border-left: 3px solid var(--bs-primary) !important;
}
