/* Bootstrap-theme-overrides.css */

/* === LIGHT THEME === */
[data-bs-theme="light"] {
    --bs-primary: #FF7947;
    --bs-primary-rgb: 255, 121, 71;
    --bs-primary-text-emphasis: #cc5f39;
    --bs-primary-bg-subtle: #ffe3d9;
    --bs-primary-border-subtle: #ffc6b3;
}

/* === DARK THEME === */
[data-bs-theme="dark"] {
    --bs-primary: #0ea2fc;
    --bs-primary-rgb: 14,162,252;
    --bs-primary-text-emphasis: #e78c6a;
    --bs-primary-bg-subtle: #47291f;
    --bs-primary-border-subtle: #cc5f39;
}

/* === NAVBAR === */
[data-bs-theme="light"] .navbar {
    --bs-navbar-color: rgba(255, 121, 71, 0.8);
    --bs-navbar-hover-color: rgba(255, 121, 71, 1);
    --bs-navbar-active-color: rgba(255, 121, 71, 1);
}
[data-bs-theme="dark"] .navbar {
    --bs-navbar-color: rgba(86,189,252, 0.9);
    --bs-navbar-hover-color: rgba(11,129,201, 1);
    --bs-navbar-active-color: rgba(11,129,201, 1);
}
[data-bs-theme] .navbar-nav .nav-link {
    color: var(--bs-navbar-color);
}
[data-bs-theme] .navbar-nav .nav-link:hover {
    color: var(--bs-navbar-hover-color);
}
[data-bs-theme] .navbar-nav .nav-link.active,
[data-bs-theme] .navbar-nav .nav-link.show {
    color: var(--bs-navbar-active-color);
}

/* === BUTTON PRIMARY === */
[data-bs-theme="light"] .btn-primary,
[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #022032;
    --bs-btn-bg: #0ea2fc;
    --bs-btn-border-color: #0971b0;
    --bs-btn-hover-color: #e6f5fe;
    --bs-btn-hover-bg: #07517e;
    --bs-btn-hover-border-color: #56bdfc;
    --bs-btn-focus-shadow-rgb: 255, 121, 71;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0b81c9;
    --bs-btn-active-border-color: #ceecfe;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #FF7947;
    --bs-btn-disabled-border-color: #FF7947;
}

/* === FORM ELEMENT FOCUS === */
[data-bs-theme] input:focus,
[data-bs-theme] textarea:focus,
[data-bs-theme] select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* === CHECKBOX / RADIO === */
[data-bs-theme] .form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
[data-bs-theme] .form-switch .form-check-input:checked {
    background-color: var(--bs-primary);
}

/* === TEXT / LINK / BG / BORDER === */
[data-bs-theme] .text-primary {
    color: var(--bs-primary) !important;
}
[data-bs-theme] .link-primary {
    color: var(--bs-primary);text-decoration: none;
}
[data-bs-theme] .link-primary:hover {
    --bs-link-color-rgb: 11,129,201; 
    color: rgba(11,129,201, 1) !important;text-decoration: underline;
    text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;
}
[data-bs-theme] .link-primary:visited {
    color: var(--bs-primary);
    text-decoration: none;
}
[data-bs-theme] .bg-primary {
    background-color: var(--bs-primary) !important;
}
[data-bs-theme] .border-primary {
    border-color: var(--bs-primary) !important;
}

/* === BADGE === */
[data-bs-theme] .badge-primary {
    background-color: var(--bs-primary);
    color: #fff;
}

/* === PROGRESS === */
[data-bs-theme] .progress-bar {
    background-color: var(--bs-primary);
}
