/* Existing styles */
body {
    background-color: #f8f9fa;
    font-family: Poppins, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

.countdown {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.flap {
    background: #222;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0 5px;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.flap-2 {
    background: #ff5722;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

/* Flap display style */
.flap-display {
    display: flex;
    align-items: center;
    margin-left: 1em;
}

.unit {
    font-size: 20px;
    color: #eee;
    margin-left: 5px;
}


.label {
    font-size: 12px;
    color: #eee;
    margin-top: 5px;
}

.total-distance-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    color: white;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.profile-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar {
    padding: 10px 15px;
}

.nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs .nav-item {
    flex-shrink: 0;
}

.container {
    padding-top: 15px;
}

.table {
    font-size: 14px;
}

.btn {
    font-size: 14px;
    padding: 8px 12px;
}

.announcement-banner-2 {
    background-color: #17a2b8 !important; /* Light Blue */
    color: white;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.content {
    flex: 1; /* Pushes footer to bottom */
    margin-top: 1em;
}
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #212529; /* Bootstrap dark navbar color */
    color: #ffffff; /* White text */
    padding: 10px;
    font-size: 14px;
}
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
}

.table {
    margin-top: 20px;
}

.modal-title {
    font-weight: bold;
}

footer {
    margin-top: 40px;
}

.profile-photo {
    margin-right: 1em;
}

.announcement-banner {
    background-color: #FC4C02; /* Strava orange color */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.strava-logo {
    height: 1.5em;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs {
    font-weight: bold;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: white !important;
    background-color: #fc4c01;
}

:root, [data-bs-theme=light] {
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
}

#footer-nav{
    margin-top: 5rem;
}