/* Tailwind CSS Custom - Version complète pour tout le site */
/* Taille optimisée : ~20KB au lieu de 3MB - Disponible sur toutes les pages */
/* DEBUG: Ce fichier devrait être chargé sur toutes les pages - Version du 24/09/2025 - 06h30 CACHE PURGE */

/* Reset de base */
*,
::before,
::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
}

/* DISPLAY */
.block {
    display: block;
}
.inline-block {
    display: inline-block;
}
.inline {
    display: inline;
}
.flex {
    display: flex;
}
.inline-flex {
    display: inline-flex;
}
.grid {
    display: grid;
}
.hidden {
    display: none;
}

/* FLEX DIRECTION & WRAP */
.flex-row {
    flex-direction: row;
}
.flex-col {
    flex-direction: column;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}

/* FLEX GROW & SHRINK */
.flex-1 {
    flex: 1 1 0%;
}
.flex-auto {
    flex: 1 1 auto;
}
.flex-initial {
    flex: 0 1 auto;
}
.flex-none {
    flex: none;
}

/* FLEX ITEMS */
.items-start {
    align-items: flex-start;
}
.items-center {
    align-items: center;
}
.items-end {
    align-items: flex-end;
}
.items-stretch {
    align-items: stretch;
}

/* JUSTIFY */
.justify-start {
    justify-content: flex-start;
}
.justify-center {
    justify-content: center;
}
.justify-end {
    justify-content: flex-end;
}
.justify-between {
    justify-content: space-between;
}

/* 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));
}

/* WIDTH */
.w-auto {
    width: auto;
}
.w-full {
    width: 100%;
}
.w-1\/2 {
    width: 50%;
}
.w-1\/3 {
    width: 33.333333%;
}
.w-2\/3 {
    width: 66.666667%;
}
.w-1\/4 {
    width: 25%;
}
.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%;
}
.w-1\/6 {
    width: 16.666667%;
}
.w-5\/6 {
    width: 83.333333%;
}
.w-16 {
    width: 4rem;
}
.w-20 {
    width: 5rem;
}
.w-24 {
    width: 6rem;
}
.w-32 {
    width: 8rem;
}
.w-48 {
    width: 12rem;
}
.w-64 {
    width: 16rem;
}

/* HEIGHT */
.h-auto {
    height: auto;
}
.h-full {
    height: 100%;
}
.h-screen {
    height: 100vh;
}
.h-1 {
    height: 0.25rem;
}
.h-2 {
    height: 0.5rem;
}
.h-3 {
    height: 0.75rem;
}
.h-4 {
    height: 1rem;
}
.h-5 {
    height: 1.25rem;
}
.h-6 {
    height: 1.5rem;
}
.h-7 {
    height: 1.75rem;
}
.h-8 {
    height: 2rem;
}
.h-9 {
    height: 2.25rem;
}
.h-10 {
    height: 2.5rem;
}
.h-11 {
    height: 2.75rem;
}
.h-12 {
    height: 3rem;
}
.h-14 {
    height: 3.5rem;
}
.h-16 {
    height: 4rem;
}
.h-20 {
    height: 5rem;
}
.h-24 {
    height: 6rem;
}
.h-28 {
    height: 7rem;
}
.h-32 {
    height: 8rem;
}
.h-36 {
    height: 9rem;
}
.h-40 {
    height: 10rem;
}
.h-44 {
    height: 11rem;
}
.h-48 {
    height: 12rem;
}
.h-52 {
    height: 13rem;
}
.h-56 {
    height: 14rem;
}
.h-60 {
    height: 15rem;
}
.h-64 {
    height: 16rem;
}
.h-72 {
    height: 18rem;
}
.h-80 {
    height: 20rem;
}
.h-96 {
    height: 24rem;
}

/* MIN/MAX WIDTH */
.min-w-0 {
    min-width: 0px;
}
.min-w-full {
    min-width: 100%;
}
.max-w-0 {
    max-width: 0rem;
}
.max-w-none {
    max-width: none;
}
.max-w-xs {
    max-width: 20rem;
}
.max-w-sm {
    max-width: 24rem;
}
.max-w-md {
    max-width: 28rem;
}
.max-w-lg {
    max-width: 32rem;
}
.max-w-xl {
    max-width: 36rem;
}
.max-w-2xl {
    max-width: 42rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-4xl {
    max-width: 56rem;
}
.max-w-5xl {
    max-width: 64rem;
}
.max-w-6xl {
    max-width: 72rem;
}
.max-w-7xl {
    max-width: 80rem;
}
.max-w-full {
    max-width: 100%;
}
.max-w-min {
    max-width: min-content;
}
.max-w-max {
    max-width: max-content;
}
.max-w-fit {
    max-width: fit-content;
}
.max-w-prose {
    max-width: 65ch;
}
.max-w-screen-sm {
    max-width: 640px;
}
.max-w-screen-md {
    max-width: 768px;
}
.max-w-screen-lg {
    max-width: 1024px;
}
.max-w-screen-xl {
    max-width: 1280px;
}
.max-w-screen-2xl {
    max-width: 1536px;
}

/* MIN/MAX HEIGHT */
.min-h-0 {
    min-height: 0px;
}
.min-h-full {
    min-height: 100%;
}
.min-h-screen {
    min-height: 100vh;
}
.max-h-full {
    max-height: 100%;
}
.max-h-screen {
    max-height: 100vh;
}

/* ASPECT RATIO */
.aspect-ratio-16-10 {
    aspect-ratio: 16 / 10;
}
.aspect-ratio-4-3 {
    aspect-ratio: 4 / 3;
}
.aspect-ratio-square {
    aspect-ratio: 1 / 1;
}

/* CONTAINER */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    /*padding-right: 1rem;
    padding-left: 1rem;*/
}

/* MARGIN */
.m-0 {
    margin: 0;
}
.m-1 {
    margin: 0.25rem;
}
.m-2 {
    margin: 0.5rem;
}
.m-3 {
    margin: 0.75rem;
}
.m-4 {
    margin: 1rem;
}
.m-5 {
    margin: 1.25rem;
}
.m-6 {
    margin: 1.5rem;
}
.m-8 {
    margin: 2rem;
}
.m-auto {
    margin: auto;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}
.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}
.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}
.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mt-0 {
    margin-top: 0;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mt-8 {
    margin-top: 2rem;
}

.mr-0 {
    margin-right: 0;
}
.mr-1 {
    margin-right: 0.25rem;
}
.mr-2 {
    margin-right: 0.5rem;
}
.mr-3 {
    margin-right: 0.75rem;
}
.mr-4 {
    margin-right: 1rem;
}
.mr-6 {
    margin-right: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mb-8 {
    margin-bottom: 2rem;
}

.ml-0 {
    margin-left: 0;
}
.ml-1 {
    margin-left: 0.25rem;
}
.ml-2 {
    margin-left: 0.5rem;
}
.ml-3 {
    margin-left: 0.75rem;
}
.ml-4 {
    margin-left: 1rem;
}
.ml-6 {
    margin-left: 1.5rem;
}

/* PADDING */
.p-0 {
    padding: 0;
}
.p-1 {
    padding: 0.25rem;
}
.p-2 {
    padding: 0.5rem;
}
.p-3 {
    padding: 0.75rem;
}
.p-4 {
    padding: 1rem;
}
.p-5 {
    padding: 1.25rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-8 {
    padding: 2rem;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}
.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}
.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.pt-0 {
    padding-top: 0;
}
.pt-1 {
    padding-top: 0.25rem;
}
.pt-2 {
    padding-top: 0.5rem;
}
.pt-4 {
    padding-top: 1rem;
}
.pt-6 {
    padding-top: 1.5rem;
}

.pr-0 {
    padding-right: 0;
}
.pr-1 {
    padding-right: 0.25rem;
}
.pr-2 {
    padding-right: 0.5rem;
}
.pr-4 {
    padding-right: 1rem;
}
.pr-6 {
    padding-right: 1.5rem;
}

.pb-0 {
    padding-bottom: 0;
}
.pb-1 {
    padding-bottom: 0.25rem;
}
.pb-2 {
    padding-bottom: 0.5rem;
}
.pb-4 {
    padding-bottom: 1rem;
}
.pb-6 {
    padding-bottom: 1.5rem;
}

.pl-0 {
    padding-left: 0;
}
.pl-1 {
    padding-left: 0.25rem;
}
.pl-2 {
    padding-left: 0.5rem;
}
.pl-4 {
    padding-left: 1rem;
}
.pl-6 {
    padding-left: 1.5rem;
}

/* TEXT ALIGNMENT */
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-justify {
    text-align: justify;
}

/* TEXT SIZE */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

/* FONT WEIGHT */
.font-normal {
    font-weight: 400;
}
.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}

/* COLORS - BACKGROUND */
.bg-white {
    background-color: #ffffff;
}
.bg-black {
    background-color: #000000;
}
.bg-gray-50 {
    background-color: #f9fafb;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-gray-200 {
    background-color: #e5e7eb;
}
.bg-gray-300 {
    background-color: #d1d5db;
}
.bg-transparent {
    background-color: transparent;
}

/* COLORS - TEXT */
.text-white {
    color: #ffffff;
}
.text-black {
    color: #000000;
}
.text-gray-600 {
    color: #4b5563;
}
.text-gray-700 {
    color: #374151;
}
.text-gray-900 {
    color: #111827;
}

/* BORDERS */
.border {
    border-width: 1px;
}
.border-t {
    border-top-width: 1px;
}
.border-b {
    border-bottom-width: 1px;
}
.border-l {
    border-left-width: 1px;
}
.border-r {
    border-right-width: 1px;
}
.border-b-2 {
    border-bottom-width: 2px;
}
.border-0 {
    border-width: 0;
}

.border-gray-300 {
    border-color: #d1d5db;
}
.border-gray-600 {
    border-color: #4b5563;
}
.border-grey-1200 {
    border-color: #1f2937;
}
.border-white {
    border-color: #ffffff;
}

/* OBJECT */
.object-cover {
    object-fit: cover;
}
.object-contain {
    object-fit: contain;
}
.object-center {
    object-position: center;
}

/* OVERFLOW */
.overflow-hidden {
    overflow: hidden;
}
.overflow-auto {
    overflow: auto;
}
.overflow-x-auto {
    overflow-x: auto;
}
.overflow-y-auto {
    overflow-y: auto;
}

/* POSITIONING */
.top-0 {
    top: 0;
}
.top-1 {
    top: 0.25rem;
}
.top-2 {
    top: 0.5rem;
}
.top-3 {
    top: 0.75rem;
}
.top-4 {
    top: 1rem;
}
.top-5 {
    top: 1.25rem;
}
.top-6 {
    top: 1.5rem;
}
.top-8 {
    top: 2rem;
}
.top-10 {
    top: 2.5rem;
}
.top-12 {
    top: 3rem;
}
.top-16 {
    top: 4rem;
}
.top-20 {
    top: 5rem;
}

.right-0 {
    right: 0;
}
.right-1 {
    right: 0.25rem;
}
.right-2 {
    right: 0.5rem;
}
.right-3 {
    right: 0.75rem;
}
.right-4 {
    right: 1rem;
}
.right-5 {
    right: 1.25rem;
}
.right-6 {
    right: 1.5rem;
}
.right-8 {
    right: 2rem;
}
.right-10 {
    right: 2.5rem;
}
.right-12 {
    right: 3rem;
}
.right-16 {
    right: 4rem;
}
.right-20 {
    right: 5rem;
}

.bottom-0 {
    bottom: 0;
}
.bottom-1 {
    bottom: 0.25rem;
}
.bottom-2 {
    bottom: 0.5rem;
}
.bottom-3 {
    bottom: 0.75rem;
}
.bottom-4 {
    bottom: 1rem;
}
.bottom-5 {
    bottom: 1.25rem;
}
.bottom-6 {
    bottom: 1.5rem;
}
.bottom-8 {
    bottom: 2rem;
}
.bottom-10 {
    bottom: 2.5rem;
}
.bottom-12 {
    bottom: 3rem;
}
.bottom-16 {
    bottom: 4rem;
}
.bottom-20 {
    bottom: 5rem;
}

.left-0 {
    left: 0;
}
.left-1 {
    left: 0.25rem;
}
.left-2 {
    left: 0.5rem;
}
.left-3 {
    left: 0.75rem;
}
.left-4 {
    left: 1rem;
}
.left-5 {
    left: 1.25rem;
}
.left-6 {
    left: 1.5rem;
}
.left-8 {
    left: 2rem;
}
.left-10 {
    left: 2.5rem;
}
.left-12 {
    left: 3rem;
}
.left-16 {
    left: 4rem;
}
.left-20 {
    left: 5rem;
}

/* INSET */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.inset-x-0 {
    left: 0;
    right: 0;
}
.inset-y-0 {
    top: 0;
    bottom: 0;
}

/* RESPONSIVE BREAKPOINTS - TAILWIND COMPATIBLE */

/* Small (sm) - min-width: 640px */
@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
    .sm\:flex {
        display: flex;
    }
    .sm\:grid {
        display: grid;
    }
    .sm\:hidden {
        display: none;
    }
    .sm\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sm\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .sm\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .sm\:text-left {
        text-align: left;
    }
    .sm\:text-center {
        text-align: center;
    }
    .sm\:text-right {
        text-align: right;
    }
}

/* Medium (md) - min-width: 768px */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    .md\:flex {
        display: flex;
    }
    .md\:grid {
        display: grid;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .md\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .md\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:flex-col {
        flex-direction: column;
    }
    .md\:text-left {
        text-align: left;
    }
    .md\:text-center {
        text-align: center;
    }
    .md\:text-right {
        text-align: right;
    }
}

/* Large (lg) - min-width: 1024px */
@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    .lg\:flex {
        display: flex;
    }
    .lg\:grid {
        display: grid;
    }
    .lg\:hidden {
        display: none;
    }
    .lg\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .lg\:flex-row {
        flex-direction: row;
    }
    .lg\:flex-col {
        flex-direction: column;
    }
    .lg\:justify-start {
        justify-content: flex-start;
    }
    .lg\:justify-center {
        justify-content: center;
    }
    .lg\:justify-end {
        justify-content: flex-end;
    }
    .lg\:justify-between {
        justify-content: space-between;
    }
    .lg\:text-left {
        text-align: left;
    }
    .lg\:text-center {
        text-align: center;
    }
    .lg\:text-right {
        text-align: right;
    }
    .lg\:w-1\/2 {
        width: 50%;
    }
    .lg\:w-1\/3 {
        width: 33.333333%;
    }
    .lg\:w-2\/3 {
        width: 66.666667%;
    }
    .lg\:w-full {
        width: 100%;
    }
}

/* Extra Large (xl) - min-width: 1280px */
@media (min-width: 1280px) {
    .xl\:block {
        display: block;
    }
    .xl\:flex {
        display: flex;
    }
    .xl\:grid {
        display: grid;
    }
    .xl\:hidden {
        display: none;
    }
    .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-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .xl\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

/* 2X Large (2xl) - min-width: 1536px */
@media (min-width: 1536px) {
    .\32xl\:block {
        display: block;
    }
    .\32xl\:flex {
        display: flex;
    }
    .\32xl\:grid {
        display: grid;
    }
    .\32xl\:hidden {
        display: none;
    }
    .\32xl\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .\32xl\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .\32xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .\32xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Z-INDEX */
.z-0 {
    z-index: 0;
}
.z-10 {
    z-index: 10;
}
.z-20 {
    z-index: 20;
}
.z-30 {
    z-index: 30;
}
.z-40 {
    z-index: 40;
}
.z-50 {
    z-index: 50;
}
.z-auto {
    z-index: auto;
}

/* OPACITY */
.opacity-0 {
    opacity: 0;
}
.opacity-50 {
    opacity: 0.5;
}
.opacity-100 {
    opacity: 1;
}

/* CURSOR */
.cursor-pointer {
    cursor: pointer;
}
.cursor-default {
    cursor: default;
}

/* SELECT */
.select-none {
    user-select: none;
}

/* POINTER EVENTS */
.pointer-events-none {
    pointer-events: none;
}

/* FOCUS STATES */
.focus\:ring-0:focus {
    box-shadow: 0 0 0 0px transparent;
}
.focus\:border-b-2:focus {
    border-bottom-width: 2px;
}
.focus\:border-white:focus {
    border-color: #ffffff;
}

/* GAP */
.gap-0 {
    gap: 0;
}
.gap-1 {
    gap: 0.25rem;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-6 {
    gap: 1.5rem;
}
.gap-8 {
    gap: 2rem;
}

/* SPACE BETWEEN */
.space-x-0 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.25rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0.5rem;
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    margin-left: 1rem;
}

.space-y-0 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.25rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.5rem;
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0.75rem;
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1.5rem;
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 2rem;
}

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

/* BORDER RADIUS */
.rounded {
    border-radius: 0.25rem;
}
.rounded-md {
    border-radius: 0.375rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-full {
    border-radius: 9999px;
}

/* CUSTOM COMPONENTS */
.sticky-container {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

/* WIDTH RESPONSIVE - SMALL (640px+) */
@media (min-width: 640px) {
    .sm\:w-auto {
        width: auto;
    }
    .sm\:w-64 {
        width: 16rem;
    }
}

/* RESPONSIVE BREAKPOINTS - MEDIUM (768px+) */
@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid {
        display: grid;
    }

    .md\:flex-row {
        flex-direction: row;
    }
    .md\:flex-col {
        flex-direction: column;
    }
    .md\:flex-nowrap {
        flex-wrap: nowrap;
    }

    .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%;
    }
    .md\:w-2\/5 {
        width: 40%;
    }
    .md\:w-3\/5 {
        width: 60%;
    }
    .md\:w-full {
        width: 100%;
    }
    .md\:w-auto {
        width: auto;
    }

    .md\:p-4 {
        padding: 1rem;
    }
    .md\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .md\:py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .md\:pr-4 {
        padding-right: 1rem;
    }
    .md\:pl-4 {
        padding-left: 1rem;
    }
    .md\:pt-4 {
        padding-top: 1rem;
    }
    .md\:pb-4 {
        padding-bottom: 1rem;
    }

    .md\:m-4 {
        margin: 1rem;
    }
    .md\:mx-4 {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .md\:my-4 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .md\:mt-4 {
        margin-top: 1rem;
    }
    .md\:mr-4 {
        margin-right: 1rem;
    }
    .md\:mb-4 {
        margin-bottom: 1rem;
    }
    .md\:ml-4 {
        margin-left: 1rem;
    }

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

    .md\:gap-4 {
        gap: 1rem;
    }
    .md\:gap-6 {
        gap: 1.5rem;
    }

    .md\:text-left {
        text-align: left;
    }
    .md\:text-center {
        text-align: center;
    }
    .md\:text-right {
        text-align: right;
    }

    .md\:mb-0 {
        margin-bottom: 0;
    }
    .md\:mr-4 {
        margin-right: 1rem;
    }
}

/* RESPONSIVE BREAKPOINTS - LARGE (1024px+) */
@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    .lg\:flex {
        display: flex;
    }
    .lg\:hidden {
        display: none;
    }
    .lg\:grid {
        display: grid;
    }

    .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%;
    }
    .lg\:w-1\/5 {
        width: 20%;
    }
    .lg\:w-2\/5 {
        width: 40%;
    }
    .lg\:w-3\/5 {
        width: 60%;
    }
    .lg\:w-4\/5 {
        width: 80%;
    }
    .lg\:w-full {
        width: 100%;
    }

    .lg\:p-6 {
        padding: 1.5rem;
    }
    .lg\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .lg\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .lg\:m-6 {
        margin: 1.5rem;
    }
    .lg\:mx-6 {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .lg\:my-6 {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

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

    .lg\:gap-6 {
        gap: 1.5rem;
    }
    .lg\:gap-8 {
        gap: 2rem;
    }

    .lg\:text-left {
        text-align: left;
    }
    .lg\:text-center {
        text-align: center;
    }
    .lg\:text-right {
        text-align: right;
    }
}

/* RESPONSIVE BREAKPOINTS - EXTRA LARGE (1280px+) */
@media (min-width: 1280px) {
    .xl\:w-1\/4 {
        width: 25%;
    }
    .xl\:w-1\/3 {
        width: 33.333333%;
    }
    .xl\:w-1\/2 {
        width: 50%;
    }
    .xl\:w-2\/3 {
        width: 66.666667%;
    }
    .xl\:w-3\/4 {
        width: 75%;
    }

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

    .xl\:p-8 {
        padding: 2rem;
    }
    .xl\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .xl\:gap-8 {
        gap: 2rem;
    }
}
