/* =============================================================================
   JobDash Digital - Sistema de Grid Responsivo e Utilities
   Mobile-First Approach
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Breakpoints
   ----------------------------------------------------------------------------- */
:root {
    --breakpoint-xs: 480px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

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

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* -----------------------------------------------------------------------------
   Sistema de Grid de 12 Colunas
   ----------------------------------------------------------------------------- */
.grid {
    display: grid;
    gap: 1rem;
}

.grid-gap-0 { gap: 0; }
.grid-gap-1 { gap: 0.25rem; }
.grid-gap-2 { gap: 0.5rem; }
.grid-gap-3 { gap: 0.75rem; }
.grid-gap-4 { gap: 1rem; }
.grid-gap-5 { gap: 1.25rem; }
.grid-gap-6 { gap: 1.5rem; }
.grid-gap-8 { gap: 2rem; }

/* Colunas base */
.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-5 { grid-template-columns: repeat(5, 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)); }

/* Span de colunas */
.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; }
.col-span-full { grid-column: 1 / -1; }

/* Small devices (640px+) */
@media (min-width: 640px) {
    .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\:col-span-1 { grid-column: span 1 / span 1; }
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
    .sm\:col-span-3 { grid-column: span 3 / span 3; }
    .sm\:col-span-4 { grid-column: span 4 / span 4; }
    .sm\:col-span-6 { grid-column: span 6 / span 6; }
    .sm\:col-span-8 { grid-column: span 8 / span 8; }
    .sm\:col-span-12 { grid-column: span 12 / span 12; }
}

/* Medium devices (768px+) */
@media (min-width: 768px) {
    .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\:col-span-1 { grid-column: span 1 / span 1; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:col-span-3 { grid-column: span 3 / span 3; }
    .md\:col-span-4 { grid-column: span 4 / span 4; }
    .md\:col-span-6 { grid-column: span 6 / span 6; }
    .md\:col-span-8 { grid-column: span 8 / span 8; }
    .md\:col-span-12 { grid-column: span 12 / span 12; }
}

/* Large devices (1024px+) */
@media (min-width: 1024px) {
    .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-5 { grid-template-columns: repeat(5, 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\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:col-span-12 { grid-column: span 12 / span 12; }
}

/* Extra large devices (1280px+) */
@media (min-width: 1280px) {
    .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)); }
}

/* -----------------------------------------------------------------------------
   Flexbox Utilities
   ----------------------------------------------------------------------------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col-reverse { flex-direction: column-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }

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

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

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

/* Responsive Flex */
@media (min-width: 640px) {
    .sm\:flex { display: flex; }
    .sm\:inline-flex { display: inline-flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:flex-col { flex-direction: column; }
    .sm\:justify-start { justify-content: flex-start; }
    .sm\:justify-center { justify-content: center; }
    .sm\:justify-end { justify-content: flex-end; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:items-start { align-items: flex-start; }
    .sm\:items-center { align-items: center; }
    .sm\:items-end { align-items: flex-end; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:inline-flex { display: inline-flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:flex-col { flex-direction: column; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:justify-center { justify-content: center; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:justify-between { justify-content: space-between; }
    .md\:items-start { align-items: flex-start; }
    .md\:items-center { align-items: center; }
    .md\:items-end { align-items: flex-end; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:inline-flex { display: inline-flex; }
    .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\:items-start { align-items: flex-start; }
    .lg\:items-center { align-items: center; }
    .lg\:items-end { align-items: flex-end; }
}

/* -----------------------------------------------------------------------------
   Display Utilities
   ----------------------------------------------------------------------------- */
.hidden { display: none !important; }
.block { display: block !important; }
.inline { display: inline !important; }
.inline-block { display: inline-block !important; }
.table { display: table !important; }

/* Responsive Display */
@media (max-width: 639px) {
    .mobile\:hidden { display: none !important; }
    .mobile\:block { display: block !important; }
    .mobile\:inline { display: inline !important; }
    .mobile\:inline-block { display: inline-block !important; }
    .mobile\:flex { display: flex !important; }
}

@media (min-width: 640px) {
    .sm\:hidden { display: none !important; }
    .sm\:block { display: block !important; }
    .sm\:inline { display: inline !important; }
    .sm\:inline-block { display: inline-block !important; }
    .sm\:table { display: table !important; }
}

@media (min-width: 768px) {
    .md\:hidden { display: none !important; }
    .md\:block { display: block !important; }
    .md\:inline { display: inline !important; }
    .md\:inline-block { display: inline-block !important; }
    .md\:table { display: table !important; }
}

@media (min-width: 1024px) {
    .lg\:hidden { display: none !important; }
    .lg\:block { display: block !important; }
    .lg\:inline { display: inline !important; }
    .lg\:inline-block { display: inline-block !important; }
    .lg\:table { display: table !important; }
}

/* -----------------------------------------------------------------------------
   Spacing Utilities (Padding & Margin)
   ----------------------------------------------------------------------------- */
/* Padding */
.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }

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

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

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

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-3 { margin-left: 0.75rem !important; margin-right: 0.75rem !important; }
.mx-4 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-5 { margin-left: 1.25rem !important; margin-right: 1.25rem !important; }
.mx-6 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-8 { margin-left: 2rem !important; margin-right: 2rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 0.75rem !important; margin-bottom: 0.75rem !important; }
.my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-5 { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }
.my-6 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-8 { margin-top: 2rem !important; margin-bottom: 2rem !important; }

/* Responsive Spacing */
@media (min-width: 640px) {
    .sm\:p-0 { padding: 0 !important; }
    .sm\:p-2 { padding: 0.5rem !important; }
    .sm\:p-4 { padding: 1rem !important; }
    .sm\:p-6 { padding: 1.5rem !important; }
    .sm\:p-8 { padding: 2rem !important; }

    .sm\:px-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .sm\:px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

    .sm\:py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .sm\:py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .sm\:py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

    .sm\:m-0 { margin: 0 !important; }
    .sm\:m-4 { margin: 1rem !important; }
    .sm\:m-6 { margin: 1.5rem !important; }
    .sm\:mx-auto { margin-left: auto !important; margin-right: auto !important; }
}

@media (min-width: 768px) {
    .md\:p-0 { padding: 0 !important; }
    .md\:p-4 { padding: 1rem !important; }
    .md\:p-6 { padding: 1.5rem !important; }
    .md\:p-8 { padding: 2rem !important; }

    .md\:px-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .md\:px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .md\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .md\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

    .md\:py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .md\:py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .md\:py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .md\:py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

@media (min-width: 1024px) {
    .lg\:p-0 { padding: 0 !important; }
    .lg\:p-4 { padding: 1rem !important; }
    .lg\:p-6 { padding: 1.5rem !important; }
    .lg\:p-8 { padding: 2rem !important; }

    .lg\:px-0 { padding-left: 0 !important; padding-right: 0 !important; }
    .lg\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

    .lg\:py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .lg\:py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .lg\:py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

/* -----------------------------------------------------------------------------
   Width & Height Utilities
   ----------------------------------------------------------------------------- */
.w-full { width: 100% !important; }
.w-auto { width: auto !important; }
.w-screen { width: 100vw !important; }
.w-min { width: min-content !important; }
.w-max { width: max-content !important; }

.h-full { height: 100% !important; }
.h-auto { height: auto !important; }
.h-screen { height: 100vh !important; }
.h-min { height: min-content !important; }
.h-max { height: max-content !important; }

.max-w-full { max-width: 100% !important; }
.max-w-screen-sm { max-width: 640px !important; }
.max-w-screen-md { max-width: 768px !important; }
.max-w-screen-lg { max-width: 1024px !important; }
.max-w-screen-xl { max-width: 1280px !important; }

/* -----------------------------------------------------------------------------
   Text Utilities
   ----------------------------------------------------------------------------- */
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2.25rem !important; }

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Responsive Text */
@media (min-width: 640px) {
    .sm\:text-xs { font-size: 0.75rem !important; }
    .sm\:text-sm { font-size: 0.875rem !important; }
    .sm\:text-base { font-size: 1rem !important; }
    .sm\:text-lg { font-size: 1.125rem !important; }
    .sm\:text-xl { font-size: 1.25rem !important; }
    .sm\:text-2xl { font-size: 1.5rem !important; }
    .sm\:text-3xl { font-size: 1.875rem !important; }

    .sm\:text-left { text-align: left !important; }
    .sm\:text-center { text-align: center !important; }
    .sm\:text-right { text-align: right !important; }
}

@media (min-width: 768px) {
    .md\:text-xs { font-size: 0.75rem !important; }
    .md\:text-sm { font-size: 0.875rem !important; }
    .md\:text-base { font-size: 1rem !important; }
    .md\:text-lg { font-size: 1.125rem !important; }
    .md\:text-xl { font-size: 1.25rem !important; }
    .md\:text-2xl { font-size: 1.5rem !important; }
    .md\:text-3xl { font-size: 1.875rem !important; }
    .md\:text-4xl { font-size: 2.25rem !important; }

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

@media (min-width: 1024px) {
    .lg\:text-sm { font-size: 0.875rem !important; }
    .lg\:text-base { font-size: 1rem !important; }
    .lg\:text-lg { font-size: 1.125rem !important; }
    .lg\:text-xl { font-size: 1.25rem !important; }
    .lg\:text-2xl { font-size: 1.5rem !important; }
    .lg\:text-3xl { font-size: 1.875rem !important; }
    .lg\:text-4xl { font-size: 2.25rem !important; }

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

/* -----------------------------------------------------------------------------
   Position Utilities
   ----------------------------------------------------------------------------- */
.static { position: static !important; }
.fixed { position: fixed !important; }
.absolute { position: absolute !important; }
.relative { position: relative !important; }
.sticky { position: sticky !important; }

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

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

/* -----------------------------------------------------------------------------
   Overflow Utilities
   ----------------------------------------------------------------------------- */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

.overflow-x-auto { overflow-x: auto !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-x-visible { overflow-x: visible !important; }
.overflow-x-scroll { overflow-x: scroll !important; }

.overflow-y-auto { overflow-y: auto !important; }
.overflow-y-hidden { overflow-y: hidden !important; }
.overflow-y-visible { overflow-y: visible !important; }
.overflow-y-scroll { overflow-y: scroll !important; }

/* -----------------------------------------------------------------------------
   Cards & Components Responsivos
   ----------------------------------------------------------------------------- */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    width: 100%;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* -----------------------------------------------------------------------------
   Tabelas Responsivas
   ----------------------------------------------------------------------------- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    width: 100%;
    min-width: 600px;
}

/* Transformar tabelas em cards no mobile */
@media (max-width: 639px) {
    .table-mobile-cards {
        border: 0;
    }

    .table-mobile-cards thead {
        display: none;
    }

    .table-mobile-cards tbody tr {
        display: block;
        margin-bottom: 1rem;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        padding: 1rem;
    }

    .table-mobile-cards tbody td {
        display: block;
        text-align: left;
        padding: 0.5rem 0;
        border: none;
        position: relative;
        padding-left: 40%;
    }

    .table-mobile-cards tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 35%;
        font-weight: 600;
        color: var(--text-secondary);
    }

    .table-mobile-cards tbody td:last-child {
        border-bottom: 0;
    }
}

/* -----------------------------------------------------------------------------
   Touch Targets para Mobile
   ----------------------------------------------------------------------------- */
.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (pointer: coarse) {
    button, a, input[type="checkbox"], input[type="radio"] {
        min-height: 44px;
        min-width: 44px;
    }

    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
}

/* -----------------------------------------------------------------------------
   Z-Index Layers
   ----------------------------------------------------------------------------- */
.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; }

.z-dropdown { z-index: var(--z-dropdown); }
.z-sticky { z-index: var(--z-sticky); }
.z-fixed { z-index: var(--z-fixed); }
.z-modal-backdrop { z-index: var(--z-modal-backdrop); }
.z-modal { z-index: var(--z-modal); }
.z-popover { z-index: var(--z-popover); }
.z-tooltip { z-index: var(--z-tooltip); }

/* -----------------------------------------------------------------------------
   Aspect Ratio
   ----------------------------------------------------------------------------- */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-portrait { aspect-ratio: 3 / 4; }

/* -----------------------------------------------------------------------------
   Scroll Behavior
   ----------------------------------------------------------------------------- */
.scroll-smooth {
    scroll-behavior: smooth;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* -----------------------------------------------------------------------------
   Print Utilities
   ----------------------------------------------------------------------------- */
@media print {
    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }
}