﻿
/* UBL Theme Styles */
.ubl-theme {
    --ubl-primary: #4caf50;
    --ubl-secondary: #66bb6a;
    --ubl-accent: #81c784;
    --ubl-bg: #f1f8e9;
    --ubl-text: #1b5e20;
}

    /* UBL Header and Navigation */
    .ubl-theme #lcfappheader,
    .ubl-theme #lcfappfooter {
        background-color: var(--ubl-primary) !important;
    }

    .ubl-theme .bg-blue {
        background-color: var(--ubl-primary) !important;
        color: white !important;
    }

    .ubl-theme h6.bk-blue {
        background-color: var(--ubl-primary) !important;
        color: white !important;
    }

    /* UBL Buttons */
    .ubl-theme .mud-button-filled-primary {
        background-color: var(--ubl-primary) !important;
    }

        .ubl-theme .mud-button-filled-primary:hover {
            background-color: var(--ubl-secondary) !important;
        }

    /* UBL Sliders */
    .ubl-theme .mud-slider-input {
        background-color: var(--ubl-primary) !important;
    }

    .ubl-theme #commissionSlider::-webkit-slider-thumb,
    .ubl-theme #purchasePriceSlider::-webkit-slider-thumb {
        background-color: var(--ubl-primary) !important;
    }

    /* UBL Expansion Panels */
    .ubl-theme .mud-expand-panel .mud-expand-panel-header {
        background-color: var(--ubl-primary) !important;
        color: white !important;
    }

    /* UBL Primary Color Override */
    .ubl-theme :root {
        --mud-palette-primary-rgb: 76, 175, 80 !important;
    }

    /* UBL Radio Buttons */
    .ubl-theme .mud-radio-button {
        color: var(--ubl-primary) !important;
    }

    /* UBL Switch */
    .ubl-theme .custom-switch {
        --mud-switch-color: var(--ubl-primary) !important;
    }

    .ubl-theme .custom-switch-color .mud-switch-track {
        background-color: var(--ubl-primary) !important;
    }

    /* UBL Cards and Shadows */
    .ubl-theme .lcf-box-shadow {
        box-shadow: 3px 3px 15px 0px rgba(76, 175, 80, 0.2) !important;
    }

    .ubl-theme .mud-card {
        box-shadow: 3px 3px 15px 0px rgba(76, 175, 80, 0.2) !important;
    }

    /* UBL Specific Elements */
    .ubl-theme h6.bk-lightgreen {
        background-color: var(--ubl-secondary) !important;
        color: white !important;
    }

    .ubl-theme .bg-lightgreen {
        background-color: var(--ubl-secondary) !important;
    }

    /* UBL Logo - different styling for loan mode */
    .ubl-theme #lcf-logo {
        filter: hue-rotate(25deg) saturate(1.2);
    }

    /* UBL Table Headers */
    .ubl-theme .offer-table thead.mud-table-head {
        background-color: rgba(76, 175, 80, 0.1) !important;
    }

    /* UBL Loan Offer Specific Styling */
    .ubl-theme .loan-offer-badge {
        background-color: var(--ubl-primary);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: bold;
    }

    .ubl-theme .amortization-schedule {
        border: 2px solid var(--ubl-primary);
        border-radius: 8px;
        background-color: var(--ubl-bg);
    }


.rlt-theme {
    --rlt-primary: #f44336;
    --rlt-secondary: #ef5350;
    --rlt-accent: #e57373;
    --rlt-bg: #ffebee;
    --rlt-text: #b71C1C;
}