/* =================================================================
   CSS GRID UTILITIES
   ================================================================= */

/* Grid containers */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Grid column span utilities (1-12 columns for 12-column system) */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-10 { grid-column: span 10 / span 10; }
.col-span-11 { grid-column: span 11 / span 11; }
.col-span-12 { grid-column: span 12 / span 12; }

/* Starting column utilities for offset positioning */
.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.col-start-3 { grid-column-start: 3; }
.col-start-4 { grid-column-start: 4; }
.col-start-5 { grid-column-start: 5; }
.col-start-6 { grid-column-start: 6; }
.col-start-7 { grid-column-start: 7; }
.col-start-8 { grid-column-start: 8; }
.col-start-9 { grid-column-start: 9; }
.col-start-10 { grid-column-start: 10; }
.col-start-11 { grid-column-start: 11; }
.col-start-12 { grid-column-start: 12; }

/* Ending column utilities */
.col-end-1 { grid-column-end: 1; }
.col-end-2 { grid-column-end: 2; }
.col-end-3 { grid-column-end: 3; }
.col-end-4 { grid-column-end: 4; }
.col-end-5 { grid-column-end: 5; }
.col-end-6 { grid-column-end: 6; }
.col-end-7 { grid-column-end: 7; }
.col-end-8 { grid-column-end: 8; }
.col-end-9 { grid-column-end: 9; }
.col-end-10 { grid-column-end: 10; }
.col-end-11 { grid-column-end: 11; }
.col-end-12 { grid-column-end: 12; }

/* Grid row spans */
.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }
.row-span-4 { grid-row: span 4 / span 4; }

/* Grid flow direction */
.grid-flow-row { grid-auto-flow: row; }
.grid-flow-col { grid-auto-flow: column; }
.grid-flow-dense { grid-auto-flow: dense; }
.grid-flow-row-dense { grid-auto-flow: row dense; }
.grid-flow-col-dense { grid-auto-flow: column dense; }

/* Grid alignment */
.place-items-center {
    place-items: center;
}

.items-start { align-items: start; }
.items-end { align-items: end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: start; }
.justify-end { justify-content: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.justify-items-start { justify-items: start; }
.justify-items-end { justify-items: end; }
.justify-items-center { justify-items: center; }
.justify-items-stretch { justify-items: stretch; }

.place-content-center {
    place-content: center;
}

.place-content-start { place-content: start; }
.place-content-end { place-content: end; }
.place-content-stretch { place-content: stretch; }

/* Grid gap and spacing system */
.gap-1 { gap: var(--spacing-1); }
.gap-2 { gap: var(--spacing-2); }
.gap-3 { gap: var(--spacing-3); }
.gap-4 { gap: var(--spacing-4); }
.gap-5 { gap: var(--spacing-5); }
.gap-6 { gap: var(--spacing-6); }
.gap-8 { gap: var(--spacing-8); }
.gap-10 { gap: var(--spacing-10); }
.gap-12 { gap: var(--spacing-12); }
.gap-16 { gap: var(--spacing-16); }

/* Horizontal gap utilities */
.gap-x-1 { column-gap: var(--spacing-1); }
.gap-x-2 { column-gap: var(--spacing-2); }
.gap-x-3 { column-gap: var(--spacing-3); }
.gap-x-4 { column-gap: var(--spacing-4); }
.gap-x-5 { column-gap: var(--spacing-5); }
.gap-x-6 { column-gap: var(--spacing-6); }

/* Vertical gap utilities */
.gap-y-1 { row-gap: var(--spacing-1); }
.gap-y-2 { row-gap: var(--spacing-2); }
.gap-y-3 { row-gap: var(--spacing-3); }
.gap-y-4 { row-gap: var(--spacing-4); }
.gap-y-5 { row-gap: var(--spacing-5); }
.gap-y-6 { row-gap: var(--spacing-6); }

/* Auto-fit and auto-fill responsive grids */
.grid-cols-auto-fit { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-cols-auto-fill { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.grid-auto-fit-sm {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.grid-auto-fill-md {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.grid-auto-fit-lg {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

/* =================================================================
   RESPONSIVE WIDTH/HEIGHT UTILITIES - Using Breakpoint Custom Properties
   ================================================================= */

/* Responsive Width - Small and up */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:w-full { width: 100%; }
    .sm\:w-auto { width: auto; }
    .sm\:w-1\/2 { width: 50%; }
    .sm\:w-1\/3 { width: 33.333333%; }
    .sm\:w-2\/3 { width: 66.666667%; }
    .sm\:w-1\/4 { width: 25%; }
    .sm\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Medium and up */
@media (min-width: var(--breakpoint-md)) {
    .md\:w-full { width: 100%; }
    .md\:w-auto { width: auto; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    .md\:w-1\/4 { width: 25%; }
    .md\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Large and up */
@media (min-width: var(--breakpoint-lg)) {
    .lg\:w-full { width: 100%; }
    .lg\:w-auto { width: auto; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-1\/3 { width: 33.333333%; }
    .lg\:w-2\/3 { width: 66.666667%; }
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Extra Large and up */
@media (min-width: var(--breakpoint-xl)) {
    .xl\:w-full { width: 100%; }
    .xl\:w-auto { width: auto; }
    .xl\:w-1\/2 { width: 50%; }
    .xl\:w-1\/3 { width: 33.333333%; }
    .xl\:w-2\/3 { width: 66.666667%; }
    .xl\:w-1\/4 { width: 25%; }
    .xl\:w-3\/4 { width: 75%; }
}

/* Responsive Width - 2XL and up */
@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:w-full { width: 100%; }
    .2xl\:w-auto { width: auto; }
    .2xl\:w-1\/2 { width: 50%; }
    .2xl\:w-1\/3 { width: 33.333333%; }
    .2xl\:w-2\/3 { width: 66.666667%; }
    .2xl\:w-1\/4 { width: 25%; }
    .2xl\:w-3\/4 { width: 75%; }
}

/* Responsive Height - Small and up */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:h-full { height: 100%; }
    .sm\:h-auto { height: auto; }
    .sm\:h-screen { height: 100vh; }
    .sm\:h-1\/2 { height: 50%; }
    .sm\:h-1\/3 { height: 33.333333%; }
    .sm\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Medium and up */
@media (min-width: var(--breakpoint-md)) {
    .md\:h-full { height: 100%; }
    .md\:h-auto { height: auto; }
    .md\:h-screen { height: 100vh; }
    .md\:h-1\/2 { height: 50%; }
    .md\:h-1\/3 { height: 33.333333%; }
    .md\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Large and up */
@media (min-width: var(--breakpoint-lg)) {
    .lg\:h-full { height: 100%; }
    .lg\:h-auto { height: auto; }
    .lg\:h-screen { height: 100vh; }
    .lg\:h-1\/2 { height: 50%; }
    .lg\:h-1\/3 { height: 33.333333%; }
    .lg\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Extra Large and up */
@media (min-width: var(--breakpoint-xl)) {
    .xl\:h-full { height: 100%; }
    .xl\:h-auto { height: auto; }
    .xl\:h-screen { height: 100vh; }
    .xl\:h-1\/2 { height: 50%; }
    .xl\:h-1\/3 { height: 33.333333%; }
    .xl\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - 2XL and up */
@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:h-full { height: 100%; }
    .2xl\:h-auto { height: auto; }
    .2xl\:h-screen { height: 100vh; }
    .2xl\:h-1\/2 { height: 50%; }
    .2xl\:h-1\/3 { height: 33.333333%; }
    .2xl\:h-2\/3 { height: 66.666667%; }
}

/* =================================================================
   RESPONSIVE GRID VARIATION CLASSES - Extra Large breakpoint (xl and up)
   ================================================================= */

/* Extra Large breakpoint (xl and up) */
@media (min-width: var(--breakpoint-xl)) {
    .xl\:grid {
        display: grid;
    }

    .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .xl\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .xl\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .xl\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
    .xl\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
    .xl\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
    .xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

    .xl\:col-span-1 { grid-column: span 1 / span 1; }
    .xl\:col-span-2 { grid-column: span 2 / span 2; }
    .xl\:col-span-3 { grid-column: span 3 / span 3; }
    .xl\:col-span-4 { grid-column: span 4 / span 4; }
    .xl\:col-span-5 { grid-column: span 5 / span 5; }
    .xl\:col-span-6 { grid-column: span 6 / span 6; }
    .xl\:col-span-7 { grid-column: span 7 / span 7; }
    .xl\:col-span-8 { grid-column: span 8 / span 8; }
    .xl\:col-span-9 { grid-column: span 9 / span 9; }
    .xl\:col-span-10 { grid-column: span 10 / span 10; }
    .xl\:col-span-11 { grid-column: span 11 / span 11; }
    .xl\:col-span-12 { grid-column: span 12 / span 12; }
}

/* =================================================================
   RESPONSIVE GRID VARIATION CLASSES - 2XL breakpoint (2xl and up)
   ================================================================= */

/* 2XL breakpoint (2xl and up) */
@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:grid {
        display: grid;
    }

    .2xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    .2xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .2xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .2xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .2xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .2xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .2xl\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .2xl\:grid-cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .2xl\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
    .2xl\:grid-cols-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
    .2xl\:grid-cols-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
    .2xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

    .2xl\:col-span-1 { grid-column: span 1 / span 1; }
    .2xl\:col-span-2 { grid-column: span 2 / span 2; }
    .2xl\:col-span-3 { grid-column: span 3 / span 3; }
    .2xl\:col-span-4 { grid-column: span 4 / span 4; }
    .2xl\:col-span-5 { grid-column: span 5 / span 5; }
    .2xl\:col-span-6 { grid-column: span 6 / span 6; }
    .2xl\:col-span-7 { grid-column: span 7 / span 7; }
    .2xl\:col-span-8 { grid-column: span 8 / span 8; }
    .2xl\:col-span-9 { grid-column: span 9 / span 9; }
    .2xl\:col-span-10 { grid-column: span 10 / span 10; }
    .2xl\:col-span-11 { grid-column: span 11 / span 11; }
    .2xl\:col-span-12 { grid-column: span 12 / span 12; }
}

/* =================================================================
   LAYOUT UTILITIES
   ================================================================= */

/* Container and Wrapper Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width, 1200px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding, var(--spacing-4));
    padding-right: var(--container-padding, var(--spacing-4));
}

.container-fluid {
    width: 100%;
    padding-left: var(--spacing-4);
    padding-right: var(--spacing-4);
}

.wrapper {
    width: 100%;
}

/* Breakpoint-specific containers - Using responsive container system */
@media (min-width: var(--breakpoint-sm)) {
    .container-sm {
        max-width: var(--container-sm);
    }
}

@media (min-width: var(--breakpoint-md)) {
    .container-md {
        max-width: var(--container-md);
    }
}

@media (min-width: var(--breakpoint-lg)) {
    .container-lg {
        max-width: var(--container-lg);
    }
}

@media (min-width: var(--breakpoint-xl)) {
    .container-xl {
        max-width: var(--container-xl);
    }
}

@media (min-width: var(--breakpoint-2xl)) {
    .container-2xl {
        max-width: var(--container-2xl);
    }
}

/* =================================================================
   SPACING AND ALIGNMENT HELPERS
   ================================================================= */

/* Margin Utilities */
/* Auto margins for centering */
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.m-auto { margin: auto; }

/* Margin scale */
.m-0 { margin: 0; }
.m-1 { margin: var(--spacing-1); }
.m-2 { margin: var(--spacing-2); }
.m-3 { margin: var(--spacing-3); }
.m-4 { margin: var(--spacing-4); }
.m-5 { margin: var(--spacing-5); }
.m-6 { margin: var(--spacing-6); }
.m-8 { margin: var(--spacing-8); }
.m-10 { margin: var(--spacing-10); }
.m-12 { margin: var(--spacing-12); }
.m-16 { margin: var(--spacing-16); }

/* Directional margins */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-1); }
.mt-2 { margin-top: var(--spacing-2); }
.mt-3 { margin-top: var(--spacing-3); }
.mt-4 { margin-top: var(--spacing-4); }
.mt-5 { margin-top: var(--spacing-5); }
.mt-6 { margin-top: var(--spacing-6); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-1); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-3 { margin-bottom: var(--spacing-3); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-5 { margin-bottom: var(--spacing-5); }
.mb-6 { margin-bottom: var(--spacing-6); }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--spacing-1); }
.ml-2 { margin-left: var(--spacing-2); }
.ml-3 { margin-left: var(--spacing-3); }
.ml-4 { margin-left: var(--spacing-4); }
.ml-5 { margin-left: var(--spacing-5); }
.ml-6 { margin-left: var(--spacing-6); }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--spacing-1); }
.mr-2 { margin-right: var(--spacing-2); }
.mr-3 { margin-right: var(--spacing-3); }
.mr-4 { margin-right: var(--spacing-4); }
.mr-5 { margin-right: var(--spacing-5); }
.mr-6 { margin-right: var(--spacing-6); }

/* X and Y margins */
.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: var(--spacing-1); margin-right: var(--spacing-1); }
.mx-2 { margin-left: var(--spacing-2); margin-right: var(--spacing-2); }
.mx-3 { margin-left: var(--spacing-3); margin-right: var(--spacing-3); }
.mx-4 { margin-left: var(--spacing-4); margin-right: var(--spacing-4); }
.mx-6 { margin-left: var(--spacing-6); margin-right: var(--spacing-6); }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: var(--spacing-1); margin-bottom: var(--spacing-1); }
.my-2 { margin-top: var(--spacing-2); margin-bottom: var(--spacing-2); }
.my-3 { margin-top: var(--spacing-3); margin-bottom: var(--spacing-3); }
.my-4 { margin-top: var(--spacing-4); margin-bottom: var(--spacing-4); }
.my-6 { margin-top: var(--spacing-6); margin-bottom: var(--spacing-6); }

/* Padding Utilities */
.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-1); }
.p-2 { padding: var(--spacing-2); }
.p-3 { padding: var(--spacing-3); }
.p-4 { padding: var(--spacing-4); }
.p-5 { padding: var(--spacing-5); }
.p-6 { padding: var(--spacing-6); }
.p-8 { padding: var(--spacing-8); }
.p-10 { padding: var(--spacing-10); }
.p-12 { padding: var(--spacing-12); }
.p-16 { padding: var(--spacing-16); }

/* Directional padding */
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: var(--spacing-1); }
.pt-2 { padding-top: var(--spacing-2); }
.pt-3 { padding-top: var(--spacing-3); }
.pt-4 { padding-top: var(--spacing-4); }
.pt-5 { padding-top: var(--spacing-5); }
.pt-6 { padding-top: var(--spacing-6); }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: var(--spacing-1); }
.pb-2 { padding-bottom: var(--spacing-2); }
.pb-3 { padding-bottom: var(--spacing-3); }
.pb-4 { padding-bottom: var(--spacing-4); }
.pb-5 { padding-bottom: var(--spacing-5); }
.pb-6 { padding-bottom: var(--spacing-6); }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: var(--spacing-1); }
.pl-2 { padding-left: var(--spacing-2); }
.pl-3 { padding-left: var(--spacing-3); }
.pl-4 { padding-left: var(--spacing-4); }
.pl-5 { padding-left: var(--spacing-5); }
.pl-6 { padding-left: var(--spacing-6); }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: var(--spacing-1); }
.pr-2 { padding-right: var(--spacing-2); }
.pr-3 { padding-right: var(--spacing-3); }
.pr-4 { padding-right: var(--spacing-4); }
.pr-5 { padding-right: var(--spacing-5); }
.pr-6 { padding-right: var(--spacing-6); }

/* X and Y padding */
.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: var(--spacing-1); padding-right: var(--spacing-1); }
.px-2 { padding-left: var(--spacing-2); padding-right: var(--spacing-2); }
.px-3 { padding-left: var(--spacing-3); padding-right: var(--spacing-3); }
.px-4 { padding-left: var(--spacing-4); padding-right: var(--spacing-4); }
.px-6 { padding-left: var(--spacing-6); padding-right: var(--spacing-6); }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: var(--spacing-1); padding-bottom: var(--spacing-1); }
.py-2 { padding-top: var(--spacing-2); padding-bottom: var(--spacing-2); }
.py-3 { padding-top: var(--spacing-3); padding-bottom: var(--spacing-3); }
.py-4 { padding-top: var(--spacing-4); padding-bottom: var(--spacing-4); }
.py-6 { padding-top: var(--spacing-6); padding-bottom: var(--spacing-6); }

/* =================================================================
   DISPLAY AND POSITIONING UTILITIES
   ================================================================= */

/* Display Utilities */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.none { display: none; }
.flex { display: flex; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Width Utilities */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-2\/4 { width: 50%; }
.w-3\/4 { width: 75%; }
.w-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }

/* Height Utilities */
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.h-1\/2 { height: 50%; }
.h-1\/3 { height: 33.333333%; }
.h-2\/3 { height: 66.666667%; }
.h-1\/4 { height: 25%; }
.h-2\/4 { height: 50%; }
.h-3\/4 { height: 75%; }
   RESPONSIVE WIDTH/HEIGHT UTILITIES - Using Breakpoint Custom Properties
   ================================================================= */

/* Responsive Width - Small and up */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:w-full { width: 100%; }
    .sm\:w-auto { width: auto; }
    .sm\:w-1\/2 { width: 50%; }
    .sm\:w-1\/3 { width: 33.333333%; }
    .sm\:w-2\/3 { width: 66.666667%; }
    .sm\:w-1\/4 { width: 25%; }
    .sm\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Medium and up */
@media (min-width: var(--breakpoint-md)) {
    .md\:w-full { width: 100%; }
    .md\:w-auto { width: auto; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    .md\:w-1\/4 { width: 25%; }
    .md\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Large and up */
@media (min-width: var(--breakpoint-lg)) {
    .lg\:w-full { width: 100%; }
    .lg\:w-auto { width: auto; }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-1\/3 { width: 33.333333%; }
    .lg\:w-2\/3 { width: 66.666667%; }
    .lg\:w-1\/4 { width: 25%; }
    .lg\:w-3\/4 { width: 75%; }
}

/* Responsive Width - Extra Large and up */
@media (min-width: var(--breakpoint-xl)) {
    .xl\:w-full { width: 100%; }
    .xl\:w-auto { width: auto; }
    .xl\:w-1\/2 { width: 50%; }
    .xl\:w-1\/3 { width: 33.333333%; }
    .xl\:w-2\/3 { width: 66.666667%; }
    .xl\:w-1\/4 { width: 25%; }
    .xl\:w-3\/4 { width: 75%; }
}

/* Responsive Width - 2XL and up */
@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:w-full { width: 100%; }
    .2xl\:w-auto { width: auto; }
    .2xl\:w-1\/2 { width: 50%; }
    .2xl\:w-1\/3 { width: 33.333333%; }
    .2xl\:w-2\/3 { width: 66.666667%; }
    .2xl\:w-1\/4 { width: 25%; }
    .2xl\:w-3\/4 { width: 75%; }
}

/* Responsive Height - Small and up */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:h-full { height: 100%; }
    .sm\:h-auto { height: auto; }
    .sm\:h-screen { height: 100vh; }
    .sm\:h-1\/2 { height: 50%; }
    .sm\:h-1\/3 { height: 33.333333%; }
    .sm\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Medium and up */
@media (min-width: var(--breakpoint-md)) {
    .md\:h-full { height: 100%; }
    .md\:h-auto { height: auto; }
    .md\:h-screen { height: 100vh; }
    .md\:h-1\/2 { height: 50%; }
    .md\:h-1\/3 { height: 33.333333%; }
    .md\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Large and up */
@media (min-width: var(--breakpoint-lg)) {
    .lg\:h-full { height: 100%; }
    .lg\:h-auto { height: auto; }
    .lg\:h-screen { height: 100vh; }
    .lg\:h-1\/2 { height: 50%; }
    .lg\:h-1\/3 { height: 33.333333%; }
    .lg\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - Extra Large and up */
@media (min-width: var(--breakpoint-xl)) {
    .xl\:h-full { height: 100%; }
    .xl\:h-auto { height: auto; }
    .xl\:h-screen { height: 100vh; }
    .xl\:h-1\/2 { height: 50%; }
    .xl\:h-1\/3 { height: 33.333333%; }
    .xl\:h-2\/3 { height: 66.666667%; }
}

/* Responsive Height - 2XL and up */
@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:h-full { height: 100%; }
    .2xl\:h-auto { height: auto; }
    .2xl\:h-screen { height: 100vh; }
    .2xl\:h-1\/2 { height: 50%; }
    .2xl\:h-1\/3 { height: 33.333333%; }
    .2xl\:h-2\/3 { height: 66.666667%; }
}

/* Border Utilities */
.border { border: 1px solid var(--border-color); }
.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }
.border-l { border-left: 1px solid var(--border-color); }
.border-r { border-right: 1px solid var(--border-color); }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* =================================================================
   RESPONSIVE LAYOUT MODIFIERS
   ================================================================= */

/* Responsive Display - Using Breakpoint Custom Properties */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:block { display: block; }
    .sm\:inline { display: inline; }
    .sm\:inline-block { display: inline-block; }
    .sm\:flex { display: flex; }
    .sm\:none { display: none; }
}

@media (min-width: var(--breakpoint-md)) {
    .md\:block { display: block; }
    .md\:inline { display: inline; }
    .md\:inline-block { display: inline-block; }
    .md\:flex { display: flex; }
    .md\:none { display: none; }
}

@media (min-width: var(--breakpoint-lg)) {
    .lg\:block { display: block; }
    .lg\:inline { display: inline; }
    .lg\:inline-block { display: inline-block; }
    .lg\:flex { display: flex; }
    .lg\:none { display: none; }
}

@media (min-width: var(--breakpoint-xl)) {
    .xl\:block { display: block; }
    .xl\:inline { display: inline; }
    .xl\:inline-block { display: inline-block; }
    .xl\:flex { display: flex; }
    .xl\:none { display: none; }
}

@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:block { display: block; }
    .2xl\:inline { display: inline; }
    .2xl\:inline-block { display: inline-block; }
    .2xl\:flex { display: flex; }
    .2xl\:none { display: none; }
}

/* Responsive Text Alignment - Using Breakpoint Custom Properties */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:text-left { text-align: left; }
    .sm\:text-center { text-align: center; }
    .sm\:text-right { text-align: right; }
}

@media (min-width: var(--breakpoint-md)) {
    .md\:text-left { text-align: left; }
    .md\:text-center { text-align: center; }
    .md\:text-right { text-align: right; }
}

@media (min-width: var(--breakpoint-lg)) {
    .lg\:text-left { text-align: left; }
    .lg\:text-center { text-align: center; }
    .lg\:text-right { text-align: right; }
}

@media (min-width: var(--breakpoint-xl)) {
    .xl\:text-left { text-align: left; }
    .xl\:text-center { text-align: center; }
    .xl\:text-right { text-align: right; }
}

@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:text-left { text-align: left; }
    .2xl\:text-center { text-align: center; }
    .2xl\:text-right { text-align: right; }
}

/* =================================================================
   RESPONSIVE TYPOGRAPHY UTILITIES
   ================================================================= */

/* Base responsive typography scaling using clamp() for fluid font sizes */

/* Fluid heading scale utilities */
.text-fluid-xs {
    font-size: clamp(var(--font-size-xs), 2.5vw, var(--font-size-sm));
}

.text-fluid-sm {
    font-size: clamp(var(--font-size-sm), 3vw, var(--font-size-base));
}

.text-fluid-base {
    font-size: clamp(var(--font-size-base), 3.5vw, var(--font-size-lg));
}

.text-fluid-lg {
    font-size: clamp(var(--font-size-lg), 4vw, var(--font-size-xl));
}

.text-fluid-xl {
    font-size: clamp(var(--font-size-xl), 4.5vw, var(--font-size-2xl));
}

.text-fluid-2xl {
    font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-3xl));
}

.text-fluid-3xl {
    font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-4xl));
}

/* Responsive font weight utilities */
.font-thin { font-weight: 100; }
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

/* Responsive line height utilities */
.leading-none { line-height: 1; }
.leading-tight { line-height: var(--line-height-tight); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* Breakpoint-specific font size adjustments */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:text-xs { font-size: var(--font-size-xs); }
    .sm\:text-sm { font-size: var(--font-size-sm); }
    .sm\:text-base { font-size: var(--font-size-base); }
    .sm\:text-lg { font-size: var(--font-size-lg); }
    .sm\:text-xl { font-size: var(--font-size-xl); }
    .sm\:text-2xl { font-size: var(--font-size-2xl); }
    .sm\:text-3xl { font-size: var(--font-size-3xl); }
    .sm\:text-4xl { font-size: var(--font-size-4xl); }
}

@media (min-width: var(--breakpoint-md)) {
    .md\:text-xs { font-size: var(--font-size-xs); }
    .md\:text-sm { font-size: var(--font-size-sm); }
    .md\:text-base { font-size: var(--font-size-base); }
    .md\:text-lg { font-size: var(--font-size-lg); }
    .md\:text-xl { font-size: var(--font-size-xl); }
    .md\:text-2xl { font-size: var(--font-size-2xl); }
    .md\:text-3xl { font-size: var(--font-size-3xl); }
    .md\:text-4xl { font-size: var(--font-size-4xl); }
}

@media (min-width: var(--breakpoint-lg)) {
    .lg\:text-xs { font-size: var(--font-size-xs); }
    .lg\:text-sm { font-size: var(--font-size-sm); }
    .lg\:text-base { font-size: var(--font-size-base); }
    .lg\:text-lg { font-size: var(--font-size-lg); }
    .lg\:text-xl { font-size: var(--font-size-xl); }
    .lg\:text-2xl { font-size: var(--font-size-2xl); }
    .lg\:text-3xl { font-size: var(--font-size-3xl); }
    .lg\:text-4xl { font-size: var(--font-size-4xl); }
}

@media (min-width: var(--breakpoint-xl)) {
    .xl\:text-xs { font-size: var(--font-size-xs); }
    .xl\:text-sm { font-size: var(--font-size-sm); }
    .xl\:text-base { font-size: var(--font-size-base); }
    .xl\:text-lg { font-size: var(--font-size-lg); }
    .xl\:text-xl { font-size: var(--font-size-xl); }
    .xl\:text-2xl { font-size: var(--font-size-2xl); }
    .xl\:text-3xl { font-size: var(--font-size-3xl); }
    .xl\:text-4xl { font-size: var(--font-size-4xl); }
}

@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:text-xs { font-size: var(--font-size-xs); }
    .2xl\:text-sm { font-size: var(--font-size-sm); }
    .2xl\:text-base { font-size: var(--font-size-base); }
    .2xl\:text-lg { font-size: var(--font-size-lg); }
    .2xl\:text-xl { font-size: var(--font-size-xl); }
    .2xl\:text-2xl { font-size: var(--font-size-2xl); }
    .2xl\:text-3xl { font-size: var(--font-size-3xl); }
    .2xl\:text-4xl { font-size: var(--font-size-4xl); }
}

/* Breakpoint-specific line height adjustments */
@media (min-width: var(--breakpoint-sm)) {
    .sm\:leading-tight { line-height: var(--line-height-tight); }
    .sm\:leading-normal { line-height: var(--line-height-normal); }
    .sm\:leading-relaxed { line-height: var(--line-height-relaxed); }
    .sm\:leading-loose { line-height: var(--line-height-loose); }
}

@media (min-width: var(--breakpoint-md)) {
    .md\:leading-tight { line-height: var(--line-height-tight); }
    .md\:leading-normal { line-height: var(--line-height-normal); }
    .md\:leading-relaxed { line-height: var(--line-height-relaxed); }
    .md\:leading-loose { line-height: var(--line-height-loose); }
}

@media (min-width: var(--breakpoint-lg)) {
    .lg\:leading-tight { line-height: var(--line-height-tight); }
    .lg\:leading-normal { line-height: var(--line-height-normal); }
    .lg\:leading-relaxed { line-height: var(--line-height-relaxed); }
    .lg\:leading-loose { line-height: var(--line-height-loose); }
}

@media (min-width: var(--breakpoint-xl)) {
    .xl\:leading-tight { line-height: var(--line-height-tight); }
    .xl\:leading-normal { line-height: var(--line-height-normal); }
    .xl\:leading-relaxed { line-height: var(--line-height-relaxed); }
    .xl\:leading-loose { line-height: var(--line-height-loose); }
}

@media (min-width: var(--breakpoint-2xl)) {
    .2xl\:leading-tight { line-height: var(--line-height-tight); }
    .2xl\:leading-normal { line-height: var(--line-height-normal); }
    .2xl\:leading-relaxed { line-height: var(--line-height-relaxed); }
    .2xl\:leading-loose { line-height: var(--line-height-loose); }
}

/* =================================================================
   FLEXBOX UTILITIES
   ================================================================= */

/* Flex Direction */
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }

/* Flex Wrap */
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }

/* Flex Items */
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

/* Flex Grow and Shrink */
.flex-grow { flex-grow: 1; }
.flex-grow-0 { flex-grow: 0; }
.flex-shrink { flex-shrink: 1; }
.flex-shrink-0 { flex-shrink: 0; }

/* Justify Content */
.justify-start { justify-content: start; }
.justify-end { justify-content: end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* Align Items */
.items-start { align-items: start; }
.items-end { align-items: end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

/* Align Self */
.self-auto { align-self: auto; }
.self-start { align-self: start; }
.self-end { align-self: end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }
.self-baseline { align-self: baseline; }

/* Align Content */
.content-start { align-content: start; }
.content-end { align-content: end; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-stretch { align-content: stretch; }

/* =================================================================
   TRANSITION AND ANIMATION UTILITIES
   ================================================================= */

:root {
    /* Transition Duration Constants - Using CSS Custom Properties */
    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 350ms;

    /* Animation Duration Constants */
    --animation-duration-fast: 200ms;
    --animation-duration-normal: 300ms;
    --animation-duration-slow: 500ms;

    /* Timing Functions */
    --timing-linear: linear;
    --timing-ease: ease;
    --timing-ease-in: ease-in;
    --timing-ease-out: ease-out;
    --timing-ease-in-out: ease-in-out;
}

/* ===== TRANSITION UTILITIES ===== */

/* Transition Property Utilities */
.transition-all {
    transition-property: all;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

.transition-none {
    transition-property: none;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

.transition-opacity {
    transition-property: opacity;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

.transition-shadow {
    transition-property: box-shadow;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

.transition-transform {
    transition-property: transform;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

.transition-text {
    transition-property: color, font-size, font-weight, letter-spacing, line-height, text-decoration, text-underline-offset;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--timing-ease);
}

/* Transition Duration Utilities */
.duration-fast {
    transition-duration: var(--duration-fast);
}

.duration-normal {
    transition-duration: var(--duration-normal);
}

.duration-slow {
    transition-duration: var(--duration-slow);
}

.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

/* Timing Function Utilities */
.ease-linear { transition-timing-function: var(--timing-linear); }
.ease-in { transition-timing-function: var(--timing-ease-in); }
.ease-out { transition-timing-function: var(--timing-ease-out); }
.ease-in-out { transition-timing-function: var(--timing-ease-in-out); }
.ease-spring { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.ease-bounce { transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); }

/* ===== ANIMATION UTILITIES ===== */

/* Keyframe Animations */

/* Fade animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide animations */
@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOutToLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes slideOutToRight {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

/* Scale animations */
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes scaleOut {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0.9); opacity: 0; }
}

/* Pulse animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0); }
    40%, 43% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -30px, 0); }
    70% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -15px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

/* Spin animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ping animation */
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* Animation Utility Classes */

/* Fade animations */
.animate-fade-in {
    animation: fadeIn var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-fade-out {
    animation: fadeOut var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-fade-in-up {
    animation: fadeInUp var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-fade-in-down {
    animation: fadeInDown var(--animation-duration-normal) var(--timing-ease-out);
}

/* Slide animations */
.animate-slide-in-left {
    animation: slideInFromLeft var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-slide-in-right {
    animation: slideInFromRight var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-slide-out-left {
    animation: slideOutToLeft var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-slide-out-right {
    animation: slideOutToRight var(--animation-duration-normal) var(--timing-ease-out);
}

/* Scale animations */
.animate-scale-in {
    animation: scaleIn var(--animation-duration-normal) var(--timing-ease-out);
}

.animate-scale-out {
    animation: scaleOut var(--animation-duration-normal) var(--timing-ease-out);
}

/* Special animations */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

/* Animation Duration Modifiers */
.animate-duration-fast { animation-duration: var(--animation-duration-fast); }
.animate-duration-normal { animation-duration: var(--animation-duration-normal); }
.animate-duration-slow { animation-duration: var(--animation-duration-slow); }
.animate-duration-75 { animation-duration: 75ms; }
.animate-duration-100 { animation-duration: 100ms; }
.animate-duration-200 { animation-duration: 200ms; }
.animate-duration-300 { animation-duration: 300ms; }
.animate-duration-500 { animation-duration: 500ms; }
.animate-duration-700 { animation-duration: 700ms; }
.animate-duration-1000 { animation-duration: 1000ms; }

/* Animation Timing Modifiers */
.animate-ease-linear { animation-timing-function: linear; }
.animate-ease-in { animation-timing-function: ease-in; }
.animate-ease-out { animation-timing-function: ease-out; }
.animate-ease-in-out { animation-timing-function: ease-in-out; }

/* Animation Direction and Fill Mode */
.animate-forwards { animation-fill-mode: forwards; }
.animate-backwards { animation-fill-mode: backwards; }
.animate-both { animation-fill-mode: both; }
.animate-alternate { animation-direction: alternate; }
.animate-reverse { animation-direction: reverse; }

/* Animation States */
.animate-paused { animation-play-state: paused; }
.animate-running { animation-play-state: running; }

/* ===== HOVER TRANSITIONS ===== */

/* Hover transition triggers for interactive elements */
.hover-transition {
    transition: all var(--duration-normal) var(--timing-ease);
}

.hover-scale {
    transition: transform var(--duration-normal) var(--timing-ease);
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-opacity {
    transition: opacity var(--duration-normal) var(--timing-ease);
}

.hover-opacity:hover {
    opacity: 0.8;
}

.hover-lift {
    transition: transform var(--duration-normal) var(--timing-ease), box-shadow var(--duration-normal) var(--timing-ease);
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =================================================================
   ACCESSIBILITY UTILITIES
   ================================================================= */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible states for keyboard navigation */
.focus-visible:focus {
    outline: 2px solid var(--dodgers-blue);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Skip links for navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dodgers-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Mobile-specific skip link only shown on mobile */
@media (min-width: 768px) {
    .sr-only-mobile {
        display: none;
    }
}

/* =================================================================
   LOADING ANIMATIONS - Phase 4.1.3 Implementation
   ================================================================= */

/* ===== LOADING SPINNERS ===== */

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

@keyframes spinner-grow {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes loading-dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes loading-bars {
    0% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
    40% { transform: scaleY(0.4); }
    100% { transform: scaleY(0.4); }
}

@keyframes spinning-dots {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(0.8); }
    50% { transform: rotate(180deg) scale(1.2); }
    75% { transform: rotate(270deg) scale(0.8); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Spinner variants */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid var(--dodgers-gray-200);
    border-right-color: var(--dodgers-blue);
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2rem;
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-color: var(--dodgers-blue);
    border-radius: 50%;
    animation: spinner-grow 0.75s linear infinite;
    opacity: 0;
}

.loading-dots {
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
}

.loading-dots > span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--dodgers-blue);
    animation: loading-dots 1.4s ease-in-out infinite both;
}

.loading-dots > span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots > span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots > span:nth-child(3) { animation-delay: 0s; }

.loading-bars {
    display: inline-flex;
    gap: 0.125rem;
    align-items: flex-end;
}

.loading-bars > span {
    width: 0.25rem;
    height: 1rem;
    background-color: var(--dodgers-blue);
    animation: loading-bars 1.2s ease-in-out infinite both;
    transform-origin: bottom;
}

.loading-bars > span:nth-child(1) { animation-delay: -1.1s; }
.loading-bars > span:nth-child(2) { animation-delay: -1.0s; }
.loading-bars > span:nth-child(3) { animation-delay: -0.9s; }
.loading-bars > span:nth-child(4) { animation-delay: -0.8s; }
.loading-bars > span:nth-child(5) { animation-delay: -0.7s; }

.spinning-dots {
    display: inline-flex;
    position: relative;
}

.spinning-dots > span {
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: var(--dodgers-blue);
}

.spinning-dots > span:nth-child(1) {
    top: 0.5rem;
    left: 1.25rem;
}

.spinning-dots > span:nth-child(2) {
    top: 0.75rem;
    left: 1rem;
}

.spinning-dots > span:nth-child(3) {
    top: 1.25rem;
    left: 0.75rem;
}

.spinning-dots > span:nth-child(4) {
    top: 1.5rem;
    left: 0.5rem;
}

@keyframes spinning-dots {
    0% {
        transform: rotate(0deg);
    }
    10% {
        background-color: var(--dodgers-blue);
    }
    20% {
        background-color: var(--dodgers-red);
    }
    30% {
        background-color: var(--dodgers-yellow);
    }
    40% {
        background-color: var(--dodgers-blue);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinning-dots > span:nth-child(1) { animation: spinning-dots 2s infinite linear; }
.spinning-dots > span:nth-child(2) { animation: spinning-dots 2s infinite linear 0.1s; }
.spinning-dots > span:nth-child(3) { animation: spinning-dots 2s infinite linear 0.2s; }
.spinning-dots > span:nth-child(4) { animation: spinning-dots 2s infinite linear 0.3s; }

/* ===== PROGRESS INDICATORS ===== */

@keyframes progress-bar {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes progress-bar-stripes {
    from { transform: translateX(0); }
    to { transform: translateX(1rem); }
}

@keyframes indeterminate {
    0% { transform: translateX(-100%) scaleX(1); }
    49.999% { transform: translateX(0%) scaleX(1); }
    50% { transform: translateX(0%) scaleX(1); }
    100% { transform: translateX(100%) scaleX(1); }
}

.progress-bar {
    position: relative;
    height: 0.5rem;
    background-color: var(--dodgers-gray-200);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-bar > .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dodgers-blue) 0%, var(--dodgers-red) 100%);
    border-radius: inherit;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    font-size: 0.75rem;
    padding-right: 0.25rem;
}

.progress-bar-striped > .progress-fill {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

.progress-bar-indeterminate > .progress-fill {
    width: 30% !important;
    animation: indeterminate 1.5s ease-in-out infinite;
}

.progress-circular {
    position: relative;
    width: 3rem;
    height: 3rem;
}

.progress-circular > svg {
    transform: rotate(-90deg);
}

.progress-circular > svg circle {
    cx: 1.5rem;
    cy: 1.5rem;
    r: 1.25rem;
    fill: none;
    stroke: var(--dodgers-gray-200);
    stroke-width: 0.25rem;
}

.progress-circular > svg circle.progress-fill {
    stroke: var(--dodgers-blue);
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

/* ===== SKELETON LOADING STATES ===== */

@keyframes skeleton-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes skeleton-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton {
    background-color: var(--dodgers-gray-100);
    border-radius: 0.25rem;
    animation: skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.skeleton-line {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-line:last-child {
    margin-bottom: 0;
}

.skeleton-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
}

.skeleton-rectangle {
    width: 100%;
    height: 8rem;
    border-radius: 0.5rem;
}

.skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background-color: var(--dodgers-gray-100);
    border-radius: 0.25rem;
}

.skeleton-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-light {
    background-color: var(--dodgers-gray-50);
}

.skeleton-dark {
    background-color: var(--dodgers-gray-200);
}

/* Skeleton card layout */
.skeleton-card {
    padding: 1rem;
    border: 1px solid var(--dodgers-gray-200);
    border-radius: 0.5rem;
}

.skeleton-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.skeleton-card-header .skeleton-circle {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.skeleton-card-header .skeleton-line {
    flex: 1;
    height: 1.25rem;
}

.skeleton-card-content .skeleton-line {
    margin-bottom: 0.5rem;
}

.skeleton-card-content .skeleton-line:nth-child(2) { width: 90%; }
.skeleton-card-content .skeleton-line:nth-child(3) { width: 75%; }

/* Skeleton list layout */
.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-list-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.skeleton-list-item .skeleton-circle {
    width: 2rem;
    height: 2rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.skeleton-list-item .skeleton-content {
    flex: 1;
}

.skeleton-list-item .skeleton-content .skeleton-line {
    height: 1rem;
    margin-bottom: 0.25rem;
}

.skeleton-list-item .skeleton-content .skeleton-line:nth-child(2) { width: 70%; }

/* ===== ENGAGING LOADING EXPERIENCES ===== */

@keyframes loading-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-0.5rem); }
    60% { transform: translateY(-0.25rem); }
}

@keyframes loading-elastic {
    0% { transform: scale(0.3); }
    40% { transform: scale(1); }
    80% { transform: scale(0.9); }
    100% { transform: scale(0.9); }
}

@keyframes loading-wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

@keyframes loading-heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes loading-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-bounce {
    animation: loading-bounce 2s infinite;
}

.loading-elastic {
    animation: loading-elastic 2s infinite;
}

.loading-wave {
    animation: loading-wave 2.5s infinite;
}

.loading-heartbeat {
    animation: loading-heartbeat 1s infinite;
}

/* Orbit spinning loader */
.loading-orbit {
    position: relative;
    width: 4rem;
    height: 4rem;
}

.loading-orbit > span {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--dodgers-blue);
}

.loading-orbit > span:nth-child(1) { top: 0; left: 50%; margin-left: -0.25rem; }
.loading-orbit > span:nth-child(2) { top: 12.5%; right: 12.5%; }
.loading-orbit > span:nth-child(3) { bottom: 12.5%; right: 12.5%; }
.loading-orbit > span:nth-child(4) { bottom: 0; left: 50%; margin-left: -0.25rem; }
.loading-orbit > span:nth-child(5) { bottom: 12.5%; left: 12.5%; }
.loading-orbit > span:nth-child(6) { top: 12.5%; left: 12.5%; }

.loading-orbit > span:nth-child(1) { animation: loading-orbit 2s linear infinite; animation-delay: -1.9s; }
.loading-orbit > span:nth-child(2) { animation: loading-orbit 2s linear infinite; animation-delay: -1.6s; }
.loading-orbit > span:nth-child(3) { animation: loading-orbit 2s linear infinite; animation-delay: -1.3s; }
.loading-orbit > span:nth-child(4) { animation: loading-orbit 2s linear infinite; animation-delay: -1.0s; }
.loading-orbit > span:nth-child(5) { animation: loading-orbit 2s linear infinite; animation-delay: -0.7s; }
.loading-orbit > span:nth-child(6) { animation: loading-orbit 2s linear infinite; animation-delay: -0.4s; }

/* Hourglass loader */
@keyframes hourglass {
    0%, 100% {
        transform: rotate(0deg);
        border-radius: 0;
    }
    25% {
        transform: rotate(15deg);
    }
    50% {
        transform: rotate(0deg);
        border-radius: 50% 0 50% 50%;
    }
    75% {
        transform: rotate(-15deg);
    }
}

.hourglass {
    width: 2rem;
    height: 2rem;
    position: relative;
    background: linear-gradient(
        to bottom,
        transparent 25%,
        var(--dodgers-blue) 25%,
        var(--dodgers-blue) 75%,
        transparent 75%
    );
    border-radius: 0 0 50% 50%;
    animation: hourglass 2s infinite;
    transform-origin: center bottom;
}

.hourglass::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.25rem;
    height: 0.5rem;
    background: var(--dodgers-blue);
    transform: translate(-50%, -50%);
}

/* Digital loading counter */
.loading-counter {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: var(--dodgers-blue);
    animation: loading-counter 2s linear infinite;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
}

@keyframes loading-counter {
    0% { content: "0"; }
    10% { content: "1"; }
    20% { content: "2"; }
    30% { content: "3"; }
    40% { content: "4"; }
    50% { content: "5"; }
    60% { content: "6"; }
    70% { content: "7"; }
    80% { content: "8"; }
    90% { content: "9"; }
    100% { content: "0"; }
}

/* Matrix-style loading */
@keyframes matrix-rain {
    0% { opacity: 0; transform: translateY(-2rem); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(2rem); }
}

.loading-matrix {
    position: relative;
    width: 3rem;
    height: 3rem;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: var(--dodgers-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loading-matrix::before {
    content: '01';
    position: absolute;
    animation: matrix-rain 2s infinite;
    animation-delay: -1s;
}

.loading-matrix::after {
    content: '10';
    position: absolute;
    animation: matrix-rain 2s infinite;
}

/* Cosmic loading effect */
@keyframes cosmic-orbit {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(0.8);
        opacity: 0.5;
    }
}

.loading-cosmic {
    position: relative;
    width: 4rem;
    height: 4rem;
}

.loading-cosmic > span {
    position: absolute;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--dodgers-blue), var(--dodgers-red));
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.6);
}

.loading-cosmic > span:nth-child(1) {
    top: 0;
    left: 50%;
    margin-left: -0.375rem;
    animation: cosmic-orbit 3s infinite linear;
}

.loading-cosmic > span:nth-child(2) {
    top: 25%;
    right: 0;
    margin-top: -0.375rem;
    animation: cosmic-orbit 3s infinite linear;
    animation-delay: -1s;
    background: linear-gradient(45deg, var(--dodgers-red), var(--dodgers-yellow));
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.6);
}

.loading-cosmic > span:nth-child(3) {
    bottom: 25%;
    right: 0;
    margin-bottom: -0.375rem;
    animation: cosmic-orbit 3s infinite linear;
    animation-delay: -2s;
    background: linear-gradient(45deg, var(--dodgers-yellow), var(--dodgers-blue));
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}
