/* LBM UI Kit - Enhanced Grid System based on Bootstrap 5 */

/* ================================================ */
/* 1. CSS VARIABLES & BASE */
/* ================================================ */

:root {
    /* ===== BOOTSTRAP 5.3 CORE COLORS ===== */
    --uk-color-white: #fff;
    --uk-color-black: #000;

    /* ===== BOOTSTRAP 5.3 BASE COLORS ===== */
    --uk-color-blue: #0d6efd;
    --uk-color-indigo: #6610f2;
    --uk-color-purple: #6f42c1;
    --uk-color-pink: #d63384;
    --uk-color-red: #dc3545;
    --uk-color-orange: #fd7e14;
    --uk-color-yellow: #ffc107;
    --uk-color-green: #198754;
    --uk-color-teal: #20c997;
    --uk-color-cyan: #0dcaf0;

    /* ===== BOOTSTRAP 5.3 THEME COLORS ===== */
    --uk-color-primary: #0d6efd;
    --uk-color-secondary: #6c757d;
    --uk-color-success: #198754;
    --uk-color-danger: #dc3545;
    --uk-color-warning: #ffc107;
    --uk-color-info: #0dcaf0;
    --uk-color-light: #f8f9fa;
    --uk-color-dark: #212529;

    /* ===== BOOTSTRAP 5.3 DERIVED COLORS ===== */
    --uk-color-primary-light: #6ea8fe;
    --uk-color-primary-dark: #0a58ca;
    --uk-color-primary-accent: var(--uk-color-cyan);

    --uk-color-secondary-light: #9ca3af;
    --uk-color-secondary-dark: #495057;

    --uk-color-success-light: #75b798;
    --uk-color-success-dark: #146c43;

    --uk-color-danger-light: #ea868f;
    --uk-color-danger-dark: #b02a37;

    --uk-color-warning-light: #ffda6a;
    --uk-color-warning-dark: #cc9a06;

    --uk-color-info-light: #6edff6;
    --uk-color-info-dark: #087990;

    /* ===== BOOTSTRAP 5.3 EXTENDED COLORS ===== */
    --uk-color-blue-100: #cfe2ff;
    --uk-color-blue-200: #9ec5fe;
    --uk-color-blue-300: #6ea8fe;
    --uk-color-blue-400: #3d8bfd;
    --uk-color-blue-500: #0d6efd;
    --uk-color-blue-600: #0a58ca;
    --uk-color-blue-700: #084298;
    --uk-color-blue-800: #052c65;
    --uk-color-blue-900: #031633;

    --uk-color-indigo-100: #e0cffc;
    --uk-color-indigo-200: #c29ffa;
    --uk-color-indigo-300: #a370f7;
    --uk-color-indigo-400: #8540f5;
    --uk-color-indigo-500: #6610f2;
    --uk-color-indigo-600: #520dc2;
    --uk-color-indigo-700: #3d0a91;
    --uk-color-indigo-800: #290661;
    --uk-color-indigo-900: #140330;

    --uk-color-purple-100: #e2d9f3;
    --uk-color-purple-200: #c5b3e6;
    --uk-color-purple-300: #a98eda;
    --uk-color-purple-400: #8c68cd;
    --uk-color-purple-500: #6f42c1;
    --uk-color-purple-600: #59359a;
    --uk-color-purple-700: #432874;
    --uk-color-purple-800: #2c1a4d;
    --uk-color-purple-900: #160d27;

    /* ===== LEGACY COLOR ALIASES ===== */
    --uk-color-lime: var(--uk-color-yellow);
    --uk-color-amber: var(--uk-color-yellow);
    --uk-color-brown: var(--uk-color-orange);
    --uk-color-blue-grey: var(--uk-color-gray-600);

    /* ===== BOOTSTRAP 5.3 GRAY SCALE ===== */
    --uk-color-gray-100: #f8f9fa;
    --uk-color-gray-200: #e9ecef;
    --uk-color-gray-300: #dee2e6;
    --uk-color-gray-400: #ced4da;
    --uk-color-gray-500: #adb5bd;
    --uk-color-gray-600: #6c757d;
    --uk-color-gray-700: #495057;
    --uk-color-gray-800: #343a40;
    --uk-color-gray-900: #212529;

    /* ===== LEGACY GRAY ALIASES ===== */
    --uk-color-light-gray: var(--uk-color-gray-100);

    /* ===== OVERLAY COLORS ===== */
    --uk-color-dark-overlay: rgba(38, 50, 56, 0.8);
    --uk-color-light-overlay: rgba(255, 255, 255, 0.9);

    /* ===== BREAKPOINTS ===== */
    --uk-breakpoint-xs: 0;
    --uk-breakpoint-sm: 576px;
    --uk-breakpoint-md: 768px;
    --uk-breakpoint-lg: 992px;
    --uk-breakpoint-xl: 1200px;
    --uk-breakpoint-xxl: 1400px;

    /* ===== CONTAINER MAX WIDTHS ===== */
    --uk-container-sm: 540px;
    --uk-container-md: 720px;
    --uk-container-lg: 960px;
    --uk-container-xl: 1140px;
    --uk-container-xxl: 1320px;

    /* ===== SPACING SYSTEM ===== */
    --uk-spacer: 1rem;
    --uk-spacer-0: 0;
    --uk-spacer-1: calc(var(--uk-spacer) * 0.25);
    --uk-spacer-2: calc(var(--uk-spacer) * 0.5);
    --uk-spacer-3: var(--uk-spacer);
    --uk-spacer-4: calc(var(--uk-spacer) * 1.5);
    --uk-spacer-5: calc(var(--uk-spacer) * 3);

    /* ===== LEGACY SPACING (for compatibility) ===== */
    --uk-spacing-0-5: 4px;
    --uk-spacing-1: 8px;
    --uk-spacing-1-5: 12px;
    --uk-spacing-2: 16px;
    --uk-spacing-3: 24px;
    --uk-spacing-4: 32px;

    /* ===== FORM CONTROL HEIGHTS ===== */
    --uk-control-height: 40px;
    --uk-control-height-sm: 32px;
    --uk-control-height-lg: 48px;

    /* ===== GRID SYSTEM ===== */
    --uk-gutter-x: 1.5rem;
    --uk-gutter-y: 0;

    /* ===== TYPOGRAPHY ===== */
    --uk-font-family-sans-serif: system-ui;
    --uk-font-size-base: 16px;
    --uk-font-weight-normal: 400;
    --uk-font-weight-bold: 700;
    --uk-line-height-base: 1.5;

    /* ===== BORDER & BORDER RADIUS ===== */
    --uk-border-width: 1px;
    --uk-border-style: solid;
    --uk-border-color: var(--uk-color-gray-300);
    --uk-border-radius: 8px;
    --uk-border-radius-base: 8px;
    --uk-border-radius-sm: 6px;
    --uk-border-radius-lg: 12px;
    --uk-border-radius-xl: 16px;
    --uk-border-radius-xxl: 24px;
    --uk-border-radius-pill: 50rem;

    /* ===== FORM CONTROL VARIABLES ===== */
    --uk-input-border-width: 1px;
    --uk-input-border-color: var(--uk-color-gray-300);
    --uk-input-border-color-hover: var(--uk-color-gray-400);
    --uk-input-border-color-focus: var(--uk-color-primary);
    --uk-input-border-radius: var(--uk-border-radius-base);
    --uk-input-bg: var(--uk-color-white);
    --uk-input-color: var(--uk-color-gray-800);
    --uk-input-padding-x: 12px;
    --uk-input-padding-y: 8px;
    --uk-input-font-size: var(--uk-font-size-base);
    --uk-input-font-weight: var(--uk-font-weight-normal);
    --uk-input-line-height: var(--uk-line-height-base);
    --uk-input-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

    /* ===== BUTTON VARIABLES ===== */
    --uk-button-border-width: 1px;
    --uk-button-border-radius: var(--uk-border-radius-base);
    --uk-button-padding-x: 16px;
    --uk-button-padding-y: 8px;
    --uk-button-font-size: var(--uk-font-size-base);
    --uk-button-font-weight: var(--uk-font-weight-medium);
    --uk-button-line-height: 1.5;
    --uk-button-transition: all 0.2s ease-in-out;
    --uk-button-box-shadow: var(--uk-box-shadow-sm);
    --uk-button-box-shadow-hover: var(--uk-box-shadow);
    --uk-button-box-shadow-focus: var(--uk-box-shadow-focus), var(--uk-box-shadow);

    /* ===== BUTTON SIZE VARIABLES ===== */
    --uk-button-sm-padding-x: 12px;
    --uk-button-sm-padding-y: 6px;
    --uk-button-sm-font-size: 0.875rem;
    --uk-button-lg-padding-x: 20px;
    --uk-button-lg-padding-y: 10px;
    --uk-button-lg-font-size: 1.125rem;

    /* ===== SHADOWS ===== */
    --uk-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --uk-box-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --uk-box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --uk-box-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --uk-box-shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --uk-box-shadow-focus: 0 0 0 3px rgba(var(--uk-color-primary-rgb), 0.1);

    /* ===== TRANSITIONS ===== */
    --uk-transition-speed: 0.2s;
    --uk-transition-ease: ease-in-out;

    /* ===== BOOTSTRAP 5.3 RGB VALUES ===== */
    --uk-color-primary-rgb: 13, 110, 253;
    --uk-color-secondary-rgb: 108, 117, 125;
    --uk-color-success-rgb: 25, 135, 84;
    --uk-color-danger-rgb: 220, 53, 69;
    --uk-color-warning-rgb: 255, 193, 7;
    --uk-color-info-rgb: 13, 202, 240;
    --uk-color-light-rgb: 248, 249, 250;
    --uk-color-dark-rgb: 33, 37, 41;

    /* ===== BASE COLORS RGB ===== */
    --uk-color-blue-rgb: 13, 110, 253;
    --uk-color-indigo-rgb: 102, 16, 242;
    --uk-color-purple-rgb: 111, 66, 193;
    --uk-color-pink-rgb: 214, 51, 132;
    --uk-color-red-rgb: 220, 53, 69;
    --uk-color-orange-rgb: 253, 126, 20;
    --uk-color-yellow-rgb: 255, 193, 7;
    --uk-color-green-rgb: 25, 135, 84;
    --uk-color-teal-rgb: 32, 201, 151;
    --uk-color-cyan-rgb: 13, 202, 240;

    /* ===== LEGACY RGB ALIASES ===== */
    --uk-color-primary-accent-rgb: var(--uk-color-cyan-rgb);

    /* ===== SCROLLBAR STYLES ===== */
    --uk-scrollbar-width: 8px;
    --uk-scrollbar-track-color: transparent;
    --uk-scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
    --uk-scrollbar-thumb-hover-color: rgba(0, 0, 0, 0.3);
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===== HIDDEN SCROLLBAR STYLES ===== */
/* Hide scrollbar for all elements but keep scroll functionality */
* {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

/* Webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
    display: none;
}

/* Alternative: Custom scrollbar for specific elements */
.uk-scrollable {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: var(--uk-scrollbar-thumb-color) var(--uk-scrollbar-track-color);
    /* Firefox */
}

.uk-scrollable::-webkit-scrollbar {
    width: var(--uk-scrollbar-width);
    height: var(--uk-scrollbar-width);
}

.uk-scrollable::-webkit-scrollbar-track {
    background: var(--uk-scrollbar-track-color);
    border-radius: calc(var(--uk-scrollbar-width) / 2);
}

.uk-scrollable::-webkit-scrollbar-thumb {
    background: var(--uk-scrollbar-thumb-color);
    border-radius: calc(var(--uk-scrollbar-width) / 2);
    transition: background-color var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--uk-scrollbar-thumb-hover-color);
}

/* Hide scrollbar for specific components */
.uk-modal-body,
.uk-sidebar-body,
.uk-sidebar-scroll,
.uk-table-responsive {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.uk-modal-body::-webkit-scrollbar,
.uk-sidebar-body::-webkit-scrollbar,
.uk-sidebar-scroll::-webkit-scrollbar,
.uk-table-responsive::-webkit-scrollbar {
    display: none;
}

html {
    font-family: var(--uk-font-family-sans-serif);
    line-height: var(--uk-line-height-base);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: var(--uk-font-family-sans-serif);
    font-size: var(--uk-font-size-base);
    font-weight: var(--uk-font-weight-normal);
    line-height: var(--uk-line-height-base);
    color: var(--uk-color-gray-900);
    text-align: left;
    background-color: var(--uk-color-white);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: var(--uk-spacing-2);
    font-weight: var(--uk-font-weight-bold);
    line-height: 1.2;
    color: var(--uk-color-gray-900);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--uk-spacing-2);
}

a {
    color: var(--uk-color-primary);
    text-decoration: none;
    /* transition: color var(--uk-transition-speed) var(--uk-transition-ease); */
}

a:hover {
    color: var(--uk-color-primary-dark);
    text-decoration: underline;
}

/* ================================================ */
/* 2. CONTAINER SYSTEM */
/* ================================================ */

.uk-container,
.uk-container-fluid,
.uk-container-xxl,
.uk-container-xl,
.uk-container-lg,
.uk-container-md,
.uk-container-sm {
    --uk-gutter-x: 1.5rem;
    --uk-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--uk-gutter-x) * 0.5);
    padding-left: calc(var(--uk-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

/* ===== RESPONSIVE CONTAINERS ===== */
@media (min-width: 576px) {

    .uk-container-sm,
    .uk-container,
    .uk-container-md,
    .uk-container-lg,
    .uk-container-xl,
    .uk-container-xxl {
        max-width: var(--uk-container-sm);
    }
}

@media (min-width: 768px) {

    .uk-container,
    .uk-container-md,
    .uk-container-lg,
    .uk-container-xl,
    .uk-container-xxl {
        max-width: var(--uk-container-md);
    }
}

@media (min-width: 992px) {

    .uk-container,
    .uk-container-lg,
    .uk-container-xl,
    .uk-container-xxl {
        max-width: var(--uk-container-lg);
    }
}

@media (min-width: 1200px) {

    .uk-container,
    .uk-container-xl,
    .uk-container-xxl {
        max-width: var(--uk-container-xl);
    }
}

@media (min-width: 1400px) {

    .uk-container,
    .uk-container-xxl {
        max-width: var(--uk-container-xxl);
    }
}

/* ================================================ */
/* 3. ENHANCED GRID SYSTEM */
/* ================================================ */

.uk-row {
    --uk-gutter-x: 1.5rem;
    --uk-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--uk-gutter-y));
    margin-right: calc(-0.5 * var(--uk-gutter-x));
    margin-left: calc(-0.5 * var(--uk-gutter-x));
}

.uk-row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--uk-gutter-x) * 0.5);
    padding-left: calc(var(--uk-gutter-x) * 0.5);
    margin-top: var(--uk-gutter-y);
}

/* ===== COLUMN CLASSES ===== */
.uk-col {
    flex: 1 0 0%;
}

.uk-col-auto {
    flex: 0 0 auto;
    width: auto;
}

.uk-col-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.uk-col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.uk-col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.uk-col-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
}

.uk-col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.uk-col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.uk-col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.uk-col-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.uk-col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.uk-col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.uk-col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.uk-col-12 {
    flex: 0 0 auto;
    width: 100%;
}

/* ===== OFFSET CLASSES ===== */
.uk-offset-1 {
    margin-left: 8.33333333%;
}

.uk-offset-2 {
    margin-left: 16.66666667%;
}

.uk-offset-3 {
    margin-left: 25%;
}

.uk-offset-4 {
    margin-left: 33.33333333%;
}

.uk-offset-5 {
    margin-left: 41.66666667%;
}

.uk-offset-6 {
    margin-left: 50%;
}

.uk-offset-7 {
    margin-left: 58.33333333%;
}

.uk-offset-8 {
    margin-left: 66.66666667%;
}

.uk-offset-9 {
    margin-left: 75%;
}

.uk-offset-10 {
    margin-left: 83.33333333%;
}

.uk-offset-11 {
    margin-left: 91.66666667%;
}

/* ===== ROW COLUMNS ===== */
.uk-row-cols-auto>* {
    flex: 0 0 auto;
    width: auto;
}

.uk-row-cols-1>* {
    flex: 0 0 auto;
    width: 100%;
}

.uk-row-cols-2>* {
    flex: 0 0 auto;
    width: 50%;
}

.uk-row-cols-3>* {
    flex: 0 0 auto;
    width: 33.3333333333%;
}

.uk-row-cols-4>* {
    flex: 0 0 auto;
    width: 25%;
}

.uk-row-cols-5>* {
    flex: 0 0 auto;
    width: 20%;
}

.uk-row-cols-6>* {
    flex: 0 0 auto;
    width: 16.6666666667%;
}

/* ===== GUTTERS ===== */
.uk-g-0,
.uk-gx-0 {
    --uk-gutter-x: 0;
}

.uk-g-0,
.uk-gy-0 {
    --uk-gutter-y: 0;
}

.uk-g-1,
.uk-gx-1 {
    --uk-gutter-x: 0.25rem;
}

.uk-g-1,
.uk-gy-1 {
    --uk-gutter-y: 0.25rem;
    gap: var(--uk-spacing-1);
}

.uk-g-2,
.uk-gx-2 {
    --uk-gutter-x: 0.5rem;
}

.uk-g-2,
.uk-gy-2 {
    --uk-gutter-y: 0.5rem;
}

.uk-g-3,
.uk-gx-3 {
    --uk-gutter-x: 1rem;
}

.uk-g-3,
.uk-gy-3 {
    --uk-gutter-y: 1rem;
}

.uk-g-4,
.uk-gx-4 {
    --uk-gutter-x: 1.5rem;
}

.uk-g-4,
.uk-gy-4 {
    --uk-gutter-y: 1.5rem;
}

.uk-g-5,
.uk-gx-5 {
    --uk-gutter-x: 3rem;
}

.uk-g-5,
.uk-gy-5 {
    --uk-gutter-y: 3rem;
}

/* ===== RESPONSIVE GRID CLASSES ===== */

/* SM (≥576px) */
@media (min-width: 576px) {
    .uk-col-sm {
        flex: 1 0 0%;
    }

    .uk-col-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .uk-col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .uk-col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .uk-col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .uk-col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .uk-col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .uk-col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .uk-col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .uk-col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .uk-col-sm-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .uk-col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .uk-col-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .uk-col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }

    .uk-offset-sm-0 {
        margin-left: 0;
    }

    .uk-offset-sm-1 {
        margin-left: 8.33333333%;
    }

    .uk-offset-sm-2 {
        margin-left: 16.66666667%;
    }

    .uk-offset-sm-3 {
        margin-left: 25%;
    }

    .uk-offset-sm-4 {
        margin-left: 33.33333333%;
    }

    .uk-offset-sm-5 {
        margin-left: 41.66666667%;
    }

    .uk-offset-sm-6 {
        margin-left: 50%;
    }

    .uk-offset-sm-7 {
        margin-left: 58.33333333%;
    }

    .uk-offset-sm-8 {
        margin-left: 66.66666667%;
    }

    .uk-offset-sm-9 {
        margin-left: 75%;
    }

    .uk-offset-sm-10 {
        margin-left: 83.33333333%;
    }

    .uk-offset-sm-11 {
        margin-left: 91.66666667%;
    }

    .uk-row-cols-sm-auto>* {
        flex: 0 0 auto;
        width: auto;
    }

    .uk-row-cols-sm-1>* {
        flex: 0 0 auto;
        width: 100%;
    }

    .uk-row-cols-sm-2>* {
        flex: 0 0 auto;
        width: 50%;
    }

    .uk-row-cols-sm-3>* {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .uk-row-cols-sm-4>* {
        flex: 0 0 auto;
        width: 25%;
    }

    .uk-row-cols-sm-5>* {
        flex: 0 0 auto;
        width: 20%;
    }

    .uk-row-cols-sm-6>* {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }
}

/* MD (≥768px) */
@media (min-width: 768px) {
    .uk-col-md {
        flex: 1 0 0%;
    }

    .uk-col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .uk-col-md-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .uk-col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .uk-col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .uk-col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .uk-col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .uk-col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .uk-col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .uk-col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .uk-col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .uk-col-md-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .uk-col-md-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .uk-col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }

    .uk-offset-md-0 {
        margin-left: 0;
    }

    .uk-offset-md-1 {
        margin-left: 8.33333333%;
    }

    .uk-offset-md-2 {
        margin-left: 16.66666667%;
    }

    .uk-offset-md-3 {
        margin-left: 25%;
    }

    .uk-offset-md-4 {
        margin-left: 33.33333333%;
    }

    .uk-offset-md-5 {
        margin-left: 41.66666667%;
    }

    .uk-offset-md-6 {
        margin-left: 50%;
    }

    .uk-offset-md-7 {
        margin-left: 58.33333333%;
    }

    .uk-offset-md-8 {
        margin-left: 66.66666667%;
    }

    .uk-offset-md-9 {
        margin-left: 75%;
    }

    .uk-offset-md-10 {
        margin-left: 83.33333333%;
    }

    .uk-offset-md-11 {
        margin-left: 91.66666667%;
    }

    .uk-row-cols-md-auto>* {
        flex: 0 0 auto;
        width: auto;
    }

    .uk-row-cols-md-1>* {
        flex: 0 0 auto;
        width: 100%;
    }

    .uk-row-cols-md-2>* {
        flex: 0 0 auto;
        width: 50%;
    }

    .uk-row-cols-md-3>* {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .uk-row-cols-md-4>* {
        flex: 0 0 auto;
        width: 25%;
    }

    .uk-row-cols-md-5>* {
        flex: 0 0 auto;
        width: 20%;
    }

    .uk-row-cols-md-6>* {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }
}

@media (min-width: 992px) {
    .uk-col-lg-1 {
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .uk-col-lg-2 {
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .uk-col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .uk-col-lg-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .uk-col-lg-5 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .uk-col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .uk-col-lg-7 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .uk-col-lg-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .uk-col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .uk-col-lg-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .uk-col-lg-11 {
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .uk-col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .uk-col-xl-1 {
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .uk-col-xl-2 {
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .uk-col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .uk-col-xl-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .uk-col-xl-5 {
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .uk-col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .uk-col-xl-7 {
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .uk-col-xl-8 {
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .uk-col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .uk-col-xl-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .uk-col-xl-11 {
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .uk-col-xl-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* 3. Components */

/* Buttons */
.uk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--uk-control-height);
    padding: var(--uk-button-padding-y) var(--uk-button-padding-x);
    font-size: var(--uk-button-font-size);
    font-weight: var(--uk-button-font-weight);
    line-height: var(--uk-button-line-height);
    border-radius: var(--uk-button-border-radius);
    cursor: pointer;
    transition: var(--uk-button-transition);
    border: var(--uk-button-border-width) solid transparent;
    text-align: center;
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: var(--uk-button-box-shadow);
}

/* Button hover and focus states */
.uk-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--uk-button-box-shadow-hover);
}

.uk-button:focus {
    outline: 0;
    box-shadow: var(--uk-button-box-shadow-focus);
}

.uk-button:active {
    transform: translateY(0);
    box-shadow: var(--uk-button-box-shadow);
}

.uk-button:disabled,
.uk-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.uk-button:disabled,
.uk-button.uk-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: saturate(0.5);
}

/* Disabled button in button group */
.uk-button-group .uk-button:disabled,
.uk-button-group .uk-button.uk-disabled {
    background-color: var(--uk-color-gray-300);
    border-color: var(--uk-color-gray-400);
    color: var(--uk-color-gray-600);
    box-shadow: none;
}

.uk-button-group .uk-button:disabled:hover,
.uk-button-group .uk-button.uk-disabled:hover {
    background-color: var(--uk-color-gray-300);
    border-color: var(--uk-color-gray-400);
    color: var(--uk-color-gray-600);
    box-shadow: none;
}

/* Primary Button */
.uk-button-primary {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
    border-color: var(--uk-color-primary);
    box-shadow: 0 4px 12px rgba(var(--uk-color-primary-rgb), 0.3);
}

.uk-button-primary:hover {
    background-color: var(--uk-color-primary-dark);
}

.uk-button-primary:active {
    box-shadow: 0 2px 4px rgba(var(--uk-color-primary-rgb), 0.2);
}

/* Danger Button */
.uk-button-danger {
    background-color: var(--uk-color-danger);
    color: var(--uk-color-white);
    border-color: var(--uk-color-danger);
    box-shadow: 0 4px 12px rgba(var(--uk-color-danger-rgb), 0.3);
}

.uk-button-danger:hover {
    background-color: var(--uk-color-danger-dark);
}

.uk-button-danger:active {
    box-shadow: 0 2px 4px rgba(var(--uk-color-danger-rgb), 0.2);
}

/* Secondary Button */
.uk-button-secondary {
    background-color: var(--uk-color-secondary);
    color: var(--uk-color-white);
    border-color: var(--uk-color-secondary);
    box-shadow: 0 4px 12px rgba(var(--uk-color-secondary-rgb), 0.3);
}

.uk-button-secondary:hover {
    background-color: var(--uk-color-secondary-dark);
}

.uk-button-secondary:active {
    box-shadow: 0 2px 4px rgba(var(--uk-color-secondary-rgb), 0.2);
}

/* Success Button */
.uk-button-success {
    background-color: var(--uk-color-success);
    color: var(--uk-color-white);
    border-color: var(--uk-color-success);
    box-shadow: 0 4px 12px rgba(var(--uk-color-success-rgb), 0.3);
}

.uk-button-success:hover {
    background-color: var(--uk-color-success-dark);
}

.uk-button-success:active {
    box-shadow: 0 2px 4px rgba(var(--uk-color-success-rgb), 0.2);
}

/* Outline Buttons */
.uk-button-outline-primary {
    background-color: transparent;
    color: var(--uk-color-primary);
    border-color: var(--uk-color-primary);
}

.uk-button-outline-primary:hover {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
}

.uk-button-outline-danger {
    background-color: transparent;
    color: var(--uk-color-danger);
    border-color: var(--uk-color-danger);
}

.uk-button-outline-danger:hover {
    background-color: var(--uk-color-danger);
    color: var(--uk-color-white);
}

/* ===== ADDITIONAL BUTTON STYLES ===== */

/* Info Button */
.uk-button-info {
    background-color: var(--uk-color-info);
    color: var(--uk-color-white);
    border-color: var(--uk-color-info);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.uk-button-info:hover {
    background-color: var(--uk-color-info-dark);
}

.uk-button-info:active {
    box-shadow: 0 2px 4px rgba(0, 188, 212, 0.2);
}

/* Dark Button */
.uk-button-dark {
    background-color: var(--uk-color-dark);
    color: var(--uk-color-white);
    border-color: var(--uk-color-dark);
    box-shadow: 0 4px 12px rgba(33, 33, 33, 0.3);
}

.uk-button-dark:hover {
    background-color: var(--uk-color-gray-800);
}

.uk-button-dark:active {
    box-shadow: 0 2px 4px rgba(33, 33, 33, 0.2);
}

/* Light Button */
.uk-button-light {
    background-color: var(--uk-color-light);
    color: var(--uk-color-dark);
    border-color: var(--uk-color-gray-300);
    box-shadow: 0 4px 12px rgba(250, 250, 250, 0.3);
}

.uk-button-light:hover {
    background-color: var(--uk-color-gray-200);
}

.uk-button-light:active {
    box-shadow: 0 2px 4px rgba(250, 250, 250, 0.2);
}

/* Purple Button */
.uk-button-purple {
    background-color: var(--uk-color-purple);
    color: var(--uk-color-white);
    border-color: var(--uk-color-purple);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.uk-button-purple:hover {
    background-color: #5a2d91;
}

.uk-button-purple:active {
    box-shadow: 0 2px 4px rgba(156, 39, 176, 0.2);
}

/* Pink Button */
.uk-button-pink {
    background-color: var(--uk-color-pink);
    color: var(--uk-color-white);
    border-color: var(--uk-color-pink);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.uk-button-pink:hover {
    background-color: #c2185b;
}

.uk-button-pink:active {
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.2);
}

/* Indigo Button */
.uk-button-indigo {
    background-color: var(--uk-color-indigo);
    color: var(--uk-color-white);
    border-color: var(--uk-color-indigo);
    box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.uk-button-indigo:hover {
    background-color: #520dc2;
}

.uk-button-indigo:active {
    box-shadow: 0 2px 4px rgba(63, 81, 181, 0.2);
}

/* Teal Button */
.uk-button-teal {
    background-color: var(--uk-color-teal);
    color: var(--uk-color-white);
    border-color: var(--uk-color-teal);
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
}

.uk-button-teal:hover {
    background-color: #198754;
}

.uk-button-teal:active {
    box-shadow: 0 2px 4px rgba(0, 150, 136, 0.2);
}

/* Cyan Button */
.uk-button-cyan {
    background-color: var(--uk-color-cyan);
    color: var(--uk-color-white);
    border-color: var(--uk-color-cyan);
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.uk-button-cyan:hover {
    background-color: #0aa2c0;
}

.uk-button-cyan:active {
    box-shadow: 0 2px 4px rgba(0, 188, 212, 0.2);
}

/* Lime Button */
.uk-button-lime {
    background-color: #cddc39;
    color: var(--uk-color-dark);
    border-color: #cddc39;
    box-shadow: 0 4px 12px rgba(205, 220, 57, 0.3);
}

.uk-button-lime:hover {
    background-color: #afb42b;
}

.uk-button-lime:active {
    box-shadow: 0 2px 4px rgba(205, 220, 57, 0.2);
}

/* Amber Button */
.uk-button-amber {
    background-color: #ffc107;
    color: var(--uk-color-dark);
    border-color: #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.uk-button-amber:hover {
    background-color: #e0a800;
}

.uk-button-amber:active {
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

/* Orange Button */
.uk-button-orange {
    background-color: var(--uk-color-orange);
    color: var(--uk-color-white);
    border-color: var(--uk-color-orange);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.uk-button-orange:hover {
    background-color: #e55100;
}

.uk-button-orange:active {
    box-shadow: 0 2px 4px rgba(255, 87, 34, 0.2);
}

/* Brown Button */
.uk-button-brown {
    background-color: #795548;
    color: var(--uk-color-white);
    border-color: #795548;
    box-shadow: 0 4px 12px rgba(121, 85, 72, 0.3);
}

.uk-button-brown:hover {
    background-color: #5d4037;
}

.uk-button-brown:active {
    box-shadow: 0 2px 4px rgba(121, 85, 72, 0.2);
}

/* Blue Grey Button */
.uk-button-blue-grey {
    background-color: #607d8b;
    color: var(--uk-color-white);
    border-color: #607d8b;
    box-shadow: 0 4px 12px rgba(96, 125, 139, 0.3);
}

.uk-button-blue-grey:hover {
    background-color: #455a64;
}

.uk-button-blue-grey:active {
    box-shadow: 0 2px 4px rgba(96, 125, 139, 0.2);
}

/* Warning Button - Bootstrap 5.3 Standard */
.uk-button-warning {
    background-color: #ffc107;
    color: var(--uk-color-dark);
    border-color: #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.uk-button-warning:hover {
    background-color: #e0a800;
    color: var(--uk-color-dark);
}

.uk-button-warning:active {
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

/* Link Button - Bootstrap 5.3 Standard */
.uk-button-link {
    background-color: transparent;
    color: var(--uk-color-primary);
    border-color: transparent;
    text-decoration: underline;
    box-shadow: none;
}

.uk-button-link:hover {
    background-color: transparent;
    color: var(--uk-color-primary-dark);
    border-color: transparent;
    text-decoration: underline;
}

.uk-button-link:active {
    box-shadow: none;
}

/* Additional Outline Buttons */
.uk-button-outline-info {
    background-color: transparent;
    color: var(--uk-color-info);
    border-color: var(--uk-color-info);
}

.uk-button-outline-info:hover {
    background-color: var(--uk-color-info);
    color: var(--uk-color-white);
}

.uk-button-outline-dark {
    background-color: transparent;
    color: var(--uk-color-dark);
    border-color: var(--uk-color-dark);
}

.uk-button-outline-dark:hover {
    background-color: var(--uk-color-dark);
    color: var(--uk-color-white);
}

.uk-button-outline-light {
    background-color: transparent;
    color: var(--uk-color-gray-600);
    border-color: var(--uk-color-gray-300);
}

.uk-button-outline-light:hover {
    background-color: var(--uk-color-light);
    color: var(--uk-color-dark);
}

.uk-button-outline-purple {
    background-color: transparent;
    color: var(--uk-color-purple);
    border-color: var(--uk-color-purple);
}

.uk-button-outline-purple:hover {
    background-color: var(--uk-color-purple);
    color: var(--uk-color-white);
}

.uk-button-outline-pink {
    background-color: transparent;
    color: var(--uk-color-pink);
    border-color: var(--uk-color-pink);
}

.uk-button-outline-pink:hover {
    background-color: var(--uk-color-pink);
    color: var(--uk-color-white);
}

.uk-button-outline-indigo {
    background-color: transparent;
    color: var(--uk-color-indigo);
    border-color: var(--uk-color-indigo);
}

.uk-button-outline-indigo:hover {
    background-color: var(--uk-color-indigo);
    color: var(--uk-color-white);
}

.uk-button-outline-teal {
    background-color: transparent;
    color: var(--uk-color-teal);
    border-color: var(--uk-color-teal);
}

.uk-button-outline-teal:hover {
    background-color: var(--uk-color-teal);
    color: var(--uk-color-white);
}

/* Bootstrap 5.3 Standard Outline Buttons */
.uk-button-outline-secondary {
    background-color: transparent;
    color: var(--uk-color-secondary);
    border-color: var(--uk-color-secondary);
}

.uk-button-outline-secondary:hover {
    background-color: var(--uk-color-secondary);
    color: var(--uk-color-white);
}

.uk-button-outline-success {
    background-color: transparent;
    color: var(--uk-color-success);
    border-color: var(--uk-color-success);
}

.uk-button-outline-success:hover {
    background-color: var(--uk-color-success);
    color: var(--uk-color-white);
}

.uk-button-outline-warning {
    background-color: transparent;
    color: #ffc107;
    border-color: #ffc107;
}

.uk-button-outline-warning:hover {
    background-color: #ffc107;
    color: var(--uk-color-dark);
}

/* Button Sizes */
.uk-button-sm {
    height: var(--uk-control-height-sm);
    padding: var(--uk-button-sm-padding-y) var(--uk-button-sm-padding-x);
    font-size: var(--uk-button-sm-font-size);
    border-radius: var(--uk-border-radius-sm);
}

.uk-button-lg {
    height: var(--uk-control-height-lg);
    padding: var(--uk-button-lg-padding-y) var(--uk-button-lg-padding-x);
    font-size: var(--uk-button-lg-font-size);
    border-radius: var(--uk-border-radius-lg);
}

/* Button Groups */
.uk-button-group {
    display: inline-flex;
    border-radius: var(--uk-border-radius-base);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.uk-button-group .uk-button {
    border-radius: 0;
    margin: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.uk-button-group .uk-button:first-child {
    border-top-left-radius: var(--uk-border-radius-base);
    border-bottom-left-radius: var(--uk-border-radius-base);
}

.uk-button-group .uk-button:last-child {
    border-top-right-radius: var(--uk-border-radius-base);
    border-bottom-right-radius: var(--uk-border-radius-base);
    border-right: none;
}

.uk-button-group .uk-button:not(:last-child) {
    margin-right: 0;
}

.uk-button-group .uk-button:hover {
    z-index: 1;
}

.uk-button-group .uk-button:focus {
    z-index: 2;
}

/* Button Group Sizes */
.uk-button-group.uk-button-group-sm .uk-button {
    height: var(--uk-control-height-sm);
    padding: 0 var(--uk-spacing-1);
    font-size: 0.875rem;
}

.uk-button-group.uk-button-group-lg .uk-button {
    height: var(--uk-control-height-lg);
    padding: 0 var(--uk-spacing-3);
    font-size: 1.125rem;
}

/* Vertical Button Group */
.uk-button-group.uk-button-group-vertical {
    flex-direction: column;
}

.uk-button-group.uk-button-group-vertical .uk-button {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.uk-button-group.uk-button-group-vertical .uk-button:first-child {
    border-top-left-radius: var(--uk-border-radius-base);
    border-top-right-radius: var(--uk-border-radius-base);
    border-bottom-left-radius: 0;
}

.uk-button-group.uk-button-group-vertical .uk-button:last-child {
    border-bottom-left-radius: var(--uk-border-radius-base);
    border-bottom-right-radius: var(--uk-border-radius-base);
    border-top-right-radius: 0;
    border-bottom: none;
}

/* Button Group Variants */
.uk-button-group.uk-button-group-outline .uk-button {
    background-color: transparent;
    border: 1px solid var(--uk-color-gray-300);
    color: var(--uk-color-gray-700);
}

.uk-button-group.uk-button-group-outline .uk-button:hover {
    background-color: var(--uk-color-gray-100);
    color: var(--uk-color-gray-900);
}

.uk-button-group.uk-button-group-outline .uk-button.uk-active {
    background-color: var(--uk-color-primary);
    border-color: var(--uk-color-primary);
    color: var(--uk-color-white);
}

/* Button Icons - General */
.uk-button .uk-icon {
    margin-right: var(--uk-spacing-1) !important;
}

.uk-button .uk-icon:only-child {
    margin-right: 0;
}

/* Button Group with Icons */
.uk-button-group .uk-button .uk-icon {
    margin-right: var(--uk-spacing-1);
}

.uk-button-group .uk-button .uk-icon:only-child {
    margin-right: 0;
}

/* Responsive Button Groups */
@media (max-width: 768px) {
    .uk-button-group.uk-button-group-responsive {
        flex-direction: column;
        width: 100%;
    }

    .uk-button-group.uk-button-group-responsive .uk-button {
        border-radius: var(--uk-border-radius-base);
        margin-bottom: var(--uk-spacing-0-5);
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .uk-button-group.uk-button-group-responsive .uk-button:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
}

/* Forms */
.uk-form-group {
    margin-bottom: var(--uk-spacing-2);
}

.uk-label {
    display: block;
    margin-bottom: var(--uk-spacing-0-5);
    font-weight: var(--uk-font-weight-bold);
    color: var(--uk-color-gray-800);
}

.uk-input,
.uk-select {
    display: block;
    width: 100%;
    height: var(--uk-control-height);
    padding: var(--uk-input-padding-y) var(--uk-input-padding-x);
    font-size: var(--uk-input-font-size);
    font-weight: var(--uk-input-font-weight);
    line-height: var(--uk-input-line-height);
    color: var(--uk-input-color);
    background-color: var(--uk-input-bg);
    border: var(--uk-input-border-width) solid var(--uk-input-border-color);
    border-radius: var(--uk-input-border-radius);
    transition: var(--uk-input-transition);
    box-shadow: var(--uk-box-shadow-sm);
    box-sizing: border-box;
}

.uk-textarea {
    display: block;
    width: 100%;
    min-height: var(--uk-control-height);
    padding: var(--uk-input-padding-y) var(--uk-input-padding-x);
    font-size: var(--uk-input-font-size);
    font-weight: var(--uk-input-font-weight);
    line-height: var(--uk-input-line-height);
    color: var(--uk-input-color);
    background-color: var(--uk-input-bg);
    border: var(--uk-input-border-width) solid var(--uk-input-border-color) !important;
    border-radius: var(--uk-input-border-radius) !important;
    transition: var(--uk-input-transition);
    box-shadow: var(--uk-box-shadow-sm) !important;
    box-sizing: border-box;
    resize: vertical;
}

/* Hover state for form controls */
.uk-input:hover:not(:focus),
.uk-textarea:hover:not(:focus),
.uk-select:hover:not(:focus) {
    border-color: var(--uk-input-border-color-hover) !important;
}

/* Focus state for form controls */
.uk-input:focus,
.uk-textarea:focus,
.uk-select:focus {
    outline: 0;
    border-color: var(--uk-input-border-color-focus) !important;
    background-color: var(--uk-input-bg);
    box-shadow: var(--uk-box-shadow-focus), var(--uk-box-shadow-sm) !important;
}

.uk-input.uk-invalid,
.uk-textarea.uk-invalid,
.uk-select.uk-invalid {
    border-color: var(--uk-color-danger);
}

.uk-input.uk-valid,
.uk-textarea.uk-valid,
.uk-select.uk-valid {
    border-color: var(--uk-color-success);
}

.uk-form-text {
    font-size: 0.875em;
    color: var(--uk-color-secondary);
    margin-top: var(--uk-spacing-0-5);
}

.uk-feedback {
    margin-top: var(--uk-spacing-0-5);
    font-size: 0.875em;
    font-weight: var(--uk-font-weight-bold);
}

.uk-feedback.uk-valid {
    color: var(--uk-color-success);
}

.uk-feedback.uk-invalid {
    color: var(--uk-color-danger);
}

/* Password Toggle */
.uk-password-toggle {
    position: relative;
    display: block;
    width: 100%;
}

.uk-password-toggle .uk-input {
    padding-right: calc(var(--uk-spacing-1) * 2 + 40px);
    /* Extra padding for button */
    /* Ensure input text doesn't overlap with button */
    box-sizing: border-box;
}

.uk-password-toggle-btn {
    position: absolute;
    right: var(--uk-spacing-1);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--uk-color-gray-500);
    font-size: 1.2rem;
    padding: var(--uk-spacing-0-5);
    border-radius: var(--uk-border-radius-base);
    transition: color var(--uk-transition-speed) var(--uk-transition-ease);
    z-index: 10;
    /* Ensure button stays within input bounds */
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.uk-password-toggle-btn:hover {
    color: var(--uk-color-primary);
}

.uk-password-toggle-btn:focus {
    outline: 2px solid var(--uk-color-primary);
    outline-offset: 2px;
}

/* Ensure feedback doesn't affect button positioning */
.uk-password-toggle+.uk-feedback {
    margin-top: var(--uk-spacing-0-5);
}

/* Mobile optimization for password toggle */
@media (max-width: 768px) {
    .uk-password-toggle-btn {
        min-width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .uk-password-toggle .uk-input {
        padding-right: calc(var(--uk-spacing-1) * 2 + 44px);
    }
}

/* Responsive form controls */
@media (max-width: 768px) {

    .uk-input,
    .uk-select,
    .uk-button {
        height: var(--uk-control-height-sm);
    }

    .uk-password-toggle-btn {
        height: var(--uk-control-height-sm);
    }
}

/* Checkbox and Radio */
.uk-checkbox,
.uk-radio {
    margin-right: var(--uk-spacing-0-5);
    vertical-align: middle;
}

.uk-checkbox:focus,
.uk-radio:focus {
    outline: 2px solid var(--uk-color-primary);
    outline-offset: 2px;
}

/* Checkbox Group */
.uk-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: var(--uk-spacing-2);
}

.uk-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--uk-color-gray-700);
    user-select: none;
}

.uk-checkbox-text {
    margin-left: var(--uk-spacing-0-5);
    line-height: 1.4;
}

/* Modals */
.uk-modal-overlay {
    position: fixed;
    top: 0;
    left: 280px;
    /* Align with sidebar */
    width: calc(100% - 280px);
    height: 100%;
    background-color: var(--uk-color-dark-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--uk-transition-speed) var(--uk-transition-ease), visibility var(--uk-transition-speed) var(--uk-transition-ease);
}

/* Modal when sidebar is collapsed */
.uk-sidebar.uk-sidebar-collapsed~.uk-modal-overlay {
    left: 60px;
    width: calc(100% - 60px);
}

/* Modal when sidebar is hidden */
.uk-sidebar.uk-sidebar-hidden~.uk-modal-overlay {
    left: 0;
    width: 100%;
}

.uk-modal-overlay.uk-open {
    opacity: 1;
    visibility: visible;
}

.uk-modal {
    background-color: var(--uk-color-white);
    border-radius: var(--uk-border-radius-base);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 6px 6px rgba(0, 0, 0, 0.1);
    padding: var(--uk-spacing-3);
    width: 100%;
    max-width: 500px;
    /* Default max-width for modals */
    transform: scale(0.9);
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.uk-modal-overlay.uk-open .uk-modal {
    transform: scale(1);
}

.uk-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--uk-spacing-2);
    padding-bottom: var(--uk-spacing-1);
    border-bottom: 1px solid var(--uk-color-light-gray);
}

.uk-modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.uk-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--uk-color-secondary);
    /* transition: color var(--uk-transition-speed); */
}

.uk-modal-close:hover {
    color: var(--uk-color-gray-700);
}

.uk-modal-body {
    margin-bottom: var(--uk-spacing-2);
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--uk-spacing-2);
    outline: none;
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.uk-modal-body::-webkit-scrollbar {
    display: none;
}

.uk-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--uk-spacing-1);
    padding-top: var(--uk-spacing-1);
    border-top: 1px solid var(--uk-color-light-gray);
}

/* Modal Sizes (Updated for consistency) */
.uk-modal.uk-modal-sm {
    max-width: 300px;
}

.uk-modal.uk-modal-lg {
    max-width: 800px;
}

.uk-modal.uk-modal-xl {
    max-width: 90vw;
    width: 90%;
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
    .uk-modal {
        margin: var(--uk-spacing-2);
        max-width: calc(100% - 2 * var(--uk-spacing-2));
    }

    .uk-modal.uk-modal-sm {
        max-width: calc(100% - 2 * var(--uk-spacing-2));
    }

    .uk-modal.uk-modal-lg {
        max-width: calc(100% - 2 * var(--uk-spacing-2));
    }

    .uk-modal.uk-modal-xl {
        max-width: calc(100% - 2 * var(--uk-spacing-2));
        width: calc(100% - 2 * var(--uk-spacing-2));
    }
}

/* Toasts */
.uk-toast-container {
    position: fixed;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: var(--uk-spacing-1);
}

.uk-toast-container.uk-top-right {
    top: var(--uk-spacing-3);
    right: var(--uk-spacing-3);
    align-items: flex-end;
}

.uk-toast-container.uk-bottom-left {
    bottom: var(--uk-spacing-3);
    left: var(--uk-spacing-3);
    align-items: flex-start;
}

.uk-toast {
    background-color: var(--uk-color-white);
    color: #333;
    padding: var(--uk-spacing-2);
    border-radius: var(--uk-border-radius-base);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    min-width: 250px;
    max-width: 350px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--uk-transition-speed) var(--uk-transition-ease),
        transform var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-toast.uk-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.uk-toast.uk-success {
    border-left: 5px solid var(--uk-color-success);
}

.uk-toast.uk-error {
    border-left: 5px solid var(--uk-color-danger);
}

.uk-toast.uk-warning {
    border-left: 5px solid var(--uk-color-warning);
}

.uk-toast.uk-info {
    border-left: 5px solid var(--uk-color-primary);
}

/* Confirm */
.uk-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--uk-color-dark-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--uk-transition-speed) var(--uk-transition-ease), visibility var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-confirm-overlay.uk-open {
    opacity: 1;
    visibility: visible;
}

.uk-confirm {
    background-color: var(--uk-color-white);
    border-radius: var(--uk-border-radius-base);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: var(--uk-spacing-3);
    width: 90%;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.uk-confirm-overlay.uk-open .uk-confirm {
    transform: scale(1);
}

.uk-confirm-body {
    margin-bottom: var(--uk-spacing-2);
    font-size: 1.1rem;
    line-height: 1.6;
}

.uk-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--uk-spacing-1);
}

/* Cards */
.uk-card {
    background-color: var(--uk-color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--uk-border-radius-base);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    overflow: visible;
    /* Disable hover effects for all cards */
    transition: none !important;
}

/* Disable hover effects for all uk-card elements */
.uk-card:hover,
.uk-card.uk-card-body:hover,
.uk-card.uk-card-header:hover,
.uk-card.uk-card-footer:hover {
    transform: none !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    transition: none !important;
}

.uk-card-header {
    padding: var(--uk-spacing-2);
    border-bottom: 1px solid var(--uk-color-light-gray);
    font-weight: var(--uk-font-weight-bold);
    color: #222;
}

.uk-card-body {
    padding: var(--uk-spacing-2);
}

.uk-card-footer {
    padding: var(--uk-spacing-2);
    border-top: 1px solid var(--uk-color-light-gray);
    display: flex;
    justify-content: flex-end;
    gap: var(--uk-spacing-1);
}

.uk-card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures image covers area without distortion */
}

/* Tables */
.uk-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--uk-spacing-3);
    color: #333;
    font-size: var(--uk-font-size-base);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.uk-table thead th {
    background-color: var(--uk-color-secondary);
    color: var(--uk-color-white);
    padding: var(--uk-spacing-1-5);
    text-align: left;
    border-bottom: 2px solid var(--uk-color-secondary);
}

.uk-table tbody td {
    padding: var(--uk-spacing-1-5);
    border-bottom: 1px solid var(--uk-color-light-gray);
    background-color: var(--uk-color-white);
}

/* Striped table */
.uk-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(var(--uk-color-primary-rgb), 0.05);
}

/* Hover table - Disabled */
/* .uk-table-hover tbody tr:hover {
    background-color: rgba(var(--uk-color-primary-rgb), 0.1);
} */

/* Responsive Table */
@media (max-width: 768px) {
    .uk-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar but keep functionality */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .uk-table-responsive::-webkit-scrollbar {
        display: none;
    }

    .uk-table-responsive .uk-table {
        min-width: 600px;
        /* Adjust as needed for content */
    }
}


/* 4. Utilities */
/* Spacing */
.uk-m-0 {
    margin: 0 !important;
}

.uk-p-0 {
    padding: 0 !important;
}

.uk-m-1 {
    margin: var(--uk-spacing-1) !important;
}

.uk-p-1 {
    padding: var(--uk-spacing-1) !important;
}

.uk-m-2 {
    margin: var(--uk-spacing-2) !important;
}

.uk-p-2 {
    padding: var(--uk-spacing-2) !important;
}

.uk-m-3 {
    margin: var(--uk-spacing-3) !important;
}

.uk-p-3 {
    padding: var(--uk-spacing-3) !important;
}

.uk-mt-1 {
    margin-top: var(--uk-spacing-1) !important;
}

.uk-mb-1 {
    margin-bottom: var(--uk-spacing-1) !important;
}

.uk-ml-1 {
    margin-left: var(--uk-spacing-1) !important;
}

.uk-mr-1 {
    margin-right: var(--uk-spacing-1) !important;
}

.uk-pt-1 {
    padding-top: var(--uk-spacing-1) !important;
}

.uk-pb-1 {
    padding-bottom: var(--uk-spacing-1) !important;
}

/* ... other utility classes would go here ... */

/* 5. Navigation Components - Bootstrap 5 Style */

/* Navbar */
.uk-navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--uk-spacing-1) var(--uk-spacing-2);
    background-color: var(--uk-color-white);
    border-bottom: 1px solid var(--uk-color-gray-200);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.uk-navbar-brand {
    display: inline-block;
    padding: var(--uk-spacing-0-5) 0;
    margin-right: var(--uk-spacing-2);
    font-size: 1.25rem;
    font-weight: var(--uk-font-weight-bold);
    line-height: inherit;
    white-space: nowrap;
    color: var(--uk-color-primary);
    text-decoration: none;
}

.uk-navbar-brand:hover {
    color: var(--uk-color-primary-dark);
    text-decoration: none;
}

.uk-navbar-nav {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}

.uk-navbar-nav .uk-nav-link {
    display: block;
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1);
    color: var(--uk-color-gray-700);
    text-decoration: none;
    border-radius: var(--uk-border-radius-base);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-navbar-nav .uk-nav-link:hover,
.uk-navbar-nav .uk-nav-link:focus {
    color: var(--uk-color-primary);
    background-color: rgba(var(--uk-color-primary-rgb), 0.1);
}

.uk-navbar-nav .uk-nav-link.uk-active {
    color: var(--uk-color-primary);
    background-color: rgba(var(--uk-color-primary-rgb), 0.15);
    font-weight: 600;
}

.uk-navbar-toggler {
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1);
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: var(--uk-border-radius-base);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
    cursor: pointer;
    display: none;
}

.uk-navbar-toggler:hover {
    background-color: var(--uk-color-gray-100);
}

.uk-navbar-toggler:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--uk-color-primary-rgb), 0.25);
}

.uk-navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

.uk-navbar-nav .uk-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: var(--uk-spacing-1) 0;
    margin: 0;
    font-size: 0.875rem;
    color: var(--uk-color-gray-700);
    text-align: left;
    list-style: none;
    background-color: var(--uk-color-white);
    background-clip: padding-box;
    border: 1px solid var(--uk-color-gray-200);
    border-radius: var(--uk-border-radius-base);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.uk-navbar-nav .uk-dropdown.uk-show {
    display: block;
}

.uk-navbar-nav .uk-dropdown-item {
    display: block;
    width: 100%;
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1-5);
    clear: both;
    font-weight: 400;
    color: var(--uk-color-gray-700);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-navbar-nav .uk-dropdown-item:hover,
.uk-navbar-nav .uk-dropdown-item:focus {
    color: var(--uk-color-primary);
    background-color: var(--uk-color-gray-100);
}

.uk-navbar-nav .uk-dropdown-divider {
    height: 0;
    margin: var(--uk-spacing-0-5) 0;
    overflow: hidden;
    border-top: 1px solid var(--uk-color-gray-200);
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
    .uk-navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .uk-navbar-nav .uk-nav-link {
        width: 100%;
        padding: var(--uk-spacing-1);
    }

    .uk-navbar-collapse {
        display: none;
        width: 100%;
    }

    .uk-navbar-collapse.uk-show {
        display: block;
    }

    .uk-navbar-toggler {
        display: block;
    }

    .uk-navbar-nav .uk-dropdown {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}

/* Nav Tabs */
.uk-nav-tabs {
    border-bottom: 1px solid var(--uk-color-gray-200);
    margin-bottom: var(--uk-spacing-2);
}

.uk-nav-tabs .uk-nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: var(--uk-border-radius-base);
    border-top-right-radius: var(--uk-border-radius-base);
    color: var(--uk-color-gray-600);
    background-color: transparent;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-nav-tabs .uk-nav-link:hover,
.uk-nav-tabs .uk-nav-link:focus {
    border-color: var(--uk-color-gray-200) var(--uk-color-gray-200) transparent;
    color: var(--uk-color-primary);
}

.uk-nav-tabs .uk-nav-link.uk-active {
    color: var(--uk-color-primary);
    background-color: var(--uk-color-white);
    border-color: var(--uk-color-gray-200) var(--uk-color-gray-200) var(--uk-color-white);
}

/* Nav Pills */
.uk-nav-pills .uk-nav-link {
    border-radius: var(--uk-border-radius-base);
    color: var(--uk-color-gray-700);
    background-color: transparent;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-nav-pills .uk-nav-link:hover,
.uk-nav-pills .uk-nav-link:focus {
    color: var(--uk-color-primary);
    background-color: rgba(var(--uk-color-primary-rgb), 0.1);
}

.uk-nav-pills .uk-nav-link.uk-active {
    color: var(--uk-color-white);
    background-color: var(--uk-color-primary);
}

/* Nav Underline */
.uk-nav-underline {
    border-bottom: 1px solid var(--uk-color-gray-200);
    gap: var(--uk-spacing-2);
}

.uk-nav-underline .uk-nav-link {
    padding-right: 0;
    padding-left: 0;
    border-bottom: 2px solid transparent;
    color: var(--uk-color-gray-600);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-nav-underline .uk-nav-link:hover,
.uk-nav-underline .uk-nav-link:focus {
    border-bottom-color: var(--uk-color-gray-400);
    color: var(--uk-color-primary);
}

.uk-nav-underline .uk-nav-link.uk-active {
    font-weight: 600;
    color: var(--uk-color-primary);
    border-bottom-color: var(--uk-color-primary);
}

/* Breadcrumb */
.uk-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: var(--uk-spacing-1) 0;
    margin-bottom: var(--uk-spacing-2);
    list-style: none;
    background-color: transparent;
    border-radius: var(--uk-border-radius-base);
}

.uk-breadcrumb-item {
    display: flex;
    align-items: center;
}

.uk-breadcrumb-item+.uk-breadcrumb-item::before {
    display: inline-block;
    padding-right: var(--uk-spacing-1);
    color: var(--uk-color-gray-500);
}

.uk-breadcrumb-item.uk-active {
    color: var(--uk-color-gray-600);
}

.uk-breadcrumb-item a {
    color: var(--uk-color-primary);
    text-decoration: none;
}

.uk-breadcrumb-item a:hover {
    color: var(--uk-color-primary-dark);
    text-decoration: underline;
}

/* Pagination */
.uk-pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: var(--uk-border-radius-base);
}

.uk-page-item {
    margin-left: -1px;
}

.uk-page-link {
    position: relative;
    display: block;
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1);
    color: var(--uk-color-primary);
    text-decoration: none;
    background-color: var(--uk-color-white);
    border: 1px solid var(--uk-color-gray-200);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-page-link:hover {
    z-index: 2;
    color: var(--uk-color-primary-dark);
    background-color: var(--uk-color-gray-100);
    border-color: var(--uk-color-gray-300);
}

.uk-page-link:focus {
    z-index: 3;
    color: var(--uk-color-primary-dark);
    background-color: var(--uk-color-gray-100);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(var(--uk-color-primary-rgb), 0.25);
}

.uk-page-item:first-child .uk-page-link {
    margin-left: 0;
    border-top-left-radius: var(--uk-border-radius-base);
    border-bottom-left-radius: var(--uk-border-radius-base);
}

.uk-page-item:last-child .uk-page-link {
    border-top-right-radius: var(--uk-border-radius-base);
    border-bottom-right-radius: var(--uk-border-radius-base);
}

.uk-page-item.uk-active .uk-page-link {
    z-index: 3;
    color: var(--uk-color-white);
    background-color: var(--uk-color-primary);
    border-color: var(--uk-color-primary);
}

.uk-page-item.uk-disabled .uk-page-link {
    color: var(--uk-color-gray-500);
    pointer-events: none;
    background-color: var(--uk-color-white);
    border-color: var(--uk-color-gray-200);
}

/* Pagination Sizes */
.uk-pagination.uk-pagination-sm .uk-page-link {
    padding: var(--uk-spacing-0-5);
    font-size: 0.875rem;
    line-height: 1.5;
}

.uk-pagination.uk-pagination-lg .uk-page-link {
    padding: var(--uk-spacing-1) var(--uk-spacing-1-5);
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Navigation Utilities */
.uk-nav-fill .uk-nav-item,
.uk-nav-fill>.uk-nav-link {
    flex: 1 1 auto;
    text-align: center;
}

.uk-nav-justified .uk-nav-item,
.uk-nav-justified>.uk-nav-link {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}

.uk-nav-fill .uk-nav-item .uk-nav-link,
.uk-nav-justified .uk-nav-item .uk-nav-link {
    width: 100%;
}

/* Tab Content */
.uk-tab-content>.uk-tab-pane {
    display: none;
}

.uk-tab-content>.uk-tab-pane.uk-active {
    display: block;
}

/* Navigation Spacing Utilities */
.uk-navbar-nav .uk-nav-item {
    margin-right: var(--uk-spacing-1);
}

.uk-navbar-nav .uk-nav-item:last-child {
    margin-right: 0;
}

.uk-nav-tabs .uk-nav-item {
    margin-right: var(--uk-spacing-1);
}

.uk-nav-pills .uk-nav-item {
    margin-right: var(--uk-spacing-1);
}

.uk-nav-underline .uk-nav-item {
    margin-right: var(--uk-spacing-2);
}

/* Navigation Icons */
.uk-nav-link .uk-icon {
    margin-right: var(--uk-spacing-0-5);
    vertical-align: middle;
}

.uk-navbar-brand .uk-icon {
    margin-right: var(--uk-spacing-0-5);
    vertical-align: middle;
}

/* Navigation Badges */
.uk-nav-link .uk-badge {
    margin-left: var(--uk-spacing-0-5);
    vertical-align: middle;
}

/* Navigation Dropdown Toggle */
.uk-nav-dropdown-toggle {
    position: relative;
    padding-right: var(--uk-spacing-2);
}

.uk-nav-dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: var(--uk-spacing-0-5);
    transform: translateY(-50%);
    content: "▼";
    font-size: 0.75rem;
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-nav-dropdown-toggle.uk-show::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Navigation Responsive Utilities */
@media (max-width: 767.98px) {
    .uk-nav-tabs {
        flex-direction: column;
    }

    .uk-nav-tabs .uk-nav-link {
        border-radius: var(--uk-border-radius-base);
        margin-bottom: var(--uk-spacing-0-5);
    }

    .uk-nav-pills {
        flex-direction: column;
    }

    .uk-nav-pills .uk-nav-item {
        margin-right: 0;
        margin-bottom: var(--uk-spacing-0-5);
    }

    .uk-nav-underline {
        flex-direction: column;
        gap: var(--uk-spacing-1);
    }

    .uk-nav-underline .uk-nav-item {
        margin-right: 0;
    }

    .uk-pagination {
        justify-content: center;
    }
}

/* 6. Sidebar Components */

/* Sidebar Base */
.uk-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background-color: var(--uk-color-white);
    border-right: 1px solid var(--uk-color-gray-200);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.uk-sidebar.uk-sidebar-right {
    right: 0;
    left: auto;
    border-right: none;
    border-left: 1px solid var(--uk-color-gray-200);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Sidebar Header */
.uk-sidebar-header {
    padding: var(--uk-spacing-2);
    border-bottom: 1px solid var(--uk-color-gray-200);
    background-color: var(--uk-color-light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.uk-sidebar-brand {
    font-size: 1.25rem;
    font-weight: var(--uk-font-weight-bold);
    color: var(--uk-color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--uk-spacing-1);
}

.uk-sidebar-brand:hover {
    color: var(--uk-color-primary-dark);
    text-decoration: none;
}



/* Sidebar Body */
.uk-sidebar-body {
    padding: var(--uk-spacing-2);
    padding-bottom: calc(var(--uk-spacing-2) + 60px);
    /* Extra padding for theme toggle */
    flex: 1;
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.uk-sidebar-body::-webkit-scrollbar {
    display: none;
}

/* Sidebar Navigation */
.uk-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uk-sidebar-nav .uk-nav-item {
    margin-bottom: var(--uk-spacing-0-5);
}

.uk-sidebar-nav .uk-nav-link {
    display: flex;
    align-items: center;
    padding: var(--uk-spacing-1) var(--uk-spacing-1-5);
    color: var(--uk-color-gray-700);
    text-decoration: none;
    border-radius: var(--uk-border-radius-base);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
    position: relative;
}

.uk-sidebar-nav .uk-nav-link:hover {
    background-color: rgba(var(--uk-color-primary-rgb), 0.1);
    color: var(--uk-color-primary);
}

.uk-sidebar-nav .uk-nav-link.uk-active {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
    font-weight: 600;
}

.uk-sidebar-nav .uk-nav-link.uk-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--uk-color-primary-accent);
}

/* Sidebar Icons */
.uk-sidebar-nav .uk-nav-link .uk-icon {
    margin-right: var(--uk-spacing-1);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Sidebar Nested Navigation */
.uk-sidebar-nav .uk-nav-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--uk-color-gray-50);
    border-radius: var(--uk-border-radius-base);
    margin-top: var(--uk-spacing-0-5);
    margin-left: var(--uk-spacing-2);
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-nav .uk-nav-dropdown.uk-show {
    max-height: 500px;
}

.uk-sidebar-nav .uk-dropdown-item {
    display: block;
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1-5);
    color: var(--uk-color-gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-nav .uk-dropdown-item:hover {
    background-color: rgba(var(--uk-color-primary-rgb), 0.1);
    color: var(--uk-color-primary);
}

.uk-sidebar-nav .uk-dropdown-item.uk-active {
    background-color: rgba(var(--uk-color-primary-rgb), 0.15);
    color: var(--uk-color-primary);
    font-weight: 600;
}

/* Sidebar Dropdown Toggle */
.uk-sidebar-nav .uk-nav-dropdown-toggle {
    position: relative;
    padding-right: var(--uk-spacing-3);
}

.uk-sidebar-nav .uk-nav-dropdown-toggle::after {
    position: absolute;
    right: var(--uk-spacing-1);
    top: 50%;
    transform: translateY(-50%);
    content: "▼";
    font-size: 0.75rem;
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-nav .uk-nav-dropdown-toggle.uk-show::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Sidebar Footer */
.uk-sidebar-footer {
    padding: var(--uk-spacing-2);
    border-top: 1px solid var(--uk-color-gray-200);
    background-color: var(--uk-color-light-gray);
}

/* Sidebar User Info */
.uk-sidebar-user {
    display: flex;
    align-items: center;
    padding: var(--uk-spacing-1);
    border-radius: var(--uk-border-radius-base);
    background-color: var(--uk-color-white);
    margin-bottom: var(--uk-spacing-1);
}

.uk-sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--uk-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uk-color-white);
    font-weight: bold;
    margin-right: var(--uk-spacing-1);
}

.uk-sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.uk-sidebar-user-name {
    font-weight: 600;
    color: var(--uk-color-gray-800);
    font-size: 0.9rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.uk-sidebar-user-role {
    font-size: 0.8rem;
    color: var(--uk-color-gray-600);
}

/* Sidebar Collapsed State */
.uk-sidebar.uk-sidebar-collapsed {
    width: 60px;
}

.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-brand span:not(.uk-icon),
.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-close,
.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-user-info,
.uk-sidebar.uk-sidebar-collapsed .uk-nav-link span:not(.uk-icon) {
    display: none;
}

.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-header {
    padding: var(--uk-spacing-1);
    justify-content: center;
}

.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-body {
    padding: var(--uk-spacing-1);
}

.uk-sidebar.uk-sidebar-collapsed .uk-nav-link {
    padding: var(--uk-spacing-1);
    justify-content: center;
}

.uk-sidebar.uk-sidebar-collapsed .uk-nav-link .uk-icon {
    margin-right: 0;
    font-size: 1.2rem;
}

.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-user {
    justify-content: center;
    padding: var(--uk-spacing-0-5);
}

.uk-sidebar.uk-sidebar-collapsed .uk-sidebar-user-avatar {
    margin-right: 0;
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
}

/* Sidebar Toggle Button */
.uk-sidebar-toggle {
    position: fixed;
    top: var(--uk-spacing-2);
    left: var(--uk-spacing-2);
    z-index: 1001;
    background-color: var(--uk-color-white);
    border: 1px solid var(--uk-color-gray-200);
    border-radius: var(--uk-border-radius-base);
    padding: var(--uk-spacing-0-5) var(--uk-spacing-1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-toggle:hover {
    background-color: var(--uk-color-gray-100);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.uk-sidebar-toggle.uk-sidebar-toggle-right {
    left: auto;
    right: var(--uk-spacing-2);
}

/* Sidebar Overlay */
.uk-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-overlay.uk-show {
    opacity: 1;
    visibility: visible;
}

/* Sidebar States */
.uk-sidebar.uk-sidebar-hidden {
    transform: translateX(-100%);
}

.uk-sidebar.uk-sidebar-right.uk-sidebar-hidden {
    transform: translateX(100%);
}

/* Sidebar Dark Theme */
.uk-sidebar.uk-sidebar-dark {
    background-color: var(--uk-color-gray-900);
    border-color: var(--uk-color-gray-800);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-header {
    background-color: var(--uk-color-gray-800);
    border-color: var(--uk-color-gray-700);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-brand {
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-close {
    color: var(--uk-color-gray-400);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-close:hover {
    background-color: var(--uk-color-gray-700);
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-nav-link {
    color: var(--uk-color-gray-300);
}

.uk-sidebar.uk-sidebar-dark .uk-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-nav-link.uk-active {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-nav-dropdown {
    background-color: var(--uk-color-gray-800);
}

.uk-sidebar.uk-sidebar-dark .uk-dropdown-item {
    color: var(--uk-color-gray-400);
}

.uk-sidebar.uk-sidebar-dark .uk-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-footer {
    background-color: var(--uk-color-gray-800);
    border-color: var(--uk-color-gray-700);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-user {
    background-color: var(--uk-color-gray-700);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-user-name {
    color: var(--uk-color-white);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-user-role {
    color: var(--uk-color-gray-400);
}

/* Sidebar Utilities */
.uk-sidebar-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - 120px);
    /* Adjust based on header/footer height */
    /* Ensure smooth scrolling */
    scroll-behavior: smooth;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.uk-sidebar-scroll::-webkit-scrollbar {
    display: none;
}

.uk-sidebar-section {
    margin-bottom: var(--uk-spacing-2);
}

.uk-sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--uk-color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--uk-spacing-1);
    padding: 0 var(--uk-spacing-1-5);
}

.uk-sidebar-divider {
    height: 1px;
    background-color: var(--uk-color-gray-200);
    margin: var(--uk-spacing-1-5) 0;
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-section-title {
    color: var(--uk-color-gray-400);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-divider {
    background-color: var(--uk-color-gray-700);
}

/* 2-Column Layout with Sidebar */
.uk-layout-with-sidebar {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.uk-main-content {
    margin-left: 280px;
    margin-top: 60px;
    /* Account for top sidebar */
    transition: margin-left var(--uk-transition-speed) var(--uk-transition-ease);
    min-height: calc(100vh - 60px);
    background-color: var(--uk-color-light-gray);
    width: calc(100% - 280px);
    box-sizing: border-box;
}

.uk-main-content.uk-sidebar-collapsed {
    margin-left: 60px;
    width: calc(100% - 60px);
}

.uk-main-content.uk-sidebar-hidden {
    margin-left: 0;
    width: 100%;
}

/* Sidebar Theme Toggle */
.uk-sidebar-theme-toggle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--uk-spacing-1);
    border-top: 1px solid var(--uk-color-gray-200);
    background-color: var(--uk-color-light-gray);
}

.uk-sidebar-theme-toggle .uk-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--uk-spacing-1);
    border-radius: var(--uk-border-radius-base);
    background-color: var(--uk-color-white);
    cursor: pointer;
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-theme-toggle .uk-checkbox-label:hover {
    background-color: var(--uk-color-gray-50);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-theme-toggle {
    border-top-color: var(--uk-color-gray-700);
    background-color: var(--uk-color-gray-800);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-theme-toggle .uk-checkbox-label {
    background-color: var(--uk-color-gray-700);
    color: var(--uk-color-gray-300);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-theme-toggle .uk-checkbox-label:hover {
    background-color: var(--uk-color-gray-600);
}

.uk-sidebar-theme-toggle .uk-checkbox {
    margin: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--uk-color-primary);
}

.uk-sidebar.uk-sidebar-dark .uk-sidebar-theme-toggle .uk-checkbox {
    accent-color: var(--uk-color-primary-accent);
}

/* Top Sidebar */
.uk-sidebar-top {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    height: 60px;
    background-color: var(--uk-color-white);
    border-bottom: 1px solid var(--uk-color-gray-200);
    z-index: 999;
    display: flex;
    align-items: center;
    padding: 0 var(--uk-spacing-3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: left var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-top.uk-sidebar-collapsed {
    left: 60px;
}

.uk-sidebar-top.uk-sidebar-hidden {
    left: 0;
}

.uk-sidebar-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.uk-sidebar-top-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--uk-color-gray-900);
    margin: 0;
}

.uk-sidebar-top-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--uk-spacing-1);
    font-size: 0.875rem;
    color: var(--uk-color-gray-600);
}

.uk-sidebar-top-breadcrumb .uk-breadcrumb-item {
    display: flex;
    align-items: center;
}

.uk-sidebar-top-breadcrumb .uk-breadcrumb-item:not(:last-child)::after {
    color: var(--uk-color-gray-400);
}

.uk-sidebar-top-breadcrumb .uk-breadcrumb-item a {
    color: var(--uk-color-gray-600);
    text-decoration: none;
    transition: color var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-sidebar-top-breadcrumb .uk-breadcrumb-item a:hover {
    color: var(--uk-color-primary);
}

.uk-sidebar-top-breadcrumb .uk-breadcrumb-item.uk-active {
    color: var(--uk-color-gray-900);
    font-weight: 500;
}

.uk-sidebar-top-actions {
    display: flex;
    align-items: center;
    gap: var(--uk-spacing-2);
}

/* Dark theme for top sidebar */
.uk-sidebar-top.uk-sidebar-dark {
    background-color: var(--uk-color-gray-900);
    border-bottom-color: var(--uk-color-gray-700);
}

.uk-sidebar-top.uk-sidebar-dark .uk-sidebar-top-title {
    color: var(--uk-color-white);
}

.uk-sidebar-top.uk-sidebar-dark .uk-sidebar-top-breadcrumb {
    color: var(--uk-color-gray-300);
}

.uk-sidebar-top.uk-sidebar-dark .uk-sidebar-top-breadcrumb .uk-breadcrumb-item a {
    color: var(--uk-color-gray-300);
}

.uk-sidebar-top.uk-sidebar-dark .uk-sidebar-top-breadcrumb .uk-breadcrumb-item a:hover {
    color: var(--uk-color-white);
}

.uk-sidebar-top.uk-sidebar-dark .uk-sidebar-top-breadcrumb .uk-breadcrumb-item.uk-active {
    color: var(--uk-color-white);
}

/* Sidebar Responsive */
@media (max-width: 991.98px) {
    .uk-sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .uk-sidebar.uk-sidebar-right {
        transform: translateX(100%);
    }

    .uk-sidebar.uk-show {
        transform: translateX(0);
    }

    .uk-main-content {
        margin-left: 0;
        width: 100%;
    }

    .uk-sidebar-toggle {
        display: block;
    }
}

@media (min-width: 992px) {
    .uk-sidebar-toggle {
        display: none;
    }

    .uk-sidebar.uk-sidebar-hidden {
        transform: translateX(-100%);
    }

    .uk-sidebar.uk-sidebar-right.uk-sidebar-hidden {
        transform: translateX(100%);
    }
}

/* Additional Dashboard Classes */
.uk-section {
    padding: var(--uk-spacing-4) 0;
}

.uk-section:first-child {
    padding-top: 0;
}

.uk-section:last-child {
    padding-bottom: 0;
}

.uk-main-container {
    padding: var(--uk-spacing-4) 0;
}

.uk-card.uk-border-rounded {
    border-radius: var(--uk-border-radius-base);
}

.uk-text-large {
    font-size: 1.25rem;
}

.uk-text-small {
    font-size: 0.875rem;
}

.uk-text-muted {
    color: var(--uk-color-gray-600);
}

.uk-text-primary {
    color: var(--uk-color-primary);
}

.uk-text-bold {
    font-weight: var(--uk-font-weight-bold);
}

.uk-text-right {
    text-align: right;
}

.uk-text-center {
    text-align: center;
}

.uk-margin-remove {
    margin: 0;
}

.uk-margin-small-right {
    margin-right: var(--uk-spacing-1);
}

.uk-margin-small-left {
    margin-left: var(--uk-spacing-1);
}

.uk-margin-small-bottom {
    margin-bottom: var(--uk-spacing-1);
}

.uk-margin-small-top {
    margin-top: var(--uk-spacing-1);
}

.uk-margin-small {
    margin: var(--uk-spacing-1);
}

.uk-margin-bottom {
    margin-bottom: var(--uk-spacing-3);
}

.uk-padding-large {
    padding: var(--uk-spacing-4);
}

.uk-placeholder {
    background-color: var(--uk-color-gray-100);
    border: 2px dashed var(--uk-color-gray-300);
    border-radius: var(--uk-border-radius-base);
    color: var(--uk-color-gray-600);
    padding: var(--uk-spacing-3);
}

.uk-grid-medium {
    gap: var(--uk-spacing-3);
}

.uk-flex {
    display: flex;
}

.uk-flex-middle {
    align-items: center;
}

.uk-flex-between {
    justify-content: space-between;
}

.uk-flex-left {
    justify-content: flex-start;
}

.uk-flex-right {
    justify-content: flex-end;
}

.uk-flex-center {
    justify-content: center;
}

.uk-icon {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
}

.uk-text-large .uk-icon {
    font-size: 1.5rem;
}

/* Card color variants */
.uk-card-primary {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
}

.uk-card-success {
    background-color: var(--uk-color-success);
    color: var(--uk-color-white);
}

.uk-card-warning {
    background-color: var(--uk-color-warning);
    color: var(--uk-color-white);
}

.uk-card-danger {
    background-color: var(--uk-color-danger);
    color: var(--uk-color-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .uk-section {
        padding: var(--uk-spacing-3) 0;
    }

    .uk-main-container {
        padding: var(--uk-spacing-3) 0;
    }

    .uk-padding-large {
        padding: var(--uk-spacing-3);
    }
}

/* ================================================ */
/* FORM CONTROLS & VALIDATION STYLES */
/* ================================================ */

/* Form validation styles */
.uk-form-error {
    color: var(--uk-color-danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.uk-input.uk-form-danger,
.uk-select.uk-form-danger {
    border-color: var(--uk-color-danger);
}

.uk-input.uk-form-danger:focus,
.uk-select.uk-form-danger:focus {
    border-color: var(--uk-color-danger);
    box-shadow: 0 0 0 1px var(--uk-color-danger);
}

/* Password toggle button styles */
.uk-position-relative {
    position: relative;
}

.uk-position-relative .uk-input {
    padding-right: 2.5rem;
}

.uk-position-relative button {
    z-index: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.uk-position-relative button:hover {
    opacity: 0.7;
}

/* Loading spinner styles */
.uk-spinner {
    border: 2px solid var(--uk-color-gray-300);
    border-top: 2px solid var(--uk-color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modal improvements */
.uk-modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Form group spacing */
.uk-form-group {
    margin-bottom: 1rem;
}

/* Form spacing for consistent layout */
.uk-form-spacing .uk-form-group {
    margin-bottom: 1.5rem;
}

.uk-form-spacing .uk-row {
    margin-bottom: 1.5rem;
}

.uk-form-spacing .uk-row:last-child {
    margin-bottom: 0;
}

.uk-form-spacing .uk-form-group:last-child {
    margin-bottom: 0;
}

.uk-form-spacing .uk-margin-top {
    margin-top: 1.5rem !important;
}

/* Role and status descriptions */
.uk-select option {
    padding: 0.5rem;
}

/* Form stacked layout */
.uk-form-stacked .uk-form-group {
    margin-bottom: 1.5rem;
}

.uk-form-stacked .uk-label {
    margin-bottom: 0.5rem;
    display: block;
}

/* Required field indicator */
.uk-text-danger {
    color: var(--uk-color-danger) !important;
}

/* Loading states */
.uk-form-loading {
    opacity: 0.5;
    pointer-events: none;
}

.uk-form-loading .uk-spinner {
    width: 16px;
    height: 16px;
}

/* Button loading states */
.uk-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.uk-button .uk-spinner {
    margin-right: 0.5rem;
}

/* Form feedback styles */
.uk-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.uk-feedback.uk-valid {
    color: var(--uk-color-success);
}

.uk-feedback.uk-invalid {
    color: var(--uk-color-danger);
}

/* Ensure feedback appears at the end of form group */
.uk-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.uk-form-group .uk-feedback {
    order: 999;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Ensure proper spacing when feedback is present */
.uk-form-group:has(.uk-feedback) {
    margin-bottom: 1.5rem;
}

/* Input focus states */
.uk-input:focus,
.uk-select:focus {
    border-color: var(--uk-color-primary);
    box-shadow: 0 0 0 1px var(--uk-color-primary);
    outline: none;
}

/* Checkbox and radio improvements */
.uk-checkbox:focus,
.uk-radio:focus {
    box-shadow: 0 0 0 1px var(--uk-color-primary);
}

/* Form validation icons */
.uk-form-group.uk-has-success .uk-input,
.uk-form-group.uk-has-success .uk-select {
    border-color: var(--uk-color-success);
}

.uk-form-group.uk-has-error .uk-input,
.uk-form-group.uk-has-error .uk-select {
    border-color: var(--uk-color-danger);
}

/* Responsive form improvements */
@media (max-width: 768px) {
    .uk-form-stacked .uk-form-group {
        margin-bottom: 1rem;
    }

    .uk-position-relative button {
        padding: 0.25rem;
        margin-right: 0.25rem;
    }

    .uk-modal-body {
        max-height: 60vh;
    }
}

/* ================================================ */
/* IMAGE PREVIEW COMPONENTS */
/* ================================================ */

/* Image Preview Grid Container */
.uk-image-preview-grid {
    display: grid;
    gap: var(--uk-spacing-1);
    max-width: 100%;
    margin-top: var(--uk-spacing-1);
}

/* Grid Layouts */
.uk-image-preview-grid.uk-grid-1 {
    grid-template-columns: repeat(1, 1fr);
}

.uk-image-preview-grid.uk-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.uk-image-preview-grid.uk-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.uk-image-preview-grid.uk-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.uk-image-preview-grid.uk-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.uk-image-preview-grid.uk-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Responsive Grid */
@media (max-width: 768px) {

    .uk-image-preview-grid.uk-grid-4,
    .uk-image-preview-grid.uk-grid-5,
    .uk-image-preview-grid.uk-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {

    .uk-image-preview-grid.uk-grid-3,
    .uk-image-preview-grid.uk-grid-4,
    .uk-image-preview-grid.uk-grid-5,
    .uk-image-preview-grid.uk-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .uk-image-preview-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Image Preview Item */
.uk-image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--uk-color-gray-100);
}

/* No hover effects - clean and simple */

/* Image Preview Item - Different Sizes */
.uk-image-preview-item.uk-size-xs {
    aspect-ratio: 1;
    min-width: 60px;
    min-height: 60px;
}

.uk-image-preview-item.uk-size-sm {
    aspect-ratio: 1;
    min-width: 80px;
    min-height: 80px;
}

.uk-image-preview-item.uk-size-md {
    aspect-ratio: 1;
    min-width: 100px;
    min-height: 100px;
}

.uk-image-preview-item.uk-size-lg {
    aspect-ratio: 1;
    min-width: 120px;
    min-height: 120px;
}

.uk-image-preview-item.uk-size-xl {
    aspect-ratio: 1;
    min-width: 150px;
    min-height: 150px;
}

/* Image Preview Item - Different Shapes */
.uk-image-preview-item.uk-shape-square {
    aspect-ratio: 1;
}

.uk-image-preview-item.uk-shape-rectangle {
    aspect-ratio: 16/9;
}

.uk-image-preview-item.uk-shape-portrait {
    aspect-ratio: 3/4;
}

.uk-image-preview-item.uk-shape-landscape {
    aspect-ratio: 4/3;
}

/* Image Preview Item - Different Border Radius */
.uk-image-preview-item.uk-radius-none {
    border-radius: 0;
}

.uk-image-preview-item.uk-radius-sm {
    border-radius: 4px;
}

.uk-image-preview-item.uk-radius-md {
    border-radius: 8px;
}

.uk-image-preview-item.uk-radius-lg {
    border-radius: 12px;
}

.uk-image-preview-item.uk-radius-full {
    border-radius: 50%;
}

/* Image Preview Item Content */
.uk-image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image Preview Item - Loading State */
.uk-image-preview-item.uk-loading {
    background-color: var(--uk-color-gray-200);
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Image Preview Item - Error State */
.uk-image-preview-item.uk-error {
    background-color: var(--uk-color-danger-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uk-image-preview-item.uk-error::before {
    content: "⚠️";
    font-size: 1.5rem;
}

/* Remove Button */
.uk-image-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--uk-color-danger);
    color: var(--uk-color-white);
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    z-index: 10;
}

.uk-image-preview-remove:hover {
    opacity: 1;
    background: var(--uk-color-danger-dark);
}

.uk-image-preview-remove:focus {
    outline: 2px solid var(--uk-color-primary);
    outline-offset: 2px;
}

/* File Name Display */
.uk-image-preview-filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--uk-color-white);
    padding: 4px 8px;
    font-size: 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.uk-image-preview-item:hover .uk-image-preview-filename {
    opacity: 1;
}

/* Image Preview Item - No Filename */
.uk-image-preview-item:not(.uk-has-filename) .uk-image-preview-filename {
    display: none;
}

/* Image Preview Item - No Remove Button */
.uk-image-preview-item:not(.uk-has-remove) .uk-image-preview-remove {
    display: none;
}

/* Image Preview Item - Overlay Effects */
.uk-image-preview-item.uk-overlay-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.uk-image-preview-item.uk-overlay-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Image Preview Item - Border Styles */
.uk-image-preview-item.uk-border-primary {
    border: 2px solid var(--uk-color-primary);
}

.uk-image-preview-item.uk-border-success {
    border: 2px solid var(--uk-color-success);
}

.uk-image-preview-item.uk-border-warning {
    border: 2px solid var(--uk-color-warning);
}

.uk-image-preview-item.uk-border-danger {
    border: 2px solid var(--uk-color-danger);
}

/* Image Preview Item - Status Indicators */
.uk-image-preview-status {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--uk-color-white);
    z-index: 10;
}

.uk-image-preview-status.uk-status-success {
    background-color: var(--uk-color-success);
}

.uk-image-preview-status.uk-status-warning {
    background-color: var(--uk-color-warning);
}

.uk-image-preview-status.uk-status-error {
    background-color: var(--uk-color-danger);
}

.uk-image-preview-status.uk-status-info {
    background-color: var(--uk-color-info);
}

/* Zoom Effect - Disabled by default */
/* .uk-image-preview-item.uk-zoom-on-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
} */

/* Fade In Animation - Disabled by default */
/* .uk-image-preview-item.uk-fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} */

/* Slide In Animation - Disabled by default */
/* .uk-image-preview-item.uk-slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* Image Preview Empty State */
.uk-image-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background-color: var(--uk-color-gray-50);
    border: 2px dashed var(--uk-color-gray-300);
    border-radius: 8px;
    color: var(--uk-color-gray-500);
    font-size: 14px;
}

.uk-image-preview-empty::before {
    content: "📷";
    font-size: 2rem;
    margin-right: 8px;
}

/* Image Preview Loading Container */
.uk-image-preview-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    background-color: var(--uk-color-gray-50);
    border-radius: 8px;
}

.uk-image-preview-loading .uk-spinner {
    margin-right: 8px;
}

/* ================================================ */
/* SELECT WITH SEARCH COMPONENT */
/* ================================================ */

/* Container cho custom select */
.uk-select-search-container {
    position: relative;
    display: inline-block;
    width: 100%;
    z-index: 998;
    /* Thấp hơn modal để tránh xung đột */
}

/* Trigger button - giống như select thông thường */
.uk-select-search-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--uk-input-padding-y) var(--uk-input-padding-x);
    font-size: var(--uk-input-font-size);
    font-weight: var(--uk-input-font-weight);
    line-height: var(--uk-input-line-height);
    color: var(--uk-input-color);
    background-color: var(--uk-input-bg);
    background-image: none;
    border: 2px solid var(--uk-input-border-color);
    border-radius: var(--uk-input-border-radius);
    transition: var(--uk-input-transition);
    cursor: pointer;
    user-select: none;
}

.uk-select-search-trigger:hover {
    border-color: var(--uk-input-border-color-hover);
}

.uk-select-search-trigger.uk-open {
    border-color: var(--uk-color-primary);
    border-width: 2px;
    box-shadow: 0 0 0 0.2rem rgba(var(--uk-color-primary-rgb), 0.25);
}

/* Value text */
.uk-select-search-value {
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Arrow icon */
.uk-select-search-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--uk-color-gray-500);
    transition: transform var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-select-search-trigger.uk-open .uk-select-search-arrow {
    transform: rotate(180deg);
}

/* Dropdown container */
.uk-select-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    /* Thấp hơn modal (1000) */
    background-color: var(--uk-color-white);
    border: 2px solid var(--uk-color-primary);
    border-radius: var(--uk-border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--uk-transition-speed) var(--uk-transition-ease);
    max-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.uk-select-search-dropdown.uk-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Search input container */
.uk-select-search-input-container {
    padding: 0.5rem;
    border-bottom: 1px solid var(--uk-color-gray-200);
    background-color: var(--uk-color-gray-50);
    position: relative;
    z-index: 1001;
    /* Cao hơn dropdown nhưng thấp hơn modal overlay */
}

/* Search input */
.uk-select-search-input {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--uk-color-gray-300);
    border-radius: var(--uk-border-radius-sm);
    background-color: var(--uk-color-white);
    transition: border-color var(--uk-transition-speed) var(--uk-transition-ease);
}

.uk-select-search-input:focus {
    outline: none;
    border-color: var(--uk-color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--uk-color-primary-rgb), 0.25);
}

/* Options container */
.uk-select-search-options {
    flex: 1;
    overflow-y: auto;
    max-height: 200px;
}

/* Individual option */
.uk-select-search-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: background-color var(--uk-transition-speed) var(--uk-transition-ease);
    border-bottom: 1px solid var(--uk-color-gray-100);
    color: var(--uk-color-gray-700);
}

.uk-select-search-option:last-child {
    border-bottom: none;
}

.uk-select-search-option:hover,
.uk-select-search-option.uk-focused {
    background-color: var(--uk-color-primary-light);
    color: var(--uk-color-white);
}

.uk-select-search-option.uk-selected {
    background-color: var(--uk-color-primary);
    color: var(--uk-color-white);
    font-weight: 600;
}

.uk-select-search-option.uk-selected::after {
    content: "✓";
    float: right;
    font-weight: bold;
}

/* Empty state */
.uk-select-search-options:empty::after {
    content: "Không tìm thấy kết quả";
    display: block;
    padding: 1rem;
    text-align: center;
    color: var(--uk-color-gray-500);
    font-style: italic;
}

/* Disabled state */
.uk-select-search-container.uk-disabled .uk-select-search-trigger {
    background-color: var(--uk-color-gray-100);
    color: var(--uk-color-gray-500);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Size variants */
.uk-select-search-container.uk-select-sm .uk-select-search-trigger {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.uk-select-search-container.uk-select-lg .uk-select-search-trigger {
    padding: 0.5rem 1rem;
    font-size: 1.125rem;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .uk-select-search-dropdown {
        max-height: 250px;
    }

    .uk-select-search-options {
        max-height: 150px;
    }
}

/* Custom scrollbar for options */
.uk-select-search-options::-webkit-scrollbar {
    width: 6px;
}

.uk-select-search-options::-webkit-scrollbar-track {
    background: var(--uk-color-gray-100);
}

.uk-select-search-options::-webkit-scrollbar-thumb {
    background: var(--uk-color-gray-400);
    border-radius: 3px;
}

.uk-select-search-options::-webkit-scrollbar-thumb:hover {
    background: var(--uk-color-gray-500);
}

/* ================================================ */
/* INPUT GROUP COMPONENTS */
/* ================================================ */

/* ===== INPUT GROUP BASE ===== */
.uk-input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.uk-input-group>.uk-form-control,
.uk-input-group>.uk-form-select,
.uk-input-group>.uk-input,
.uk-input-group>.uk-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.uk-input-group>.uk-form-control:focus,
.uk-input-group>.uk-form-select:focus,
.uk-input-group>.uk-input:focus,
.uk-input-group>.uk-select:focus {
    z-index: 5;
}

/* ===== INPUT GROUP TEXT ===== */
.uk-input-group-text {
    display: flex;
    align-items: center;
    padding: var(--uk-input-padding-y) var(--uk-input-padding-x);
    font-size: var(--uk-input-font-size);
    font-weight: var(--uk-input-font-weight);
    line-height: var(--uk-input-line-height);
    color: var(--uk-color-gray-700);
    text-align: center;
    white-space: nowrap;
    background-color: var(--uk-color-gray-100);
    border: var(--uk-input-border-width) solid var(--uk-input-border-color);
    border-radius: var(--uk-input-border-radius);
}

/* ===== INPUT GROUP PREPEND/APPEND ===== */
.uk-input-group-prepend,
.uk-input-group-append {
    display: flex;
}

.uk-input-group-prepend .uk-button,
.uk-input-group-append .uk-button {
    position: relative;
    z-index: 2;
}

.uk-input-group-prepend .uk-button:focus,
.uk-input-group-append .uk-button:focus {
    z-index: 3;
}

/* ===== BORDER RADIUS ADJUSTMENTS ===== */
.uk-input-group>.uk-input-group-prepend>.uk-button,
.uk-input-group>.uk-input-group-prepend>.uk-input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.uk-input-group>.uk-input-group-append>.uk-button,
.uk-input-group>.uk-input-group-append>.uk-input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.uk-input-group>.uk-form-control:not(:first-child),
.uk-input-group>.uk-input:not(:first-child),
.uk-input-group>.uk-select:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.uk-input-group>.uk-form-control:not(:last-child),
.uk-input-group>.uk-input:not(:last-child),
.uk-input-group>.uk-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ===== BORDER ADJUSTMENTS ===== */
.uk-input-group>.uk-input-group-prepend>.uk-button,
.uk-input-group>.uk-input-group-prepend>.uk-input-group-text,
.uk-input-group>.uk-form-control:not(:first-child),
.uk-input-group>.uk-input:not(:first-child),
.uk-input-group>.uk-select:not(:first-child) {
    margin-left: calc(var(--uk-input-border-width) * -1);
}

/* ===== INPUT GROUP SIZES ===== */
.uk-input-group-sm>.uk-form-control,
.uk-input-group-sm>.uk-input,
.uk-input-group-sm>.uk-select,
.uk-input-group-sm>.uk-input-group-text,
.uk-input-group-sm>.uk-input-group-prepend>.uk-button,
.uk-input-group-sm>.uk-input-group-append>.uk-button {
    padding: var(--uk-button-sm-padding-y) var(--uk-button-sm-padding-x);
    font-size: var(--uk-button-sm-font-size);
    border-radius: var(--uk-border-radius-sm);
}

.uk-input-group-lg>.uk-form-control,
.uk-input-group-lg>.uk-input,
.uk-input-group-lg>.uk-select,
.uk-input-group-lg>.uk-input-group-text,
.uk-input-group-lg>.uk-input-group-prepend>.uk-button,
.uk-input-group-lg>.uk-input-group-append>.uk-button {
    padding: var(--uk-button-lg-padding-y) var(--uk-button-lg-padding-x);
    font-size: var(--uk-button-lg-font-size);
    border-radius: var(--uk-border-radius-lg);
}

/* ===== VERTICAL INPUT GROUP ===== */
.uk-input-group-vertical {
    flex-direction: column;
    align-items: stretch;
}

.uk-input-group-vertical>.uk-form-control,
.uk-input-group-vertical>.uk-input,
.uk-input-group-vertical>.uk-select {
    width: 100%;
}

.uk-input-group-vertical>.uk-input-group-prepend,
.uk-input-group-vertical>.uk-input-group-append {
    width: 100%;
}

.uk-input-group-vertical>.uk-input-group-prepend>.uk-button,
.uk-input-group-vertical>.uk-input-group-prepend>.uk-input-group-text {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--uk-input-border-radius);
    border-top-right-radius: var(--uk-input-border-radius);
}

.uk-input-group-vertical>.uk-input-group-append>.uk-button,
.uk-input-group-vertical>.uk-input-group-append>.uk-input-group-text {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: var(--uk-input-border-radius);
    border-bottom-right-radius: var(--uk-input-border-radius);
}

.uk-input-group-vertical>.uk-form-control:not(:first-child),
.uk-input-group-vertical>.uk-input:not(:first-child),
.uk-input-group-vertical>.uk-select:not(:first-child) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: calc(var(--uk-input-border-width) * -1);
    margin-left: 0;
}

.uk-input-group-vertical>.uk-form-control:not(:last-child),
.uk-input-group-vertical>.uk-input:not(:last-child),
.uk-input-group-vertical>.uk-select:not(:last-child) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* ===== SEARCH INPUT GROUP ===== */
.uk-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--uk-color-white);
    border: var(--uk-input-border-width) solid var(--uk-input-border-color);
    border-radius: var(--uk-input-border-radius);
    transition: var(--uk-input-transition);
}

.uk-search-input-group:focus-within {
    border-color: var(--uk-input-border-color-focus);
    box-shadow: var(--uk-box-shadow-focus);
}

.uk-search-input-group .uk-input {
    border: none;
    background: transparent;
    box-shadow: none;
    flex: 1;
}

.uk-search-input-group .uk-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.uk-search-input-group .uk-button {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 8px 12px;
    color: var(--uk-color-gray-500);
}

.uk-search-input-group .uk-button:hover {
    background: var(--uk-color-gray-100);
    color: var(--uk-color-gray-700);
}

/* ===== BUTTON GROUP ===== */
.uk-button-group {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.uk-button-group>.uk-button {
    position: relative;
    flex: 1 1 auto;
}

.uk-button-group>.uk-button:hover,
.uk-button-group>.uk-button:focus,
.uk-button-group>.uk-button:active,
.uk-button-group>.uk-button.uk-active {
    z-index: 1;
}

.uk-button-group>.uk-button:not(:first-child) {
    margin-left: calc(var(--uk-button-border-width) * -1);
}

.uk-button-group>.uk-button:not(:last-child):not(.uk-dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.uk-button-group>.uk-button:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ===== BUTTON GROUP VERTICAL ===== */
.uk-button-group-vertical {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.uk-button-group-vertical>.uk-button {
    width: 100%;
}

.uk-button-group-vertical>.uk-button:not(:first-child) {
    margin-top: calc(var(--uk-button-border-width) * -1);
    margin-left: 0;
}

.uk-button-group-vertical>.uk-button:not(:last-child):not(.uk-dropdown-toggle) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.uk-button-group-vertical>.uk-button:not(:first-child) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* ================================================ */
/* CHATBOT SPECIFIC UTILITIES */
/* ================================================ */

/* Full height utilities */
.uk-height-100vh {
    height: 100vh;
}

.uk-height-100 {
    height: 100%;
}

.uk-width-100 {
    width: 100%;
}

/* Flex utilities */
.uk-flex-column {
    flex-direction: column;
}

.uk-flex-1 {
    flex: 1;
}

.uk-flex-wrap {
    flex-wrap: wrap;
}

.uk-flex-nowrap {
    flex-wrap: nowrap;
}

.uk-justify-content-end {
    justify-content: flex-end;
}

.uk-justify-content-start {
    justify-content: flex-start;
}

.uk-align-items-center {
    align-items: center;
}

.uk-align-items-start {
    align-items: flex-start;
}

.uk-align-items-end {
    align-items: flex-end;
}

/* Overflow utilities */
.uk-overflow-hidden {
    overflow: hidden;
}

.uk-overflow-auto {
    overflow: auto;
}

.uk-overflow-y-auto {
    overflow-y: auto;
}

.uk-overflow-x-hidden {
    overflow-x: hidden;
}

/* Position utilities */
.uk-position-relative {
    position: relative;
}

.uk-position-absolute {
    position: absolute;
}

.uk-position-fixed {
    position: fixed;
}

.uk-position-sticky {
    position: sticky;
}

/* Display utilities */
.uk-display-none {
    display: none;
}

.uk-display-block {
    display: block;
}

.uk-display-inline {
    display: inline;
}

.uk-display-inline-block {
    display: inline-block;
}

/* Border utilities */
.uk-border {
    border: var(--uk-border-width) var(--uk-border-style) var(--uk-border-color);
}

.uk-border-top {
    border-top: var(--uk-border-width) var(--uk-border-style) var(--uk-border-color);
}

.uk-border-bottom {
    border-bottom: var(--uk-border-width) var(--uk-border-style) var(--uk-border-color);
}

.uk-border-left {
    border-left: var(--uk-border-width) var(--uk-border-style) var(--uk-border-color);
}

.uk-border-right {
    border-right: var(--uk-border-width) var(--uk-border-style) var(--uk-border-color);
}

.uk-border-none {
    border: none;
}

/* Background utilities */
.uk-background-white {
    background-color: var(--uk-color-white);
}

.uk-background-light {
    background-color: var(--uk-color-light);
}

.uk-background-primary {
    background-color: var(--uk-color-primary);
}

.uk-background-secondary {
    background-color: var(--uk-color-secondary);
}

/* Padding utilities */
.uk-padding {
    padding: var(--uk-spacer-3);
}

.uk-padding-small {
    padding: var(--uk-spacer-2);
}

.uk-padding-large {
    padding: var(--uk-spacer-4);
}

.uk-padding-remove {
    padding: 0;
}

.uk-padding-remove-top {
    padding-top: 0;
}

.uk-padding-remove-bottom {
    padding-bottom: 0;
}

.uk-padding-remove-left {
    padding-left: 0;
}

.uk-padding-remove-right {
    padding-right: 0;
}

/* Margin utilities */
.uk-margin {
    margin: var(--uk-spacer-3);
}

.uk-margin-large {
    margin: var(--uk-spacer-4);
}

.uk-margin-remove-top {
    margin-top: 0;
}

.uk-margin-remove-left {
    margin-left: 0;
}

.uk-margin-remove-right {
    margin-right: 0;
}

/* Text utilities */
.uk-text-left {
    text-align: left;
}

.uk-text-white {
    color: var(--uk-color-white);
}

.uk-text-dark {
    color: var(--uk-color-dark);
}

.uk-text-success {
    color: var(--uk-color-success);
}

.uk-text-danger {
    color: var(--uk-color-danger);
}

.uk-text-warning {
    color: var(--uk-color-warning);
}

.uk-text-info {
    color: var(--uk-color-info);
}

/* Shadow utilities */
.uk-box-shadow {
    box-shadow: var(--uk-box-shadow);
}

.uk-box-shadow-small {
    box-shadow: var(--uk-box-shadow-sm);
}

.uk-box-shadow-large {
    box-shadow: var(--uk-box-shadow-lg);
}

.uk-box-shadow-none {
    box-shadow: none;
}

/* Position utilities for toast */
.uk-position-top-right {
    top: 1rem;
    right: 1rem;
}

.uk-position-top-left {
    top: 1rem;
    left: 1rem;
}

.uk-position-bottom-right {
    bottom: 1rem;
    right: 1rem;
}

.uk-position-bottom-left {
    bottom: 1rem;
    left: 1rem;
}

/* Animation classes */
.uk-animation-fade {
    animation: uk-fade 0.3s ease-in-out;
}

@keyframes uk-fade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lucide Icons Styling */
.uk-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.uk-icon-small {
    width: 0.875em;
    height: 0.875em;
}

.uk-icon-large {
    width: 1.25em;
    height: 1.25em;
}

.uk-icon-xlarge {
    width: 1.5em;
    height: 1.5em;
}

/* Additional utility classes */
.uk-height-viewport {
    height: 100vh;
}

.uk-width-1-1 {
    width: 100%;
}

.uk-flex-shrink-0 {
    flex-shrink: 0;
}

.uk-flex-grow-1 {
    flex-grow: 1;
}