/* Styles for the Upcoming Minibuses Page */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
/* Modern Header Styles */
.modern-header {
    background: linear-gradient(135deg, #007BFF, #0056b3); /* Blue gradient */
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Holiday Header Styles */
.holiday-header {
    background: linear-gradient(135deg, #FF6F61, #D84315); /* Pleasant red gradient */
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}
/* Modern Header Styles */
.current-time-container {
    font-size: 2.5rem; /* Increased font size */
    font-family: 'Courier New', Courier, monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px; /* Increased padding */
    border-radius: 5px;
    font-weight: bold; /* Optional: Make the time bold */
    letter-spacing: 2px; /* Optional: Add spacing between characters for better readability */
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-controls {
    display: flex;
    gap: 15px;
}

.control-button {
    background-color: #FFC107; /* Yellow */
    color: #0056b3; /* Dark blue text */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.control-button:hover {
    background-color: #FFA000; /* Darker yellow */
    color: white; /* White text on hover */
}

main {
    padding: 1rem;
}

.card {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    margin: 20px 0;
}

.schedule-list {
    flex: 0 1 auto; /* Resize to fit content */
    margin-right: 20px;
}

.schedule-wheel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-item {
    font-size: 1rem;
    color: #555;
}

.schedule-item.past-schedule {
    color: #999;
}

.schedule-item.upcoming-schedule {
    color: #007BFF;
    font-size: 1.5rem;
    font-weight: bold;
}

.schedule-item.next-schedule {
    color: #333;
}

.next-minibus-label {
    flex: 0 1 auto; /* Resize to fit content */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #007BFF; /* Blue background */
    color: #fff; /* White text */
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 12px; /* Rounded square */
    text-align: center;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.next-schedule {
    flex: 1; /* Fill remaining width */
    text-align: center;
    border-left: 2px solid #ddd;
    padding-left: 20px;
}

.next-schedule h3 {
    font-size: 1.5rem;
    color: #333;
}

.next-schedule p {
    font-size: 2rem;
    font-weight: bold;
    color: #007BFF;
}

.card-green {
    background-color: #e6f7e6; /* Light green background */
    border: 1px solid #4caf50; /* Green border */
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2); /* Subtle green shadow */
}

.card-green .schedule-item {
    color: #388e3c; /* Dark green text for schedule items */
}

.card-green .schedule-item.upcoming-schedule {
    color: #2e7d32; /* Highlighted green for the upcoming schedule */
    font-weight: bold;
}

.card-green .next-minibus-label {
    background-color: #4caf50; /* Green background for the label */
    color: #fff; /* White text */
}

.card-green .next-schedule {
    color: #2e7d32; /* Green text for the next schedule */
}

.card-green .next-schedule p {
    color: #2e7d32; /* Green text for the next schedule */
}

/* Floating Flakes/Glimmers */
.holiday-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensure decorations don't block user interactions */
    z-index: 1; /* Place decorations above other elements */
    overflow: hidden;
}
.flake {
    position: absolute;
    top: -50px; /* Start slightly above the viewport */
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8); /* White with slight transparency */
    border-radius: 50%; /* Make it circular */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Add a glowing effect */
    animation: floatAndSway 10s linear infinite; /* Use combined animation */
}

@keyframes floatAndSway {
    0% {
        transform: translate(0, 0); /* Start at the top and center */
        opacity: 1; /* Fully visible */
    }
    50% {
        transform: translate(20px, 50vh); /* Sway to the right and move halfway down */
    }
    100% {
        transform: translate(0, 100vh); /* Return to center horizontally and move to the bottom */
        opacity: 0; /* Fade out at the bottom */
    }
}
.footer-message {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    padding: 5px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}