﻿/* Header bar */
.header-bar {
    display: flex;
    justify-content: center;
    background-color: #1B5AEE;
    padding: 10px 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Menu container */
.menuItems {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* Base style for all menu items (links + logout) */
.menu-item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #2F4F9F;
    background-color: #C1D2FA;
    color: #1A2A4F;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    flex: 1 1 130px; /* flex for wrapping on small screens */
    box-sizing: border-box;
}

/* Links inherit base style */
.header-bar a.menu-item {
    text-decoration: none;
}

/* Hover */
.menu-item:hover {
    background-color: #2F4F9F;
    color: #ffffff;
}

/* Logout variant */
.menu-item.logout {
    background-color: #c0392b;
    border-color: #922b21;
    color: #ffffff;
}

    .menu-item.logout:hover {
        background-color: #922b21;
    }

/* Ensure logout form doesn't break layout */
.menuItems form {
    margin: 0;
    padding: 0;
    display: flex;
    flex: 1 1 130px;
}

/* Footer unchanged */
.footer-bar {
    background-color: #E8ECF5;
    color: #5A6478;
    border-top: 1px solid #C7CEDB;
    padding: 16px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
}

    .footer-bar a {
        color: #4A5A78;
        text-decoration: none;
        font-weight: 500;
    }

        .footer-bar a:hover {
            color: #2F3F5F;
            text-decoration: underline;
        }

.myHeaderTitle {
    margin: 0 auto 10px auto;
    padding: 3px;
    text-align: center;
    background-color: #1B5AEE;
    height: fit-content;
}

    .myHeaderTitle h1,
    .myHeaderTitle h2 {
        color: white;
    }


/*.header-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background-color: #1B5AEE;
    padding: 12px 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menuItems {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.header-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #C1D2FA;
    color: #1A2A4F;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #2F4F9F;
    flex: 1 1 120px;*/ /* grow, shrink, base width */
    /*height: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-bar a:hover {
    background-color: #2F4F9F;*/ /* darker blue */
    /*color: white;
}

.footer-bar {
    background-color: #E8ECF5;*/ /* soft, cool gray-blue */
    /*color: #5A6478;*/ /* muted slate text */
    /*border-top: 1px solid #C7CEDB;
    padding: 16px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.footer-bar a {
    color: #4A5A78;*/ /* slightly stronger slate */
    /*text-decoration: none;
    font-weight: 500;
}

.footer-bar a:hover {
    color: #2F3F5F;*/ /* darker slate on hover */
    /*text-decoration: underline;
}

.myHeaderTitle {
    margin: 0 auto 10px auto;
    padding: 3px;
    text-align: center;
    background-color: #1B5AEE;
    height: fit-content;
}

.myHeaderTitle h1,
.myHeaderTitle h2 {
    color: white;
}
.menuItems .logout-btn {
    background-color: #c00;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .menuItems .logout-btn:hover {
        background-color: #900;
    }
.menuItems form {
    display: flex;
    align-items: center;
}*/
