/* LeanX Custom Colors - Override default theme colors with #fd7a12 (Orange) */
:root {
    --bs-primary: #fd7a12;
    --bs-primary-rgb: 253, 122, 18;
}

.gradient-7,
.text-gradient {
    background: linear-gradient(135deg, #fca142 0%, #fd7a12 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Base Primary Colors */
.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-primary,
.text-navy {
    color: var(--bs-primary) !important;
}


/* Buttons */
.btn-primary {
    background-color: #fd7a12 !important;
    border-color: #fd7a12 !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #e56d09 !important;
    border-color: #d66408 !important;
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(253, 122, 18, 0.35) !important;
}

.btn-soft-primary {
    background-color: rgba(253, 122, 18, 0.15) !important;
    color: #fd7a12 !important;
}

.btn-soft-primary:hover {
    background-color: #fd7a12 !important;
    color: #fff !important;
}

/* Outline Buttons */
.btn-outline-primary {
    color: #fd7a12 !important;
    border-color: #fd7a12 !important;
}

.btn-outline-primary:hover {
    background-color: #fd7a12 !important;
    color: #fff !important;
}

/* Badges */
.badge {
    border-radius: 0.4rem;
}

/* Icon / SVG Background Overrides */
.svg-bg {
    background-color: rgba(253, 122, 18, 0.12) !important;
}

.icon-svg {
    filter: invert(53%) sepia(87%) saturate(2256%) hue-rotate(348deg) brightness(101%) contrast(98%) !important;
    /* Forces color #fd7a12 via CSS filters */
}

/* Form inputs focus */
.form-control:focus {
    border-color: #fd7a12 !important;
    box-shadow: 0 0 0 4px rgba(253, 122, 18, 0.15) !important;
}

/* Custom Overrides for LeanX Specific Cards */
.card-body {
    transition: all 0.3s ease;
}

/* Specific Badge overrides to add slight variations of orange/warm colors */
.bg-pale-green {
    background-color: rgba(252, 161, 66, 0.15) !important;
}

.text-green {
    color: #fca142 !important;
}

.bg-pale-purple {
    background-color: rgba(230, 93, 9, 0.15) !important;
}

.text-purple {
    color: #e65d09 !important;
}

.bg-pale-pink {
    background-color: rgba(255, 150, 85, 0.15) !important;
}

.text-pink {
    color: #ff9655 !important;
}

.bg-pale-aqua {
    background-color: rgba(255, 178, 123, 0.15) !important;
}

.text-aqua {
    color: #ffb27b !important;
}

/* Custom Soft/Light Badges - User Requested Vibrant Colors (Not Orange Override) */
.bg-light-success {
    background-color: rgba(40, 167, 69, 0.25) !important;
}

.text-success {
    color: #28a745 !important;
}

.bg-light-info {
    background-color: rgba(23, 162, 184, 0.25) !important;
}

.text-info {
    color: #17a2b8 !important;
}

.bg-light-danger {
    background-color: rgba(220, 53, 69, 0.25) !important;
}

.text-danger {
    color: #dc3545 !important;
}

.bg-light-dark {
    background-color: rgba(52, 58, 64, 0.25) !important;
}

.text-dark {
    color: #343a40 !important;
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.25) !important;
}

.text-warning {
    color: #d39e00 !important;
}

.bg-light-secondary {
    background-color: rgba(108, 117, 125, 0.25) !important;
}

.text-secondary {
    color: #6c757d !important;
}