<?php
    $brandPrimary = $settings->brand_primary_color ?? '#f7931a';
    $brandSecondary = $settings->brand_secondary_color ?? '#155c9d';
    $brandAccent = $settings->brand_accent_color ?? '#0f766e';
    $brandDark = $settings->brand_dark_color ?? '#102033';
    $brandLight = $settings->brand_light_color ?? '#fff7ed';
    $brandSuccess = $settings->brand_success_color ?? '#16a34a';
    $brandWarning = $settings->brand_warning_color ?? '#f59e0b';
    $brandDanger = $settings->brand_danger_color ?? '#dc2626';
?>
<style>
    :root {
        --brand-primary: <?php echo e($brandPrimary); ?>;
        --brand-secondary: <?php echo e($brandSecondary); ?>;
        --brand-accent: <?php echo e($brandAccent); ?>;
        --brand-dark: <?php echo e($brandDark); ?>;
        --brand-light: <?php echo e($brandLight); ?>;
        --brand-success: <?php echo e($brandSuccess); ?>;
        --brand-warning: <?php echo e($brandWarning); ?>;
        --brand-danger: <?php echo e($brandDanger); ?>;
        --brand-gradient: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary) 56%, var(--brand-accent));
    }

    a,
    .text-primary,
    .text-primary-500,
    .text-primary-600,
    .hover\:text-primary-600:hover,
    .hover\:text-primary-700:hover {
        color: var(--brand-primary) !important;
    }

    .bg-primary,
    .bg-primary-500,
    .bg-primary-600,
    .bg-primary-700,
    .hover\:bg-primary-600:hover,
    .hover\:bg-primary-700:hover,
    .btn-primary,
    .badge-primary,
    .page-item.active .page-link,
    .nav-pills .nav-link.active,
    .send-email-btn {
        background: var(--brand-primary) !important;
        border-color: var(--brand-primary) !important;
        color: #fff !important;
    }

    .bg-primary-50,
    .bg-primary-100,
    .hover\:bg-primary-50:hover {
        background-color: var(--brand-light) !important;
    }

    .border-primary,
    .border-primary-500,
    .border-primary-600,
    .hover\:border-primary-600:hover,
    .form-control:focus {
        border-color: var(--brand-primary) !important;
    }

    .btn-primary:hover,
    .page-link:hover {
        filter: brightness(.94);
    }

    .btn-success,
    .badge-success,
    .bg-success {
        background: var(--brand-success) !important;
        border-color: var(--brand-success) !important;
    }

    .btn-warning,
    .badge-warning,
    .bg-warning {
        background: var(--brand-warning) !important;
        border-color: var(--brand-warning) !important;
    }

    .btn-danger,
    .badge-danger,
    .bg-danger {
        background: var(--brand-danger) !important;
        border-color: var(--brand-danger) !important;
    }

    .brand-gradient,
    .primary-gradient,
    .bg-primary-gradient {
        background: var(--brand-gradient) !important;
    }

    .form-control:focus {
        box-shadow: 0 0 0 .18rem rgba(15, 23, 42, .12) !important;
    }
</style>
<?php /**PATH /home/kdcwrbdi/public_html/resources/views/partials/brand-colors-css.blade.php ENDPATH**/ ?>