
/* Font Classes */
.font-jcb-bold-condensed {
    font-family: 'JCBEuro BoldCondensed Regular', sans-serif;
}

.font-jcb-bold {
    font-family: 'JCBEuro Bold Regular', sans-serif;
}

.font-jcb-roman {
    font-family: 'JCBEuro Roman Regular', sans-serif;
}

/* Container */
.container-80 {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#generatorGrid{
    padding-top: 0px !important;
    width: 100% !important;  /* Use full width of main container */
    max-width: 100% !important;
}

/* Keep sidebar at its original w-64 width (256px) */
.container-80 aside.w-64 {
    width: 256px !important;
    min-width: 256px !important;
    max-width: 256px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* Make the table container use ALL remaining space */
.container-80 main.flex-1 {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}


  /* Using attribute selector for hidden rows to avoid specificity issues */
  .generator-row[data-hidden="true"] {
      display: none !important;
  }
  
  /* Fix for proper spacing when rows are filtered */
  .generator-row.hidden {
      display: none !important;
  }
  
  /* Ensure visible rows maintain proper display */
  .generator-row:not(.hidden):not([data-hidden="true"]) {
      display: table-row !important;
  }

  .filter-button.active {
      background-color: #007cba;
      color: white;
  }


  #generatorGrid tbody td:last-child a{
    margin-top: 0px !important;
  }


li{
    list-style: none;
}

@media (max-width: 1700px) {
#generatorGrid{
    width: 125% !important;
}
}

@media (max-width: 1550px) {
#generatorGrid{
    width: 115% !important;
}
}

@media (max-width: 1100px ) {
#generatorGrid{
    width: 100% !important;
}
}

@media (max-width: 1024px) {
    /* Hide desktop sidebar (filter and emergency contact) on tablets and smaller */
    .hidden.lg\\:block {
        display: none !important;
    }
    
    /* Ensure main content takes full width when sidebar is hidden */
    main.flex-1 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Make mobile card full width on tablets */
    .mobile-card-modern,
    td .mobile-card-modern,
    .generator-row .mobile-card-modern {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Subtitle text alignment for mobile only */
@media (max-width: 768px) {
    #generatorTable td:first-child .text-gray-600 {
        text-align: left !important;
    }
    
    /* Mobile: Ensure filter and table are full width */
    #generatorGrid {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Mobile filter full width */
    .lg\\:hidden.mb-4 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure table is full width on mobile */
    #generatorTable {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Reset main container constraints on mobile */
    .container-80 main.flex-1 {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Subtitle text alignment for desktop */
@media (min-width: 769px) {
    #generatorTable td:first-child .text-gray-600 {
        text-align: center !important;
    }
}

/* Ensure leading-relaxed paragraphs are center aligned */
.leading-relaxed {
    text-align: center !important;
}

@media (max-width: 768px) {
    .container-80 {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
}



/* Text Utilities */
.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.25rem; line-height: 1.75rem;  text-align: center;}
.text-xl { font-size: 1.25rem; line-height: 1.75rem; font-weight: inherit; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Colors */
.text-black { color: #000000; }
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { 
    color: #9ca3af;
    text-align: right;
}
.text-gray-500 { 
    color: #6b7280;
    text-align: right;
}
.text-gray-600 { color: #64748b; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-gray-description { color: rgb(75 85 99 / var(--tw-text-opacity, 1)); font-weight: 900; }
.text-glow-yellow { color: #FAA747; }

.bg-black { background-color: #000000; }
.bg-white { background-color: #ffffff; }
.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-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-glow-yellow { background-color: #FAA747; }
.bg-orange-500 { background-color: #f97316; }
.bg-green-100 { background-color: #d1fae5; }
.bg-green-400 { background-color: #34d399; }
.bg-green-700 { background-color: #047857; }

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)); }
.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(17 24 39 / 0)); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.from-glow-yellow { --tw-gradient-from: #FAA747; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(250 167 71 / 0)); }
.from-black { --tw-gradient-from: #000000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.via-black { --tw-gradient-stops: var(--tw-gradient-from), #000000, var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.via-glow-yellow\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgb(250 167 71 / 0.1), var(--tw-gradient-to, rgb(250 167 71 / 0)); }
.via-black\/90 { --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.9), var(--tw-gradient-to, rgb(0 0 0 / 0)); }
.to-gray-800 { --tw-gradient-to: #1f2937; }
.to-transparent { --tw-gradient-to: transparent; }
.to-orange-500 { --tw-gradient-to: #f97316; }
.to-black { --tw-gradient-to: #000000; }

/* Spacing */
.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.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; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.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; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-4 { padding-bottom: 1rem; }
.pr-10 { padding-right: 2.5rem; }
.pt-1 { padding-top: 0.25rem; }

/* Margins */
.m-0 { margin: 0; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mb-1 { margin-bottom: 0.25rem; font-weight: 400;}
.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; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.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; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

/* Layout */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.table-cell { display: table-cell; }
.grid { display: grid; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-gray-200 > * + * { border-color: #e5e7eb; }

/* 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)); }

/* Width & Height */
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-96 { width: 24rem; }
.w-auto { width: auto; }
.max-w-full { max-width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.h-0\.5 { height: 0.125rem; }
.h-1 { height: 0.25rem; }
.h-4 { height: 1rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.h-auto { height: auto; }
.max-h-\[400px\] { max-height: 400px; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-10 { top: 2.5rem; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.-top-24 { top: -6rem; }
.-right-24 { right: -6rem; }
.-bottom-24 { bottom: -6rem; }
.-left-24 { left: -6rem; }
.z-10 { z-index: 10; }

/* Border */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; }
.border-r { border-right-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-700 { border-color: #374151; }
.border-black { border-color: #000000; }
.border-glow-yellow { border-color: #FAA747; }
.border-green-400 { border-color: #34d399; }

/* Rounded */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* Effects */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.opacity-5 { opacity: 0.05; }
.opacity-10 { opacity: 0.1; }
.opacity-50 { opacity: 0.5; }
.blur-3xl { filter: blur(64px); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/*Font*/
.font-normal { font-weight: 400; }

/* Text */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-relaxed { line-height: 1.625; text-align: start;}
.font-bold { font-weight: 700; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Transitions */
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-150 { transition-duration: 150ms; }
.duration-300 { 
    transition-duration: 300ms;
}
.duration-500 { transition-duration: 500ms; }

/* Transform */
.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }
.-translate-y-1 { --tw-translate-y: -0.25rem; }
.translate-x-1 { --tw-translate-x: 0.25rem; }
.rotate-180 { 
    --tw-rotate: 180deg;
    transform: rotate(180deg) !important;
}
.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(250, 167, 71, 0.8); }
    50% { box-shadow: 0 0 40px 20px rgba(250, 167, 71, 0); }
}

/* Hover States */
.hover\:bg-white:hover { background-color: #ffffff; }
.hover\:bg-black:hover { background-color: #000000; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-800:hover { background-color: #1f2937; }
.hover\:bg-glow-yellow:hover { background-color: #FAA747; }
.hover\:bg-glow-yellow\/20:hover { background-color: rgb(250 167 71 / 0.2); }
.hover\:text-black:hover { color: #000000; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-glow-yellow:hover { color: #FAA747; }
.hover\:border-black:hover { border-color: #000000; }
.hover\:border-glow-yellow:hover { border-color: #FAA747; }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; }

/* Focus States */
.focus\:border-glow-yellow:focus { border-color: #FAA747; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--tw-ring-color); }
.focus\:ring-glow-yellow:focus { --tw-ring-color: #FAA747; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Group Hover */
.group:hover .group-hover\:translate-x-1 { --tw-translate-x: 0.25rem; }
.group:hover .group-hover\:w-full { width: 100%; }
.group:hover .group-hover\:bg-glow-yellow\/20 { background-color: rgb(250 167 71 / 0.2); }
.group:hover .group-hover\:rotate-45 { 
    --tw-rotate: 45deg; 
    transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}


/* Responsive Design */
@media (min-width: 640px) {
    .sm\:table-cell { display: table-cell; }
    .sm\:flex-row { 
        flex-direction: row;
        justify-content: end;
    }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:table-cell { display: table-cell; }
    .md\:flex-row { flex-direction: row; }
    .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-6 { gap: 1.5rem; }
    .md\:gap-8 { gap: 2rem; }
    .md\:px-0 { padding-left: 0; padding-right: 0; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:mb-4 { margin-bottom: 1rem; }
    .md\:mb-6 { margin-bottom: 1.5rem; }
    .md\:mb-8 { margin-bottom: 2rem; }
    .md\:mb-10 { margin-bottom: 2.5rem; }
    .md\:mb-12 { margin-bottom: 3rem; }
    .md\:mb-16 { margin-bottom: 4rem; }
    .md\:mt-16 { margin-top: 4rem; }
    
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:w-20 { width: 5rem; }
    .md\:h-20 { height: 5rem; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:table-cell { display: table-cell; }
    .lg\:flex-row { flex-direction: row; }
    .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\:w-1\/2 { width: 50%; }
    .lg\:bg-white { background-color: #ffffff; }
    .lg\:border-gray-200 { border-color: #e5e7eb; }
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:h-24 { height: 6rem; }
}

/* Custom styles */
.bg-glow-yellow\/10 { background-color: rgb(250 167 71 / 0.1); }
.bg-glow-yellow\/20 { background-color: rgb(250 167 71 / 0.2); }
.via-glow-yellow\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgb(250 167 71 / 0.1), var(--tw-gradient-to, rgb(250 167 71 / 0)); }
.text-glow-yellow\/70 { color: rgb(250 167 71 / 0.7); }

/* Flex shrink */
.flex-shrink-0 { flex-shrink: 0; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Specific section styles */
/* Breadcrumb section */
.bg-white.py-4.px-4.shadow-sm {
    background-color: #ffffff !important;
}

/* Generator table header - white text */
#generatorGrid thead th {
    color: white !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Remove borders between header cells */
#generatorGrid thead th:not(:last-child) {
    border-right: none !important;
}

/* Add yellow stripe under header */
#generatorGrid thead tr {
    position: relative;
}

#generatorGrid thead tr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #FAA747;
}

#generatorGrid table{
    border-radius: 0px !important;
    border-collapse: collapse !important;
}

/* Align all table cells to middle */
#generatorGrid tbody td {
    vertical-align: middle !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Fix action buttons alignment */
#generatorGrid tbody td:last-child {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    text-align: center !important;
}

/* Alternating row colors - even rows (2nd, 4th, 6th, etc.) */
#generatorGrid tbody tr:nth-child(2n) {
    background-color: #f9fafb !important;
}

/* Hover effect for table rows on desktop */
@media (min-width: 768px) {
    #generatorGrid tbody tr {
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }
    
    #generatorGrid tbody tr:hover {
        border-left: 3px solid #FAA747;
    }
}

/* Ensure flex container doesn't add extra spacing */
#generatorGrid tbody td:last-child > div {
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Make sure buttons are inline on desktop */
@media (min-width: 640px) {
    #generatorGrid tbody td:last-child .flex-col {
        flex-direction: row !important;
    }
}

/* Ensure consistent button heights */
#generatorGrid tbody td:last-child a,
#generatorGrid tbody td:last-child span {
    display: inline-flex !important;
    align-items: center !important;
    height: 32px !important;
}

/* Mobile Generator Cards - Simple Table-like Design */

/* Base mobile styles */
@media (max-width: 768px) {
    /* Reset table structure for mobile */
    #generatorGrid table,
    #generatorGrid thead,
    #generatorGrid tbody,
    #generatorGrid tr,
    #generatorGrid td {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Remove table styling on mobile */
    #generatorGrid {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        width: 100% !important;
    }


    #generatorGrid table,
    #generatorTable {
        background: transparent !important;
        border: none !important;
        border-spacing: 0 !important;
        box-shadow: none !important;
        table-layout: fixed !important;
        width: 100% !important;
    }
    
    /* Hide desktop table headers */
    #generatorGrid thead {
        display: none;
    }

      #generatorGrid thead th{
        color: white !important;
    }
    
    /* Hide desktop-only cells */
    #generatorGrid td:nth-child(2),
    #generatorGrid td:nth-child(3),
    #generatorGrid td:nth-child(4),
    #generatorGrid td:nth-child(5),
    #generatorGrid td:nth-child(6),
    #generatorGrid td:last-child {
        display: none !important;
    }
    
    /* Mobile row container — override desktop alternating row colors */
    #generatorGrid tbody tr,
    #generatorGrid tbody tr:nth-child(2n),
    #generatorGrid tbody tr:nth-child(2n+1) {
        display: block !important;
        margin: 0;
        padding: 0;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        width: 100% !important;
    }
    
    /* Ensure visible rows display properly when filtered */
    #generatorGrid tbody tr.generator-row:not(.hidden) {
        display: block !important;
    }
    
    /* Hide filtered rows */
    #generatorGrid tbody tr.generator-row.hidden {
        display: none !important;
    }
    
    /* Override any table row hover effects */
    #generatorGrid tbody tr:hover {
        background: transparent !important;
    }
    
    /* Force no hover on all row states */
    #generatorGrid tbody tr:hover td,
    #generatorGrid tbody tr:nth-child(odd):hover,
    #generatorGrid tbody tr:nth-child(even):hover,
    #generatorGrid tbody tr:nth-child(2n):hover,
    #generatorGrid tbody tr:nth-child(2n+1):hover {
        background: transparent !important;
        background-color: transparent !important;
    }
    
    /* Remove default padding from cells */
    #generatorGrid td {
        padding: 0;
        border: none;
        background: transparent;
    }
    
    /* Main content cell */
    #generatorGrid td:first-child {
        display: block;
        padding: 0;
        width: 100% !important;
    }
    
    /* Hide desktop content */
    #generatorGrid td:first-child > div:first-child {
        display: none !important;
    }
    
    /* Mobile card container */
    .mobile-card-modern {
        display: block !important;
        background: transparent;
        margin: 0 0 16px 0;
        border: none;
        overflow: hidden;
        padding: 0 16px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Main content grid */
    .mobile-main-grid {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 16px;
        padding: 16px;
        align-items: stretch;
        position: relative;
        background: #ffffff;
        border-left: 3px solid #FAA747;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        border-radius: 0px;
        width: 100% !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: none;
    }

    /* Hover removed for consistency */
    .mobile-main-grid:hover {
        /* No hover effect */
    }
    
    /* Left section - Image and Power */
    .mobile-left-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 8px;
    }
    
    .mobile-gen-image {
        width: 120px;
        height: 90px;
        margin: 0 auto 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-gen-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .mobile-power-display {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 3px;
        background: #000000;
        color: #FAA747;
        padding: 6px 12px;
        border-radius: 0px;
        margin: 0 auto;
    }
    
    .mobile-power-val {
        font-family: 'JCBEuro Bold Regular', sans-serif;
        font-size: 24px;
        color: #FAA747;
        font-weight: 700;
    }
    
    .mobile-power-unit-text {
        font-family: 'JCBEuro Roman Regular', sans-serif;
        font-size: 14px;
        color: #FAA747;
        opacity: 0.8;
    }
    
    /* Right section - Details */
    .mobile-right-section {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Title and description */
    .mobile-title-group {
        display: flex;
        flex-direction: column;
        gap: 3px;
        text-align: left;
    }
    
    .mobile-gen-title {
        font-family: 'JCBEuro Bold Regular', sans-serif;
        font-size: 18px;
        color: #000000;
        line-height: 1.2;
        font-weight: 700;
        text-align: left;
    }
    
    .mobile-gen-subtitle {
        font-family: 'JCBEuro Roman Regular', sans-serif;
        font-size: 13px;
        color: #6b7280;
        line-height: 1.3;
        text-align: left;
    }
    
    /* Specs row */
    .mobile-specs-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 8px 0;
        border-top: 1px solid #f3f4f6;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .mobile-spec {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-family: 'JCBEuro Roman Regular', sans-serif;
        font-size: 11px;
        color: #6b7280;
        gap: 2px;
    }
    
    .mobile-spec-val {
        color: #000000;
        font-family: 'JCBEuro Bold Regular', sans-serif;
        font-size: 13px;
        display: block;
    }
    
    /* Action buttons — spans full width inside mobile-main-grid */
    .mobile-action-row {
        grid-column: 1 / -1;
        display: flex;
        gap: 0;
        border-top: 1px solid #e5e7eb;
    }

    .mobile-quote-btn {
        background: #FAA747;
        color: #000000;
        padding: 10px 20px;
        font-family: 'JCBEuro Bold Regular', sans-serif;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        flex: 1;
    }

    .mobile-pdf-btn {
        background: #fff;
        border: none;
        color: #374151;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 0;
        flex-shrink: 0;
        border-left: 1px solid #e5e7eb;
    }

    .mobile-pdf-btn i {
        font-size: 16px;
    }
    
    /* Standby power display */
    .mobile-standby {
        font-family: 'JCBEuro Roman Regular', sans-serif;
        font-size: 9px;
        color: #9ca3af;
        text-align: center;
        margin-top: 4px;
    }
    
    /* Quote button in left section */
    .mobile-quote-btn-left {
        background: #FAA747;
        color: #000000;
        padding: 8px 16px;
        font-family: 'JCBEuro Bold Regular', sans-serif;
        font-size: 11px;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        border-radius: 0px;
        margin-top: 8px;
        width: 100%;
        text-align: center;
    }
    
    /* View More Button */
    #viewMoreGenerators {
        margin: 20px auto;
        width: auto;
        max-width: 300px;
        padding: 16px 40px;
        font-size: 14px;
        border-radius: 0px;
        background: #FAA747;
        color: #000000;
        border: none;
        font-family: 'JCBEuro Bold Regular', sans-serif;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: block;
        text-align: center;
    }
    
    #viewMoreGenerators span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    #viewMoreGenerators:active {
        transform: scale(0.98);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    #viewMoreGenerators i {
        transition: transform 0.3s ease;
        display: inline-block;
        margin-top: 0px !important;
    }
    
    #viewMoreGenerators i.rotate-180 {
        transform: rotate(180deg) !important;
    }
    
    /* Container spacing */
    #generatorGrid tbody {
        padding: 0;
        background: transparent !important;
    }
    
    /* View more button container */
    .text-center.mt-8 {
        padding: 0 16px;
        display: flex;
        justify-content: center;
    }
    
    /* First and last card spacing */
    #generatorGrid tbody tr:first-child .mobile-card-modern {
        margin-top: 0;
    }
    
    #generatorGrid tbody tr:last-child .mobile-card-modern {
        margin-bottom: 0;
    }
    
    /* Remove alternating colors - all cards transparent */
    #generatorGrid tbody tr .mobile-card-modern {
        background-color: transparent;
    }
    
    /* Remove old styles */
    .mobile-status-badge,
    .mobile-card-hero,
    .mobile-card-content,
    .mobile-specs-grid,
    .mobile-specs-list,
    .mobile-quick-info,
    .mobile-actions-section,
    .mobile-card-wrapper,
    .mobile-image-section,
    .mobile-content-section,
    .mobile-header,
    .mobile-generator-name,
    .mobile-generator-desc,
    .mobile-power-section,
    .mobile-specs-inline,
    .mobile-actions {
        display: none !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 400px) {
    .mobile-main-grid {
        grid-template-columns: 120px 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .mobile-gen-image {
        width: 100px;
        height: 75px;
    }
    
    .mobile-card-modern {
        padding: 0 12px;
    }
    
    .mobile-power-val {
        font-size: 20px;
    }
    
    .mobile-power-unit-text {
        font-size: 12px;
    }
    
    .mobile-gen-title {
        font-size: 16px;
    }
    
    .mobile-gen-subtitle {
        font-size: 12px;
    }
    
    .mobile-specs-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 6px 0;
    }
    
    .mobile-spec {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 4px 0;
        border-bottom: 1px solid #f9fafb;
    }
    
    .mobile-spec:last-child {
        border-bottom: none;
    }
    
    .mobile-spec span:first-child {
        order: 2;
    }
    
    .mobile-spec span:last-child {
        order: 1;
        color: #9ca3af;
    }
    
    .mobile-quote-btn {
        font-size: 11px;
        padding: 9px 16px;
    }

    .mobile-pdf-btn {
        width: 40px;
        height: 40px;
    }

    .mobile-pdf-btn i {
        font-size: 14px;
    }
}

/* Touch feedback */
@media (hover: none) and (pointer: coarse) {
    .mobile-quote-btn,
    .mobile-pdf-btn {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}


/* List styles */
.list-decimal {
    list-style-type: decimal;
}

.list-inside {
    list-style-position: inside;
}

/* HR styling */
hr {
    margin-top: 20px;
    opacity: 0.2;
}

/* Remove underlines from all links */
a {
    text-decoration: none;
}

/* CTA Section - Center elements on tablets and mobile */
@media (max-width: 1024px) {
    .text-left {
        text-align: center !important;
    }
    
    .text-right {
        text-align: center !important;
    }
    
    .lg\:justify-start {
        justify-content: center !important;
    }
    
    .sm\:flex-row {
        justify-content: center !important;
    }
    
    .text-gray-400 {
        color: #9ca3af;
        text-align: center;
    }
    
    .text-gray-500 {
        color: #6b7280;
        text-align: center;
    }
}

/* FAQ Section Styles - Custom Clean Design */
.faq-section {
    padding: 3rem 0;
    background-color: white;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 5rem 0;
    }
}

.section-padding {
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 0;
    }
}

/* Heading styles */
.main-heading {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 3rem;
        margin-bottom: 4rem;
    }
}

/* Tab navigation */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-wrapper {
    background-color: #f3f4f6;
    padding: 0.25rem;
    border-radius: 0.5rem;
    display: inline-flex;
}

.tab-button {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    border: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tab-button.active {
    background-color: black;
    color: white;
}

.tab-button.active:hover {
    background-color: #1f2937;
}

.tab-button.inactive {
    background-color: transparent;
    color: #374151;
}

.tab-button.inactive:hover {
    color: #111827;
    background-color: #e5e7eb;
}

/* Content containers */
.content-container {
    max-width: 64rem;
    margin: 0 auto;
}

/* FAQ item styles */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-left: 4px solid #FAA747;
    padding-left: 1.5rem;
}

.faq-button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-question {
    font-weight: normal;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: black;
}

.faq-icon {
    color: #FAA747;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-button:hover .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 0.75rem;
    color: #374151;
    line-height: 1.6;
}

/* Generator tab specific styles */
.generator-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.equipment-grid {
    background-color: #f9fafb;
    padding: 1rem;
}

.equipment-header {
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: black !important;
}

.equipment-content {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .equipment-content {
        grid-template-columns: 1fr 1fr;
    }
}

.equipment-list {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.equipment-items {
    list-style: none;
    font-size: 0.875rem;
    color: #374151;
}

.equipment-items li {
    margin: 0.25rem 0;
}

.power-rating {
    font-weight: bold;
    color: #FAA747;
    font-size: 1.25rem;
}

.power-label {
    font-size: 0.875rem;
}

/* Ordered list styles */
.calculation-list {
    list-style: decimal;
    list-style-position: inside;
    margin-top: 0.75rem;
    color: #374151;
}

.calculation-list li {
    margin: 0.5rem 0;
}

.formula-box {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #f3f4f6;
    font-size: 0.875rem;
}

/* Code/formula styling */
.inline-code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.5rem;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Important considerations section */
.considerations-section {
    margin-top: 3rem;
}

.considerations-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.considerations-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .considerations-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .considerations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.consideration-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-top: 4px solid #FAA747;
}

.consideration-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.consideration-icon {
    font-size: 1.5rem;
    color: #FAA747;
}

.consideration-title {
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.consideration-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.25rem;
}

/* Unordered list for factors */
.factors-list {
    margin-top: 0.75rem;
    list-style: none;
}

.factors-list li {
    margin: 0.5rem 0;
    color: #374151;
}

 @media (min-width: 1024px) {
      .cta-text-align {
          text-align: left !important;
      }
  }

/* Force mobile card to be full width on tablets and below */
@media (max-width: 1024px) {
    .mobile-card-modern {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 0 16px !important;
    }
}

/* Table Quote Button */
.table-quote-btn {
    background-color: #FAA747;
    color: #000000;
    padding: 0.375rem 0.875rem;
    font-family: 'JCBEuro Bold Regular', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    height: 1.875rem;
}

.table-quote-btn:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Table View Button */
.table-view-btn {
    align-items: center;
    background-color: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    height: 1.875rem;
    width: 1.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.table-view-btn:hover {
    border-color: #000000;
    color: #000000;
}

.table-view-btn i {
    font-size: 0.875rem;
}

/* View More Button - Global Styles */
#viewMoreGenerators {
    margin: 1.25rem auto;
    max-width: 300px;
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    background-color: #FAA747;
    color: #000000;
    border: none;
    font-family: 'JCBEuro Bold Regular', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0px;
    width: auto;
}

#viewMoreGenerators:hover {
    background-color: #000000;
    color: #ffffff;
}

#viewMoreGenerators:active {
    transform: scale(0.98);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

#viewMoreGenerators span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#viewMoreGenerators i {
    transition: transform 0.3s ease;
    display: inline-block;
}

#viewMoreGenerators i.rotate-180 {
    transform: rotate(180deg) !important;
}

/* Vertical specs layout for mobile */
.mobile-specs-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.mobile-spec-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.mobile-spec-value {
    font-family: 'JCBEuro Bold Regular', sans-serif;
    font-size: 14px;
    color: #000000;
    font-weight: 600;
}

.mobile-spec-label {
    font-family: 'JCBEuro Roman Regular', sans-serif;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Mobile FAQ font size */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1.125rem !important;
    }
}
