/* Custom styles for Statzer Transportation */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom form styles */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Table responsive wrapper */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* Fix dropdown font size and positioning */
select {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
}

select option {
    font-size: 1.125rem !important;
    padding: 0.75rem 1rem !important;
    line-height: 1.75rem !important;
}

/* Ensure dropdown appears correctly in tables - prevent overflow clipping */
.overflow-x-auto {
    overflow-y: visible !important;
    overflow-x: auto !important;
}

/* Prevent parent containers from clipping dropdowns */
div[class*="overflow"] {
    overflow-y: visible !important;
}

table {
    position: relative !important;
}

table tbody {
    position: relative !important;
}

table tr {
    position: relative !important;
}

table td {
    position: relative !important;
    overflow: visible !important;
}

table select {
    position: relative !important;
    z-index: 100 !important;
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
    min-height: 2.75rem !important;
}

table select:focus {
    z-index: 1000 !important;
    position: relative !important;
}

/* Force larger font for dropdown options in admin tables */
table select option {
    font-size: 1.125rem !important;
    padding: 0.75rem 1rem !important;
    line-height: 1.75rem !important;
    min-height: 2.75rem !important;
}

/* Home / testimonials: horizontal review strip */
.statzer-testimonials-slider {
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 58, 138, 0.35) transparent;
}

.statzer-testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.statzer-testimonials-slider::-webkit-scrollbar-track {
    background: rgba(243, 244, 246, 0.9);
    border-radius: 9999px;
}

.statzer-testimonials-slider::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.35);
    border-radius: 9999px;
}

.statzer-testimonials-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(30, 58, 138, 0.5);
}
