/* Dynamic Color Scheme - Generated from Config */

:root {
    --main: 220, 100%, 50%;
    --secondary: 5ada26, %, %;
}

/* Primary Color - Main Actions */
.btn--base,
.btn-primary,
.nexus-btn-primary,
.bg--base,
.bg-primary,
.badge--base,
.text--base,
.text-primary {
    background: hsl(220, 100%, 50%) !important;
    border-color: hsl(220, 100%, 50%) !important;
}

.btn--base:hover,
.btn-primary:hover,
.nexus-btn-primary:hover {
    filter: brightness(1.1);
}

.text--base,
.text-primary {
    color: hsl(220, 100%, 50%) !important;
}

/* Secondary Color - Accents */
.btn--secondary,
.btn-secondary,
.bg--secondary,
.bg-secondary {
    background: hsl(5ada26, %, %) !important;
    border-color: hsl(5ada26, %, %) !important;
}

.text--secondary,
.text-secondary {
    color: hsl(5ada26, %, %) !important;
}

/* Gradient Backgrounds */
.gradient-bg-main {
    background: linear-gradient(135deg, hsl(220, 100%, 50%), hsl(5ada26, %, %)) !important;
}

.gradient-bg-main-reversed {
    background: linear-gradient(135deg, hsl(5ada26, %, %), hsl(220, 100%, 50%)) !important;
}

/* Gradient Text */
.gradient-text-main {
    background: linear-gradient(135deg, hsl(220, 100%, 50%), hsl(5ada26, %, %));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Effects */
a:hover.text--base,
a:hover.text-primary {
    filter: brightness(1.2);
}

/* Border Accents */
.border--base,
.border-primary {
    border-color: hsl(220, 100%, 50%) !important;
}

.border--secondary,
.border-secondary {
    border-color: hsl(5ada26, %, %) !important;
}

/* Links */
a,
.link {
    color: hsl(220, 100%, 50%);
}

a:hover,
.link:hover {
    color: hsl(5ada26, %, %);
}

/* Focus States */
:focus-visible,
input:focus,
textarea:focus,
select:focus {
    outline-color: hsl(220, 100%, 50%) !important;
    box-shadow: 0 0 0 3px rgba(220, 100, 50, 0.1) !important;
}

/* Progress Bars */
.progress-bar {
    background: linear-gradient(90deg, hsl(220, 100%, 50%), hsl(5ada26, %, %)) !important;
}

/* Shadows */
.shadow--base {
    box-shadow: 0 4px 20px rgba(220, 100, 50, 0.2);
}

.shadow--secondary {
    box-shadow: 0 4px 20px rgba(5ada26, 0.2);
}

/* Overlay Backgrounds */
.overlay--base {
    background: rgba(220, 100, 50, 0.1);
}

.overlay--secondary {
    background: rgba(5ada26, 0.1);
}

/* Badge Colors */
.badge--base {
    background: hsl(220, 100%, 50%) !important;
    color: white !important;
}

.badge--secondary {
    background: hsl(5ada26, %, %) !important;
    color: white !important;
}

/* Success, Warning, Error - Remain Standard */
.bg-success,
.btn-success {
    background-color: #10b981 !important;
}

.bg-warning,
.btn-warning {
    background-color: #f59e0b !important;
}

.bg-danger,
.btn-danger {
    background-color: #ef4444 !important;
}

.text-success {
    color: #10b981 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-danger {
    color: #ef4444 !important;
}

/* Accent Line */
.line--base {
    background: linear-gradient(90deg, hsl(220, 100%, 50%), hsl(5ada26, %, %)) !important;
}

/* Animation Delays for Color */
@keyframes colorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 100, 50, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 100, 50, 0);
    }
}

.pulse--base {
    animation: colorPulse 2s infinite;
}

/* Print Styles */
@media print {
    .btn--base,
    .bg--base,
    .text--base {
        background-color: #333 !important;
        color: #fff !important;
    }
}
