/* Bootstrap Primary Color Override - Black Theme */

:root {
    --bs-primary: #1a1a1a;
    --bs-primary-rgb: 26, 26, 26;
    --bs-primary-text-emphasis: #000000;
    --bs-primary-bg-subtle: #f5f5f5;
    --bs-primary-border-subtle: #333333;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.3) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000000, #1a1a1a) !important;
    border-color: #000000 !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.4) !important;
}

.btn-primary:focus,
.btn-primary.focus {
    background: linear-gradient(135deg, #000000, #1a1a1a) !important;
    border-color: #000000 !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.5) !important;
}

.btn-primary:active,
.btn-primary.active {
    background: linear-gradient(135deg, #000000, #0d0d0d) !important;
    border-color: #000000 !important;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    opacity: 0.6 !important;
}

/* Primary Outline Button */
.btn-outline-primary {
    color: #1a1a1a !important;
    border-color: #1a1a1a !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.5) !important;
}

.btn-outline-primary:active,
.btn-outline-primary.active {
    background: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* Primary Background */
.bg-primary {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
}

.bg-primary-subtle {
    background-color: #f5f5f5 !important;
}

/* Primary Text */
.text-primary {
    color: #1a1a1a !important;
}

.text-primary-emphasis {
    color: #000000 !important;
}

/* Primary Border */
.border-primary {
    border-color: #1a1a1a !important;
}

.border-primary-subtle {
    border-color: #2d2d2d !important;
}

/* Primary Alert */
.alert-primary {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0) !important;
    border-color: #2d2d2d !important;
    color: #000000 !important;
}

/* Primary Badge */
.badge.bg-primary {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    color: #fff !important;
}

/* Primary Progress Bar */
.progress-bar {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
}

/* Primary Link */
a.text-primary:hover,
a.text-primary:focus {
    color: #000000 !important;
}

/* Primary Form Controls */
.form-control:focus {
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.25) !important;
}

.form-select:focus {
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.25) !important;
}

.form-check-input:checked {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 26, 26, 0.25) !important;
}

/* Primary Pagination */
.page-link {
    color: #1a1a1a !important;
}

.page-link:hover {
    color: #000000 !important;
    background-color: #f5f5f5 !important;
    border-color: #2d2d2d !important;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* Primary Dropdown */
.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    color: #fff !important;
}

/* Primary Nav Pills */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    color: #fff !important;
}

/* Primary List Group */
.list-group-item.active {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* Primary Spinner */
.spinner-border.text-primary {
    color: #1a1a1a !important;
}

/* Primary Toast */
.toast-header .text-primary {
    color: #1a1a1a !important;
}

/* Primary Card Header */
.card-header.bg-primary {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
}

/* Primary Table */
.table-primary {
    background-color: #f5f5f5 !important;
    border-color: #2d2d2d !important;
}

.table-primary th,
.table-primary td {
    border-color: #2d2d2d !important;
}

/* Primary Accordion */
.accordion-button:not(.collapsed) {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 26, 26, 0.25) !important;
}

/* Primary Offcanvas */
.offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Primary Modal */
.modal-header.bg-primary {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    color: #fff !important;
}

/* Primary Carousel */
.carousel-indicators [data-bs-target] {
    background-color: #1a1a1a !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(0) grayscale(100%);
}
