
/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');
body {
    font-family: 'Roboto', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

/* Professional header styling */
#sticky-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-bottom: none !important;
}

#sticky-header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

#sticky-header h1 .text-blue-300 {
    color: #93c5fd;
    margin-left: 0.5rem;
}

#sticky-header .container {
    padding: 0 1rem;
}

#date-display {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

#sticky-header .flex {
    height: 60px;
}

#sticky-header a {
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

#sticky-header a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#sticky-header a i {
    margin-right: 0.5rem;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
main {
    flex: 1;
}
/* Table styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    margin-bottom: 1rem;
}

table {
    min-width: 100%;
    white-space: nowrap;
}

/* Table row styling */
tr[onclick] {
    transition: all 0.2s ease;
    font-weight: 400;
}

tr[onclick]:hover {
    background-color: #f1f5f9 !important;
}

/* Hide scrollbar but keep functionality */
.table-container::-webkit-scrollbar {
    display: none;
}

.table-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Day type selector styling */
.day-type-selector {
    display: flex;
    justify-content: center;
    margin: 1rem 0 1.5rem;
    gap: 0.5rem;
}
.day-type-selector a {
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #3b82f6;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0 4px;
}
.day-type-selector a:not(.active) {
    background: white;
    color: #000;
    border-color: #3b82f6;
}
.day-type-selector a.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}
.day-type-selector a:hover {
    background-color: #3b82f6;
    box-shadow: 0 0 0 5px #3b83f65f;
    color: #fff;
}
/* Station item styling */
.station-item {
    transition: all 0.2s ease;
    padding: 16px 12px;
    position: relative;
    font-weight: 500;
}

/* Station icon styling */
.station-item i[data-feather="map-pin"] {
    display: inline-block !important;
    color: currentColor;
    margin-right: 12px;
}
.station-item h3 {
    pointer-events: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.station-item > div {
    pointer-events: none;
}
.station-item:active {
    background-color: rgba(59, 130, 246, 0.1);
}
/* Station schedule styling */
.station-schedule {
    animation: fadeIn 0.3s ease forwards;
    padding: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}
.station-schedule h4 {
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1e293b;
}
.grid.grid-cols-3 {
    gap: 12px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Responsive adjustments */
@media (max-width: 640px) {
    .station-item {
        padding: 14px 10px;
    }
    
    .station-item h3 {
        font-size: 1.05rem;
    }
    
    .grid.grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    body {
        font-size: 0.95rem;
    }
}
/* Bottom nav spacing */
main {
    padding-bottom: 70px !important;
}

/* Bottom nav styling */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    padding: 8px 12px;
    flex: 1;
}

.nav-icon.active {
    color: #3b82f6;
}

.nav-icon svg {
    width: 24px;
    height: 24px;
}

.nav-icon span {
    font-size: 10px;
    margin-top: 4px;
}
