body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column; /* Align top and bottom sections vertically */
    justify-content: flex-start; /* Align content to the top */
    align-items: center; /* Center content horizontally */
    height: 100vh;
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.loading-icon {
    background-image: url('loading-clock.png');
}

.safe-icon {
    background-image: url('safe-check.png');
    display: none;
}

.safe-text {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #28a745;
    transition: width 0.5s ease;
}

.route-btn {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin: 10px 0;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.footer {
    margin-top: 10px; /* Adjust the position of the footer */
    font-size: 12px;
    color: gray;
    background-color: #f9f9f9; /* Match the body background */
    border-top: 2px solid #28a745; /* Add a green border to the top of the footer */
    padding: 10px 0; /* Adds space inside the footer */
}

.footer a {
    text-decoration: none;
    color: #28a745; /* Links in the footer with green color */
}
