#clockContainer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
    text-align: center;
    
    /* ADD THESE TWO LINES */
    min-width: 280px;     /* forces enough width so the button never wraps */
    padding: 0 20px;      /* extra breathing room on narrow phones */
}


#analogClock { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    pointer-events: none;   
}

#digitalClock {
    display: none !important;  /* Completely remove the numbers */
}

/* Button that appears over the clock when time is up */
#nextStationBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    pointer-events: auto;
    background: gold;
    color: black;
    border: 2px solid black;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    cursor: pointer;
    white-space: nowrap;  /* prevents the text from ever wrapping */
}

/* Responsive: bigger clock on small screens */
@media (max-width: 480px) {
    #analogClock { 
        width: 120px; 
        height: 120px; 
    }
    #nextStationBtn {
        font-size: 20px;
        padding: 14px 28px;
    }
}
