html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}

/* Ensure container takes available space */
/*.container {
    flex: 1;
}*/

main {
    flex: 1;
}

/* Optional footer styling */
footer.footer {
    background: #222;
    color: #ccc;
    padding: 1rem;
    text-align: center;
}


.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 0.75rem 1.5rem;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);*/
    color: white;
}

    .topbar a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        transition: color 0.2s ease;
    }

        .topbar a:hover {
            color: #cceacc;
        }

.topbar-left .home-button {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.user-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.username-label {
    padding: 0.5rem;
    font-weight: bold;
    color: white;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #222;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 5px;
}

    .dropdown-content a {
        color: white;
        padding: 0.75rem 1rem;
        text-decoration: none;
        display: block;
        transition: background 0.2s ease;
    }

        .dropdown-content a:hover {
            background-color: #296943;
        }

.dropdown-section-header {
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    padding: 0.5rem 1rem 0.25rem 1rem;
    margin-top: 0.25rem;
}


.user-dropdown:hover .dropdown-content {
    display: block;
}


.home-button-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    text-align: center;
    margin-top: 90px;
}

.card-button {
    background: repeating-linear-gradient(45deg, #2c2c2c, #2c2c2c 10px, #383838 10px, #383838 20px);
    border: 2px solid #888;
    color: #ddd;
    font-family: 'Georgia', 'Garamond', serif;
    font-weight: bold;
    font-size: 2.4rem;
    letter-spacing: 3px;
    text-shadow: 0 1px 0 #000, 0 2px 3px rgba(0, 0, 0, 0.8), 1px 1px 1px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 150px;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.05), 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    user-select: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card-button:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    }
