﻿/**
 * Haleon Brand CSS - Color Overrides
 * Based on heloon.css Brand Guidelines
 * Only updates colors for: Typography, Sidebar/Menu, Navbar/Header, Toaster
 */

/* ============================================
   CSS VARIABLES - HALEON BRAND COLORS
   ============================================ */
:root {
    /* Primary Colors */
    --haleon-green: #30EA03;
    --haleon-green-dark: #28C003;
    --haleon-green-light: #E8FCE5;
    --haleon-green-hover: #2AD603;
    --haleon-white: #FFFFFF;
    --haleon-black: #000000;
    
    /* Gray Scale */
    --haleon-gray-50: #cfd4d4;
    --haleon-gray-100: #E8EAEB;
    --haleon-gray-200: #cfd4d4;
    --haleon-gray-300: #B8BCBE;
    --haleon-gray-400: #8D979D;
    --haleon-gray-500: #6B7479;
    --haleon-gray-600: #4D575D;
    --haleon-gray-700: #333F48;
    --haleon-gray-800: #262F35;
    --haleon-gray-900: #1A2024;
    
    /* Semantic Colors */
    --haleon-success: #30EA03;
    --haleon-success-bg: #E8FCE5;
    --haleon-error: #DC2626;
    --haleon-error-bg: #FEE2E2;
    --haleon-warning: #F59E0B;
    --haleon-warning-bg: #FEF3C7;
    --haleon-info: #3B82F6;
    --haleon-info-bg: #DBEAFE;
}

/* ============================================
   TYPOGRAPHY - Color Updates Only
   ============================================ */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #1A2024;
}

a {
    color: #30EA03;
}

a:hover {
    color: #28C003;
}
h1 {
    font-size: 25px !important;
}
.label-primary {
    color: var(--haleon-green);
}
/* ============================================
   SIDEBAR / MENU - Color Updates Only
   ============================================ */
.layout-menu,
.menu-vertical,
.bg-menu-theme {
    background-color: #FFFFFF;
    border-right-color: #cfd4d4;
}

.menu .app-brand.demo {
    border-block-end: 3px solid #30EA03 !important;
}
.layout-menu .app-brand {
    border-bottom-color: #30EA03;
}

.menu-link {
    color: #333F48;
    text-decoration: none !important;
}

.menu-link:hover
{
    text-decoration: none !important;
}
   

.layout-menu .menu-link:hover {
   background-color: var(--bs-primary);
    color: var(--haleon-green-dark) !important;
    text-decoration: none !important;
}

.menu-item.active > .menu-link {
    background-color: #30EA03;
    color: #FFFFFF;
}

.menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: #30EA03;
    color: #FFFFFF;
}

.menu-vertical .menu-item:not(.active):not(.open) .menu-link:hover {
    text-decoration: underline !important;
}

.menu-vertical .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle) {
    background-color: #30EA03;
    color: #FFFFFF;
}

/* ============================================
   NAVBAR / HEADER - Color Updates Only
   ============================================ */
.layout-navbar {
    background-color: #FFFFFF;
    border-bottom-color: #30EA03;
}

.layout-navbar.navbar-detached {
    border-block-end-color: #30EA03;
}

.layout-navbar .nav-link {
    color: #333F48;
}

.layout-navbar .nav-link:hover {
    color: #30EA03;
}

.layout-navbar .dropdown-item:hover {
    background-color: #E8FCE5;
    color: #28C003;
}

.navbar-nav .nav-link {
    color: #333F48;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #30EA03;
}



/* ============================================
   FONT STYLES - Global Typography
   ============================================ */
html {
    font-family: 'Verdana', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333F48;
}

body {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Verdana', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
}

p, span, div, label {
    font-family: 'Verdana', sans-serif;
}

/* ============================================
   FORM CONTROLS - Color Updates Only
   ============================================ */
/* Text Inputs */
.form-control {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
    border-color: #cfd4d4;
    background-color: #FFFFFF;
}

.form-control:focus {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.form-control::placeholder {
    color: #8D979D;
}

    .form-control:disabled,
    .form-control[readonly] {
        color: #909999;
    }

/* Select Dropdowns */
.form-select {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
    border-color: #cfd4d4;
    background-color: #FFFFFF;
}

.form-select:focus {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

    .form-select:disabled {
/*        background-color: #cfd4d4;*/
        color: lightgray;
    }
.form-control:disabled {
    background-color: #cfd4d4;
    color: #000000;
}

/* Checkboxes */
.form-check-input {
    border-color: #cfd4d4;
    background-color: #FFFFFF;
}

.form-check-input:checked {
    background-color: #30EA03;
    border-color: #30EA03;
}

.form-check-input:focus {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.form-check-input:checked[type="checkbox"] {
    background-color: #30EA03;
    border-color: #30EA03;
}

.form-check-label {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
}

/* Radio Buttons */
.form-check-input[type="radio"]:checked {
    background-color: #30EA03;
    border-color: #30EA03;
}

/* Switch */
.form-switch .form-check-input:checked {
    background-color: #30EA03;
    border-color: #30EA03;
}

/* Form Labels */
.form-label {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
    font-weight: 500;
}

/* Input Groups */
.input-group-text {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
    background-color: #cfd4d4;
    border-color: #cfd4d4;
}

/* Textarea */
textarea.form-control {
    font-family: 'Verdana', sans-serif;
    color: #333F48;
}

/* Validation States */
.form-control.is-valid {
    border-color: #30EA03;
}

.form-control.is-valid:focus {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.valid-feedback {
    color: #28C003;
}

/* Select2 (if used) */
.select2-container--default .select2-selection--single {
    border-color: #cfd4d4;
}

.select2-container--default .select2-selection--single:focus {
    border-color: #30EA03;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #30EA03;
}

.select2-dropdown {
    border-color: #D0D3D4;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #30EA03;
    color: #1A2024;
}
.layout-navbar.navbar-detached {
    border-radius: .375rem;
    box-shadow: var(--bs-box-shadow-sm);
    margin: 16px 16px 0px 16px !important;
    width: auto !important;
    border-block-end: 3px solid #30EA03;
}


/* ============================================
   DROPDOWN - Color Updates
   ============================================ */
/* Bootstrap Dropdown */
.dropdown-menu {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
    color: #333F48;
}

.dropdown-item {
    color: #333F48;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #E8FCE5;
    color: #28C003;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #30EA03;
    color: #1A2024;
}

.dropdown-divider {
    border-color: #D0D3D4;
}

.dropdown-header {
    color: #6B7479;
}

/* Form Select Dropdown */
.form-select option {
    background-color: #FFFFFF;
    color: #333F48;
}

.form-select option:hover {
    background-color: #E8FCE5;
    color: #28C003;
}

.form-select option:checked,
.form-select option:focus {
    background-color: #30EA03;
    color: #1A2024;
}

/* Select2 Dropdown */
.select2-container--default .select2-selection--single {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
    color: #333F48;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333F48;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8D979D;
}

.select2-container--default .select2-selection--multiple {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.select2-dropdown {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
}

.select2-container--default .select2-results__option {
    color: #333F48;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option:hover {
    background-color: #E8FCE5;
    color: #28C003;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #30EA03;
    color: #1A2024;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #D0D3D4;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: #30EA03;
}

/* Bootstrap Select (if used) */
.bootstrap-select .dropdown-toggle {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
    color: #333F48;
}

.bootstrap-select .dropdown-toggle:focus {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.bootstrap-select .dropdown-menu .dropdown-item.active,
.bootstrap-select .dropdown-menu .dropdown-item:active {
    background-color: #30EA03;
    color: #1A2024;
}

.bootstrap-select .dropdown-menu .dropdown-item.selected {
    background-color: #E8FCE5;
    color: #28C003;
}

/* Choices.js (if used) */
.choices__inner {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
}

.choices__input {
    color: #333F48;
}

.choices__list--dropdown {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #E8FCE5;
    color: #28C003;
}

.is-focused .choices__inner,
.is-open .choices__inner {
    border-color: #30EA03;
}

/* Tom Select (if used) */
.ts-control {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
    color: #333F48;
}

.ts-control:focus,
.ts-wrapper.focus .ts-control {
    border-color: #30EA03;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25);
}

.ts-dropdown {
    background-color: #FFFFFF;
    border-color: #D0D3D4;
}

.ts-dropdown .option {
    color: #333F48;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #E8FCE5;
    color: #28C003;
}

.ts-dropdown .option.selected {
    background-color: #30EA03;
    color: #1A2024;
}


/* ============================================
   SELECT2 - Override with !important
   ============================================ */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-color: #D0D3D4;
    background-color: #FFFFFF !important;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25) !important;
}

.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-results__option[data-selected=true] {
    background-color: #30EA03 !important;
    color: #1A2024 !important;
}

.select2-container--default .select2-results__option {
    color: #333F48 !important;
    background-color: #FFFFFF !important;
}

.select2-container--default .select2-results__option:hover {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.select2-dropdown {
    border-color: #D0D3D4 !important;
    background-color: #FFFFFF !important;
}

.select2-search--dropdown .select2-search__field {
    border-color: #D0D3D4 !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #30EA03 !important;
    outline-color: #30EA03 !important;
}

/* ============================================
   FINAL BUTTON STYLES - Match Image Design
   ============================================ */

/* Secondary Button - Light gray background with border (Import Users style) */
.btn-secondary,
.btn-label-secondary,
.btn-outline-secondary {
    background-color: #D0D3D4 !important;
    border: 1px solid #D0D3D4 !important;
    color: #333F48 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-label-secondary:hover,
.btn-label-secondary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: #E8EAEB !important;
    border-color: #B8BCBE !important;
    color: #333F48 !important;
}

/* Primary Button - Solid green (Add New User style) */
.btn-primary,
.btn-success {
    background-color: #30EA03 !important;
    border: 1px solid #30EA03 !important;
    color: #1A2024 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #28C003 !important;
    border-color: #28C003 !important;
    color: #1A2024 !important;
}

/* Danger Button - Red */
.btn-danger {
    background-color: #DC2626 !important;
    border: 1px solid #DC2626 !important;
    color: #FFFFFF !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #B91C1C !important;
    border-color: #B91C1C !important;
    color: #FFFFFF !important;
}

/* Warning Button - Orange */
.btn-warning {
    background-color: #F59E0B !important;
    border: 1px solid #F59E0B !important;
    color: #1A2024 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: #D97706 !important;
    border-color: #D97706 !important;
    color: #FFFFFF !important;
}

/* Info Button - Blue */
.btn-info {
    background-color: #3B82F6 !important;
    border: 1px solid #3B82F6 !important;
    color: #FFFFFF !important;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

/* Outline Primary - Green border */
.btn-outline-primary {
    background-color: transparent !important;
    border: 1px solid #30EA03 !important;
    color: #30EA03 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #E8FCE5 !important;
    border-color: #30EA03 !important;
    color: #28C003 !important;
}

/* Outline Danger - Red border */
.btn-outline-danger {
    background-color: transparent !important;
    border: 1px solid #DC2626 !important;
    color: #DC2626 !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background-color: #FEE2E2 !important;
    border-color: #DC2626 !important;
    color: #B91C1C !important;
}

/* Label Primary - Light green background */
.btn-label-primary {
    background-color: #E8FCE5 !important;
    border: 1px solid #E8FCE5 !important;
    color: #28C003 !important;
}

.btn-label-primary:hover,
.btn-label-primary:focus {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}

/* Label Danger - Light red background */
.btn-label-danger {
    background-color: #FEE2E2 !important;
    border: 1px solid #FEE2E2 !important;
    color: #DC2626 !important;
}

.btn-label-danger:hover,
.btn-label-danger:focus {
    background-color: #DC2626 !important;
    border-color: #DC2626 !important;
    color: #FFFFFF !important;
}


/* ============================================
   BUTTON STYLES - Match Image Design (Final)
   ============================================ */

/* btn-link with btn-gray - Gray text buttons (Download Template, Import Users) */
.btn-link.btn-gray,
.btn.btn-link.btn-gray,
.btn-link.text-body.btn-gray {
    background-color: #f5f7f9 !important;
    border-color: #f5f7f9 !important;
    color: #2f3748 !important;
    font-family: "Inter var", Inter, sans-serif !important
}

    .btn-link.btn-gray:hover,
    .btn-link.btn-gray:focus,
    .btn.btn-link.btn-gray:hover,
    .btn.btn-link.btn-gray:focus {
        background-color: #edf0f4 !important;
        border-color: #edf0f4 !important;
        color: #2f3748 !important;
    }

/* btn-label-primary - Light green background (Add New User) */
.btn-label-primary,
.btn.btn-label-primary,
.btn.text-body.btn-label-primary {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}

    .btn-label-primary:hover,
    .btn-label-primary:focus,
    .btn.btn-label-primary:hover,
    .btn.btn-label-primary:focus {
        background-color: #E8FCE5 !important;
        border: 1px solid #E8FCE5 !important;
        color: #28C003 !important;
    }

/* btn-gray standalone */
.btn-gray {
    background-color: #f5f7f9 !important;
    border-color: #f5f7f9 !important;
    color: #2f3748 !important;
    font-family: "Inter var", Inter, sans-serif !important;
}

    .btn-gray:hover,
    .btn-gray:focus {
        background-color: #edf0f4 !important;
        border-color: #edf0f4 !important;
        color: #2f3748 !important;
    }
.table > thead {
    border-block-end: 1px solid #30EA03;
}
th {
    font-weight: 500 !important;
}
table.dataTable thead th {
    font-weight: 600 !important;
}
.my-3 {
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}
.ri-lg{
    font-size: 20px !important;
}

.breadcrumb {
    --bs-breadcrumb-color: var(--bs-body-color)
}

.breadcrumb-item {
    line-height: 1.5rem;
  color: var(--haleon-green);
}

    .breadcrumb-item a {
        color: var(--haleon-green);
    }

        .breadcrumb-item a:hover, .breadcrumb-item a:focus {
            color: var(--haleon-green);
            text-decoration: underline;
            text-decoration-color: var(--haleon-green);
        }

    .breadcrumb-item .icon-base.breadcrumb-icon {
        color: var(--bs-breadcrumb-divider-color);
        margin-inline-start: .5rem
    }

    .breadcrumb-item.active a, .breadcrumb-item.active a:hover, .breadcrumb-item.active a:focus, .breadcrumb-item.active a:active {
        color: inherit
    }
/*
.breadcrumb-custom-icon .breadcrumb-item + .breadcrumb-item::before {
    content: none !important
}

:dir(rtl) .breadcrumb-item + .breadcrumb-item {
    padding-inline: .5rem 0
}


:dir(rtl) .breadcrumb-item .icon-base.breadcrumb-icon {
    transform: scaleX(-1)
}
*/


/* ============================================
   FORM CONTROLS - Focus Colors Fix
   ============================================ */

/* Text Inputs Focus */
.form-control:focus,
.form-control:active,
input.form-control:focus,
input.form-control:active,
textarea.form-control:focus,
textarea.form-control:active {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25) !important;
    outline: none !important;
}

/* Select Focus */
.form-select:focus,
.form-select:active,
select.form-select:focus,
select.form-select:active {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25) !important;
    outline: none !important;
}

/* Input Group Focus */
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: #30EA03 !important;
}

.input-group .form-control:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25) !important;
}

/* Password Toggle Icon Position Fix */
.input-group .input-group-text,
.form-password-toggle .input-group-text {
    background-color: transparent !important;
    border-left: none !important;
    cursor: pointer;
}

.form-password-toggle .form-control {
    border-right: none !important;
}

.input-group > .form-control:focus ~ .input-group-text {
    border-color: #30EA03 !important;
}

/* Checkbox checked state */
.form-check-input:checked {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
}

.form-check-input:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.2rem rgba(48, 234, 3, 0.25) !important;
}

/* Switch checked state */
.form-switch .form-check-input:checked {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
}

/* Radio checked state */
.form-check-input[type="radio"]:checked {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
}

/* Form floating label focus */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
    color: #30EA03 !important;
}

/* Bootstrap 5 form-control focus override */
.form-control:focus,
.form-select:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 234, 3, 0.25) !important;
}

/* Input with icon - fix positioning */
.input-group .btn,
.input-group .input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Password field icon alignment */
.input-group-merge .input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    background: transparent !important;
    border: none !important;
}

.input-group-merge .form-control {
    padding-right: 2.5rem;
}


/* ============================================
   BTN-INFO - Changed to Primary Green Color
   ============================================ */
.btn-info {
    background-color: #5CE0CA !important;
    border-color: #5CE0CA !important;
    color: #1A2024 !important;
}

    .btn-info:hover,
    .btn-info:focus,
    .btn-info:active {
        background-color: #28C003 !important;
        border-color: #28C003 !important;
        color: #1A2024 !important;
    }

    .btn-info:disabled,
    .btn-info.disabled {
        background-color: #8D979D !important;
        border-color: #8D979D !important;
        color: #FFFFFF !important;
    }

/* Outline Info - Green */
.btn-outline-info {
    background-color: transparent !important;
    border-color: #5CE0CA !important;
    color: #5CE0CA !important;
}

    .btn-outline-info:hover,
    .btn-outline-info:focus,
    .btn-outline-info:active {
        background-color: #E8FCE5 !important;
        border-color: #5CE0CA !important;
        color: #28C003 !important;
    }

/* Label Info - Light Green */
.btn-label-info {
    background-color: #E8FCE5 !important;
    border-color: #E8FCE5 !important;
    color: #28C003 !important;
}

    .btn-label-info:hover,
    .btn-label-info:focus {
        background-color: #5CE0CA !important;
        border-color: #5CE0CA !important;
        color: #1A2024 !important;
    }


/* ============================================
   HALEON BRAND COLORS - Global Override
   ============================================ */
:root {
    --primary-color: #30EA03;
    --secondary-color: #000000;
    --primary-gradient: none;
    --additional-color-1: #333F48;
    --additional-color-2: #8D979D;
    --additional-color-3: #D0D3D4;
    --additional-color-4: #FF29FF;
    --additional-color-5: #5ce0ca;
    --additional-color-6: #ad7bff;
    --additional-color-7: #DCFF00;
    /* Bootstrap Variable Overrides */
    --bs-primary: #30EA03;
    --bs-primary-rgb: 48, 234, 3;
    --bs-secondary: #000000;
    --bs-secondary-rgb: 0, 0, 0;
    --bs-success: #30EA03;
    --bs-success-rgb: 48, 234, 3;
    --bs-info: #5CE0CA;
    --bs-info-rgb: 92, 224, 202;
    --bs-link-color: #30EA03;
    --bs-link-hover-color: #28C003;
    --admin-primary-color: #407cff;
    --admin-secondary-color: #60cefe;
    --admin-additional-color-1: #407cff;
    --admin-additional-color-2: #d8d8d8;
    --admin-additional-color-3: #87d300;
    --admin-additional-color-4: #9013fe;
}

/* ============================================
   ALL PRIMARY ELEMENTS - Use #30EA03
   ============================================ */

/* Text Colors */
.text-primary {
    color: #30EA03 !important;
}

.text-success {
    color: #30EA03 !important;
}

.text-info {
    color: #30EA03 !important;
}

/* Background Colors */
.bg-primary {
    background-color: #30EA03 !important;
}

.bg-success {
    background-color: #30EA03 !important;
}

.bg-info {
    background-color: #30EA03 !important;
}

/* Border Colors */
.border-primary {
    border-color: #30EA03 !important;
}

.border-success {
    border-color: #30EA03 !important;
}

.border-info {
    border-color: #30EA03 !important;
}

/* All Primary Buttons */
.btn-primary,
.btn-success,
.btn-info {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #28C003 !important;
    border-color: #28C003 !important;
    color: #1A2024 !important;
}

/* All Outline Primary Buttons */
.btn-outline-primary,
.btn-outline-success,
.btn-outline-info {
    background-color: transparent !important;
    border-color: #30EA03 !important;
    color: #30EA03 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: #E8FCE5 !important;
    border-color: #30EA03 !important;
    color: #28C003 !important;
}

/* All Label Primary Buttons */
.btn-label-primary,
.btn-label-success,
.btn-label-info {
    background-color: #E8FCE5 !important;
    border-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.btn-label-primary:hover,
.btn-label-primary:focus,
.btn-label-success:hover,
.btn-label-success:focus {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}
.btn-label-info:hover,
.btn-label-info:focus {
    background-color: #5CE0CA !important;
    border-color: #5CE0CA !important;
    color: #28C003 !important;
}
    /* Badges */
    .badge.bg-primary,
    .badge.bg-success {
        background-color: #30EA03 !important;
        color: #1A2024 !important;
    }
.badge.bg-info {
    background-color: #5CE0CA !important;
    color: black;
}
.badge.bg-label-primary,
.badge.bg-label-success,
.badge.bg-label-info {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

/* Alerts */
.alert-primary,
.alert-success,
.alert-info {
    background-color: #E8FCE5 !important;
    border-color: #30EA03 !important;
    color: #28C003 !important;
}

/* Progress Bars */
.progress-bar,
.bg-primary.progress-bar,
.bg-success.progress-bar,
.bg-info.progress-bar {
    background-color: #30EA03 !important;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}

.page-link:hover {
    background-color: #E8FCE5 !important;
    border-color: #30EA03 !important;
    color: #28C003 !important;
}

/* Nav Pills/Tabs */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #30EA03 !important;
    color: #1A2024 !important;
}

.nav-link:hover,
.nav-link:focus {
    color: #30EA03 !important;
}

/* List Group */
.list-group-item.active {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
    color: #1A2024 !important;
}

/* Spinners */
.spinner-border.text-primary,
.spinner-border.text-success,
.spinner-border.text-info,
.spinner-grow.text-primary,
.spinner-grow.text-success,
.spinner-grow.text-info {
    color: #30EA03 !important;
}

/* Links */
a {
    color: #30EA03;
}

a:hover {
    color: #28C003;
}

/* Form Focus States */
.form-control:focus,
.form-select:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 234, 3, 0.25) !important;
}

.form-check-input:checked {
    background-color: #30EA03 !important;
    border-color: #30EA03 !important;
}

.form-check-input:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 234, 3, 0.25) !important;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.accordion-button:focus {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 234, 3, 0.25) !important;
}

/* Cards with primary */
.card.border-primary {
    border-color: #30EA03 !important;
}

.card-header.bg-primary {
    background-color: #30EA03 !important;
    color: #1A2024 !important;
}

/* Tables */
.table-primary {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.table-success {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}

.table-info {
    background-color: #E8FCE5 !important;
    color: #28C003 !important;
}


/* ============================================
   INPUT GROUP - Password Field Fix
   ============================================ */

/* Fix input group to show complete textbox */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

/* Password toggle button fix */
.input-group .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: #FFFFFF;
    border: 1px solid #D0D3D4;
    border-left: none;
}

.input-group .form-control:not(:last-child) {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .input-group-text:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Input group merge style */
.input-group-merge {
    position: relative;
}

.input-group-merge .form-control {
    padding-right: 2.5rem;
    border-radius: 0.375rem !important;
    border: 1px solid #D0D3D4 !important;
}

.input-group-merge .input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    background: transparent !important;
    border: none !important;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Focus state for input group */
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: #30EA03;
}

.input-group-merge:focus-within .form-control {
    border-color: #30EA03 !important;
    box-shadow: 0 0 0 0.25rem rgba(48, 234, 3, 0.25) !important;
}

/* Ensure full width */
.form-control,
.form-select {
    width: 100%;
    box-sizing: border-box;
}

/* Form password toggle specific */
.form-password-toggle {
    position: relative;
}

.form-password-toggle .form-control {
    padding-right: 2.5rem;
}

.form-password-toggle .input-group-text {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #D0D3D4 !important;
    color: #000000 !important;
    margin-block-start: var(--bs-select-multiple-padding-y) !important;
    margin-inline: 0 var(--bs-select-multiple-padding-x) !important;
    padding: 0 16px 0 5px !important;
    border-radius: 4px !important;
}

/* 
============================================
   DATATABLE COLUMN ALIGNMENT
   ============================================ */

/* Left aligned columns (Name, Description, Text fields) */
.dataTable th.text-start,
.dataTable td.text-start {
    text-align: left !important;
}

/* Center aligned columns (Date, Status, Email, Phone, Actions) */
.dataTable th.text-center,
.dataTable td.text-center {
    text-align: center !important;
}

/* Right aligned columns (Price, Amount, Numbers) */
.dataTable th.text-end,
.dataTable td.text-end {
    text-align: right !important;
}

/* DataTable default alignment classes */
.dataTable .dt-center,
.dataTable th.dt-center,
.dataTable td.dt-center {
    text-align: center !important;
}

.dataTable .dt-left,
.dataTable th.dt-left,
.dataTable td.dt-left {
    text-align: left !important;
}

.dataTable .dt-right,
.dataTable th.dt-right,
.dataTable td.dt-right {
    text-align: right !important;
}

/* Ensure header alignment matches body */
#usersTable thead th {
    vertical-align: middle;
}

#usersTable tbody td {
    vertical-align: middle;
}


/* ============================================
   PAGE HEADER - Reduced Spacing
   ============================================ */
/*.haleon-page-header {
    margin-bottom: 0.75rem !important;
}*/

.haleon-page-header .gap-3 {
    gap: 0.5rem !important;
}

.haleon-page-header .haleon-breadcrumb {
    margin-bottom: 0.25rem !important;
}

.haleon-page-header h4 {
    margin-bottom: 0.25rem !important;
}

.haleon-page-header p.text-muted {
    margin-bottom: 0 !important;
}

.haleon-page-header + hr {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
}


/* ============================================
   TABLE COLUMN ALIGNMENT BY FIELD TYPE
   ============================================ */

/* LEFT ALIGNED - Name, Description, Text fields */
.dataTable th.col-name,
.dataTable td.col-name,
.dataTable th.col-desc,
.dataTable td.col-desc,
.dataTable th.col-description,
.dataTable td.col-description,
.dataTable th.col-title,
.dataTable td.col-title,
.dataTable th.col-address,
.dataTable td.col-address,
.dataTable th.col-role,
.dataTable td.col-role,
.dataTable th.col-text,
.dataTable td.col-text,
table th.col-name,
table td.col-name,
table th.col-desc,
table td.col-desc,
table th.col-description,
table td.col-description,
table th.col-title,
table td.col-title,
table th.col-address,
table td.col-address,
table th.col-role,
table td.col-role,
table th.col-text,
table td.col-text {
    text-align: left !important;
}

/* CENTER ALIGNED - Date, Status, Email, Phone, Actions */
.dataTable th.col-date,
.dataTable td.col-date,
.dataTable th.col-status,
.dataTable td.col-status,
.dataTable th.col-email,
.dataTable td.col-email,
.dataTable th.col-phone,
.dataTable td.col-phone,
.dataTable th.col-action,
.dataTable td.col-action,
.dataTable th.col-actions,
.dataTable td.col-actions,
.dataTable th.col-created,
.dataTable td.col-created,
.dataTable th.col-updated,
.dataTable td.col-updated,
.dataTable th.col-type,
.dataTable td.col-type,
.dataTable th.col-code,
.dataTable td.col-code,
table th.col-date,
table td.col-date,
table th.col-status,
table td.col-status,
table th.col-email,
table td.col-email,
table th.col-phone,
table td.col-phone,
table th.col-action,
table td.col-action,
table th.col-actions,
table td.col-actions,
table th.col-created,
table td.col-created,
table th.col-updated,
table td.col-updated,
table th.col-type,
table td.col-type,
table th.col-code,
table td.col-code {
    text-align: center !important;
}

/* RIGHT ALIGNED - Price, Amount, Numbers, Currency */
.dataTable th.col-price,
.dataTable td.col-price,
.dataTable th.col-amount,
.dataTable td.col-amount,
.dataTable th.col-total,
.dataTable td.col-total,
.dataTable th.col-quantity,
.dataTable td.col-quantity,
.dataTable th.col-qty,
.dataTable td.col-qty,
.dataTable th.col-number,
.dataTable td.col-number,
.dataTable th.col-currency,
.dataTable td.col-currency,
.dataTable th.col-cost,
.dataTable td.col-cost,
.dataTable th.col-balance,
.dataTable td.col-balance,
table th.col-price,
table td.col-price,
table th.col-amount,
table td.col-amount,
table th.col-total,
table td.col-total,
table th.col-quantity,
table td.col-quantity,
table th.col-qty,
table td.col-qty,
table th.col-number,
table td.col-number,
table th.col-currency,
table td.col-currency,
table th.col-cost,
table td.col-cost,
table th.col-balance,
table td.col-balance {
    text-align: right !important;
}

/* Ensure vertical alignment for all table cells */
.dataTable th,
.dataTable td,
table.table th,
table.table td {
    vertical-align: middle !important;
}


/* ============================================
   BREADCRUMB RESPONSIVE FIXES
   ============================================ */

/* iPad and tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .haleon-page-header > .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .haleon-page-header .d-flex.flex-wrap.gap-3 {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        width: 100%;
    }
    
    .haleon-page-header .d-flex.flex-wrap.gap-3 .btn {
        flex: 0 0 auto;
    }
}

/* Mobile styles */
@media (max-width: 575.98px) {
    .haleon-page-header {
        padding: 0.5rem 0;
    }
    
    .haleon-page-header .haleon-breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
        margin-bottom: 0.5rem !important;
    }
    
    .haleon-page-header .haleon-breadcrumb .breadcrumb-item {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .haleon-page-header h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .haleon-page-header p.text-muted {
        font-size: 0.85rem;
    }
    
    .haleon-page-header .d-flex.flex-wrap.gap-3 .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .haleon-page-header .haleon-breadcrumb .breadcrumb-item {
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .haleon-page-header h4 {
        font-size: 1rem !important;
    }
    
    .haleon-page-header .d-flex.flex-wrap.gap-3 .btn {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}

/* ============================================
   DATATABLE RESPONSIVE FIXES
   ============================================ */

/* DataTable wrapper responsive */
@media (max-width: 767.98px) {
    /* Stack Show entries and Search on mobile */
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
    
    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter label {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }
    
    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    
    .dataTables_wrapper .dataTables_length select {
        margin: 0 0.25rem;
    }
    
    /* Pagination responsive */
    .dataTables_wrapper .dataTables_paginate {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem;
    }
    
    .dataTables_wrapper .dataTables_info {
        text-align: center !important;
        font-size: 0.85rem;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .dataTables_wrapper .dataTables_length label {
        font-size: 0.85rem;
    }
    
    .dataTables_wrapper .dataTables_filter label {
        font-size: 0.85rem;
    }
    
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.75rem;
    }
}

/* ============================================
   STATUS HIGHLIGHT BADGES
   ============================================ */

/* Pink Status */
.highlight-pink,
.badge-pink,
.status-pink {
    background-color: #FF29FF !important;
    color: #FFFFFF !important;
}

.highlight-pink-light,
.badge-pink-light,
.status-pink-light {
    background-color: rgba(255, 41, 255, 0.15) !important;
    color: #FF29FF !important;
}

/* Teal Status */
.highlight-teal,
.badge-teal,
.status-teal {
    background-color: #5CE0CA !important;
    color: #1A2024 !important;
}

.highlight-teal-light,
.badge-teal-light,
.status-teal-light {
    background-color: rgba(92, 224, 202, 0.15) !important;
    color: #3DBAA6 !important;
}

/* Purple Status */
.highlight-purple,
.badge-purple,
.status-purple {
    background-color: #AD7BFF !important;
    color: #FFFFFF !important;
}

.highlight-purple-light,
.badge-purple-light,
.status-purple-light {
    background-color: rgba(173, 123, 255, 0.15) !important;
    color: #AD7BFF !important;
}

/* Yellow Status */
.highlight-yellow,
.badge-yellow,
.status-yellow {
    background-color: #DCFF00 !important;
    color: #1A2024 !important;
}

.highlight-yellow-light,
.badge-yellow-light,
.status-yellow-light {
    background-color: rgba(220, 255, 0, 0.15) !important;
    color: #9AB300 !important;
}

/* Salmon Status */
.highlight-salmon,
.badge-salmon,
.status-salmon {
    background-color: #FF8782 !important;
    color: #FFFFFF !important;
}

.highlight-salmon-light,
.badge-salmon-light,
.status-salmon-light {
    background-color: rgba(255, 135, 130, 0.15) !important;
    color: #E5635E !important;
}

/* Common badge styling */
.highlight-pink,
.highlight-teal,
.highlight-purple,
.highlight-yellow,
.highlight-salmon,
.highlight-pink-light,
.highlight-teal-light,
.highlight-purple-light,
.highlight-yellow-light,
.highlight-salmon-light {
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}
.alert-warning {
    background: #D0D3D4 !important;
    color: #000000 !important;
    border: #D0D3D4 !important;
}

/* Menu item icon styling */
.menu-icon {
    color: var(--additional-color-2);
    margin-right: 5px;
    font-size: .9375rem !important;
}


/* ============================================
   RESPONSIVE MENU - Mobile Toggle
   ============================================ */

/* Navbar hamburger menu button */
.menu-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: #333F48;
    cursor: pointer;
    background: transparent;
}

.menu-toggle-btn:hover {
    color: #30EA03;
}

.menu-toggle-btn i {
    font-size: 24px;
    line-height: 1;
}

/* Desktop: Show sidebar, hide hamburger menu */
@media (min-width: 992px) {
    .layout-menu-toggle.d-lg-none {
        display: none !important;
    }
}

/* Mobile/Tablet: Hide sidebar by default, show hamburger menu */
@media (max-width: 991.98px) {
    .layout-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        width: 260px !important;
        z-index: 1100 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease-in-out !important;
    }
    
    /* When menu is expanded/open */
    .layout-menu-expanded .layout-menu {
        transform: translateX(0) !important;
    }
    
    .layout-menu-toggle.d-lg-none {
        display: flex !important;
    }
    
    .layout-page {
        padding-left: 0 !important;
    }
    
    /* Overlay when menu is open */
    .layout-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1099;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    
    .layout-menu-expanded .layout-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .layout-menu {
        width: 240px !important;
    }
}

/* ============================================
   DESKTOP MENU COLLAPSE TOGGLE
   ============================================ */

/* App brand container - flex layout for title and toggle */
.menu .app-brand.demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
}

.menu .app-brand.demo h1 {
    margin: 0;
    flex-grow: 1;
}

/* Desktop collapse button styling */
.menu-collapse-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #E8FCE5;
    color: #30EA03 !important;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-left: auto;
}

.menu-collapse-btn:hover {
    background-color: #30EA03;
    color: #1A2024 !important;
}

.menu-collapse-btn i {
    transition: transform 0.3s ease;
    font-size: 18px;
}

/* Rotate arrow when menu is collapsed */
.layout-menu-collapsed .menu-collapse-btn i {
    transform: rotate(180deg);
}

/* Desktop only - show collapse button */
@media (min-width: 992px) {
    .menu-collapse-btn {
        display: flex !important;
    }
}

/* Hide on mobile/tablet */
@media (max-width: 991.98px) {
    .menu-collapse-btn {
        display: none !important;
    }
}


/* ============================================
   MENU ICON - Hover and Active Color Changes
   ============================================ */

/* Default menu icon color - same as text */
.menu-icon {
    color: #333F48 !important;
    transition: color 0.3s ease;
}

/* Menu link hover - change both text and icon color */
.menu-link:hover .menu-icon,
.menu-item:hover > .menu-link .menu-icon {
    color: #28C003 !important;
}

/* Active menu item - icon color white like text */
.menu-item.active > .menu-link .menu-icon {
    color: #FFFFFF !important;
}

/* When menu is open (for submenus) - change icon color */
.menu-item.open > .menu-link .menu-icon {
    color: #28C003 !important;
}

/* Hover state for active menu - keep white */
.menu-item.active > .menu-link:hover .menu-icon {
    color: #FFFFFF !important;
}

/* Menu link text hover color */
.menu-link:hover,
.menu-item:hover > .menu-link {
    color: #28C003 !important;
}

/* Active menu link text */
.menu-item.active > .menu-link {
    color: #FFFFFF !important;
}


/* ============================================
   DESKTOP MENU COLLAPSE TOGGLE - Arrow Icons
   ============================================ */

/* Desktop collapse toggle button - visible only on desktop */
.desktop-menu-toggle {
    position: absolute;
    right: -14px;
    top: 28px;
    width: 28px;
    height: 28px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #E8FCE5;
    border-radius: 50%;
    color: #30EA03 !important;
    transition: all 0.3s ease;
    z-index: 100;
    cursor: pointer;
    pointer-events: auto !important;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.desktop-menu-toggle:hover {
    background-color: #30EA03;
    color: #FFFFFF !important;
}

    .desktop-menu-toggle .menu-toggle-icon {
        font-weight: bold;
        font-size: 25px;
        line-height: 1;
        transition: transform 0.3s ease;
    }

/* Rotate arrow when menu is collapsed */
html.layout-menu-collapsed .desktop-menu-toggle .menu-toggle-icon {
    transform: rotate(180deg);
}

/* Ensure layout-menu allows overflow for the toggle button */
.layout-menu {
    position: relative;
    overflow: visible !important;
    height: 100vh;
}

/* Allow menu inner content to scroll */
.layout-menu .menu-inner {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    max-height: calc(100vh - 120px);
}


/* Custom scrollbar for webkit browsers */
.layout-menu .menu-inner::-webkit-scrollbar {
    width: 6px;
}

.layout-menu .menu-inner::-webkit-scrollbar-track {
    background: transparent;
}

.layout-menu .menu-inner::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.layout-menu .menu-inner::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.3);
}

/* Hide desktop toggle on mobile/tablet - show only on lg and above */
@media (max-width: 991.98px) {
    .desktop-menu-toggle {
        display: none !important;
    }
}

/* Show desktop toggle on desktop screens */
@media (min-width: 992px) {
    .desktop-menu-toggle {
        display: flex !important;
    }
}

/* ============================================
   DESKTOP MENU COLLAPSED STATE - Hide text, center icons
   ============================================ */
@media (min-width: 992px) {
    /* Hide title when collapsed */
    html.layout-menu-collapsed .layout-menu .app-brand h1 {
        display: none;
    }
    
    /* Hide menu text when collapsed */
    html.layout-menu-collapsed .layout-menu .menu-link .text-truncate,
    html.layout-menu-collapsed .layout-menu .menu-link > div[data-i18n] {
        display: none;
    }
    /* Reduce menu width when collapsed */
    html.layout-menu-collapsed .layout-menu {
        width: 70px;
    }
    
    /* Center menu icons when collapsed */
    html.layout-menu-collapsed .layout-menu .menu-link {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Center app brand when collapsed */
    html.layout-menu-collapsed .layout-menu .app-brand.demo {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Adjust content wrapper margin when menu is collapsed */
    html.layout-menu-collapsed .layout-wrapper .layout-page {
        padding-left: 70px !important;
    }
}


/* ===== Haleon Baseline for Dashboard ===== */
.dashboard-baseline {
    height: 4px;
    background: var(--haleon-green, #30EA03);
    border-radius: var(--radius-base, 0.25rem);
    margin-bottom: var(--space-6, 1.5rem);
    animation: baselineGrow 1s ease-out;
}

@keyframes baselineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}