/* Livingwell Care Limited - Bootstrap 5 Custom Theme */
:root {
    /* Primary Colors - Based on the blue header and accents */
    --bs-primary: #0C486C;
    --bs-primary-rgb: 12, 72, 108;
    --bs-primary-text-emphasis: #1a3a48;
    --bs-primary-bg-subtle: #e6f0f5;
    --bs-primary-border-subtle: #b8d4e0;
    /* Secondary Colors - Lighter blue for secondary elements */
    --bs-secondary: #4a7c95;
    --bs-secondary-rgb: 74, 124, 149;
    --bs-secondary-text-emphasis: #2e4d5e;
    --bs-secondary-bg-subtle: #e9f2f6;
    --bs-secondary-border-subtle: #c2dce6;
    /* Success - Keep default green but adjust to complement */
    --bs-success: #198754;
    --bs-success-rgb: 25, 135, 84;
    --bs-success-text-emphasis: #0f5132;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-success-border-subtle: #a3cfbb;
    /* Info - Lighter blue to match theme */
    --bs-info: #6bb6d6;
    --bs-info-rgb: 107, 182, 214;
    --bs-info-text-emphasis: #2e5c7a;
    --bs-info-bg-subtle: #e8f4f8;
    --bs-info-border-subtle: #c5e2f0;
    /* Warning - Warm orange to complement blues */
    --bs-warning: #fd7e14;
    --bs-warning-rgb: 253, 126, 20;
    --bs-warning-text-emphasis: #995d0d;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-warning-border-subtle: #ffecb5;
    /* Danger - Standard red */
    --bs-danger: #dc3545;
    --bs-danger-rgb: 220, 53, 69;
    --bs-danger-text-emphasis: #842029;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-danger-border-subtle: #f1aeb5;
    /* Light and Dark */
    --bs-light: #f8f9fa;
    --bs-light-rgb: 248, 249, 250;
    --bs-light-text-emphasis: #495057;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark: #212529;
    --bs-dark-rgb: 33, 37, 41;
    --bs-dark-text-emphasis: #495057;
    --bs-dark-bg-subtle: #ced4da;
    --bs-dark-border-subtle: #adb5bd;
    /* Body and Text */
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    /* Emphasis Colors */
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    /* Border and Divider */
    --bs-border-color: #cccccc;
    --bs-border-width: 2px;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    /* Links */
    --bs-link-color: #2c5f7a;
    --bs-link-color-rgb: 44, 95, 122;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #1a3a48;
    --bs-link-hover-color-rgb: 26, 58, 72;
    /* Focus */
    --bs-focus-ring-color: rgba(44, 95, 122, 0.25);
    --bs-focus-ring-opacity: 0.25;
    /* Form Controls */
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
    /* Navigation and Header Colors (Custom) */
    --livingwell-header-bg: #2c5f7a;
    --livingwell-header-text: #ffffff;
    --livingwell-nav-hover: rgba(255, 255, 255, 0.1);
    /* Card and Section Backgrounds */
    --livingwell-card-bg: #ffffff;
    --livingwell-section-bg: #f8f9fa;
    --livingwell-accent-bg: #e6f0f5;
    /* Custom Gradients */
    --livingwell-gradient-primary: linear-gradient(135deg, #2c5f7a 0%, #4a7c95 100%);
    --livingwell-gradient-light: linear-gradient(135deg, #e6f0f5 0%, #ffffff 100%);
}

/* Additional utility classes for the theme */
.bg-livingwell-primary {
    background-color: var(--bs-primary) !important;
}

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

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

.border-livingwell-primary {
    border-color: var(--bs-primary) !important;
}

/* Custom button variant */
.btn-livingwell {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2c5f7a;
    --bs-btn-border-color: #2c5f7a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1a3a48;
    --bs-btn-hover-border-color: #1a3a48;
    --bs-btn-focus-shadow-rgb: 44, 95, 122;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1a3a48;
    --bs-btn-active-border-color: #1a3a48;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #2c5f7a;
    --bs-btn-disabled-border-color: #2c5f7a;
}

/* Navbar styling to match the header */
.navbar-livingwell {
    background-color: var(--livingwell-header-bg) !important;
}

    .navbar-livingwell .navbar-nav .nav-link {
        color: var(--livingwell-header-text) !important;
    }

        .navbar-livingwell .navbar-nav .nav-link:hover {
            background-color: var(--livingwell-nav-hover);
            border-radius: 4px;
        }

/* Card enhancements */
.card-livingwell {
    border: 1px solid var(--bs-primary-border-subtle);
    box-shadow: 0 2px 4px rgba(44, 95, 122, 0.1);
}

    .card-livingwell .card-header {
        background-color: var(--bs-primary-bg-subtle);
        border-bottom-color: var(--bs-primary-border-subtle);
        color: var(--bs-primary-text-emphasis);
    }
