
/* TAILWIND COPY */
.display-inline-block {
    vertical-align: top;
    display: inline-block;
}
.float-right {
    vertical-align: top;
    float: right;
}
.font-weight-500 {
    font-weight: 500;
}
.font-weight-700 {
    font-weight: 700;
}

.margin-zero {
    margin: 0;
}
.mt-5 {
    margin-top: 5px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-80 {
    margin-top: 80px;
}
.mb-5 {
    margin-bottom: 5px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}

.mr-2 {
    margin-right: 0.5rem;
}
.ml-2 {
    margin-left: 0.5rem;
}

.p-10 {
    padding: 10px;
}

.absolute-left {
  left: 0;
}
.absolute-right {
  right: 0;
}

/* Tailwind Grid Utilities */
.grid {
    display: grid;
}

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

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-3-fixed {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    display: grid !important;
}
/* Ensure grid-cols-3-fixed stays at 3 columns on all screen sizes */
@media (max-width: 640px) {
    .grid-cols-3-fixed {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 480px) {
    .grid-cols-3-fixed {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

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

.gap-2 {
    gap: 0.5rem; /* 8px */
}
.gap-4 {
    gap: 1rem; /* 16px */
}
.gap-8 {
    gap: 2rem; /* 32px */
}

.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;
}

/* Add responsive variants if needed */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .sm\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .sm\:gap-2 {
        gap: 0.5rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .md\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .md\:gap-8 {
        gap: 2rem; /* 32px */
    }
}

@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\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .lg\:gap-4 {
        gap: 1rem; /* 16px */
    }
    .lg\:gap-8 {
        gap: 2rem; /* 32px */
    }
}

@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\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    .xl\:gap-4 {
        gap: 1rem; /* 16px */
    }
    .xl\:gap-8 {
        gap: 2rem; /* 32px */
    }
} 

@media (max-width: 900px) {
    .hide-900 {
        display: none;
    }
}

.show-768 {
    display: none;
}
@media (max-width: 768px) {
    .hide-768 {
        display: none;
    }
    .show-768 {
        display: block;
    }
}

.show-640 {
    display: none;
}
@media (max-width: 640px) {
    .hide-640 {
        display: none;
    }
    .show-640 {
        display: block;
    }
}

@media (max-width: 580px) {
    .hide-580 {
        display: none;
    }
}