﻿._nav {
    display: flex;
    justify-content: center;
    background-color: #f8f9fa;
    border-bottom: 2px solid #ccc;
}

._menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}


._nav-item, .nav-item {
    position: relative;
}

    ._nav-item:last-child {
        margin-right: 0;
    }

._nav-link {
    display: flex;
    padding: 1px 1px !important;
    text-decoration: none;
    color: white !important;
    font-weight: normal;
    position: relative;
}
.nav-link {
    color: white;
}

._nav-link:hover {
    font-weight: bold;
}

._nav-item::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

._nav-link:hover::after {
    background-color: #007bff;
}
/*
._submenu {
    display: none;
    top: 100%;
    left: 0;
    background-color: #1f1f1f;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    padding: 0;
    margin: 0;
}*/

._submenu, .submenu {
    position: absolute;
    top: 100%; /* places submenu directly below parent */
    left: 0;  
    list-style: none;
    background-color: #1f1f1f;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    display: none; /* hidden by default */
    z-index: 1000; /* ensures it's on top of other content */
}

._submenu li {
    margin: 0;
}

._submenu li ._nav-link {
    padding: 10px 5px;
    white-space: nowrap;
}

._nav-item:hover ._submenu {
    display: block;
}

._nav-item:hover ._nav-link {
    font-weight: bold;
}

/* 
    .jft-nav-items {
    left: 40% !important; 
}
_content/JFTMainSite/Shared/NavMenu.razor.rz.scp.css 
.jft-nav-menu[b-n4g6qz94sg] {
    background-color: #1f1f1f;
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}
*/

.jft-nav-menu {
    height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #1f1f1f; /* or your color */
    padding: 10px 0;
    position: relative; /* critical: not absolute */
    z-index: 10;
}


.jft-nav-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}


.jft-login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #f4f4f4;
}

.jft-login-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

    .jft-login-card h2 {
        color: #003262;
        margin-bottom: 15px;
    }

    .jft-login-card p {
        color: #444;
        margin-bottom: 25px;
    }


.jft-login-btn:hover {
    background-color: #7a0000;
}


.btn-primary, .jft-login-btn{
    background-color: #441f; 
    color: white;
    padding: 0.6rem 0.6rem 0.6rem; 
    transition: background-color 0.2s ease;
}


.jft-footer {
    position: absolute !important;
    bottom: 5px !important;
}