/* === NAVBAR CORE STYLES === */

.navbar {
    font-family: var(--font-family, Arial, sans-serif);
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    z-index: 1030;
}

.navbar-nav .nav-link {
    font-size: 19px;
    margin: 0 10px;
    transition: color 0.3s ease;
    color: #212529;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    text-decoration: underline;
    color: #0d6efd;
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    text-decoration: underline;
    color: #0d6efd;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    background-color: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* === TOPBAR === */

.bg-primary-topbar {
    background-color: #002f6c; /* oficiálna modrá */
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    font-size: 16px;
    width: 100%;
}

/* === TOPBAR DROPDOWN === */
.topbar {
    background-color: #002f6c;
    color: white;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 16px;
    width: 100%;
}

.topbar-container {
    width: 100%;
    max-width: 1200px;
    text-align: left;
}

.topbar-title {
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

.topbar-icon {
    margin-left: 10px;
    font-size: 12px;
}

.topbar-dropdown {
    background: #002f6c;
    color: white;
    padding: 20px;
    width: 100%;
    text-align: left;
    display: none;
}

.topbar-dropdown:not(.hidden) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
}

.topbar-content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px;
    max-width: 900px;
    width: 100%;
}

.topbar-column {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.topbar-column p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }

    .topbar-column {
        max-width: 100% !important;
        width: 100% !important;
    }
}


/* === DROPDOWN MENU === */

.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    font-size: 14px;
    padding: 0.25rem 1.5rem;
    color: #212529;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd;
}

/* === LOGIN BUTTON === */

.btn-login {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    background-color: #002f6c;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    background-color: #00408a;
    color: #ffffff;
    text-decoration: none;
}

/* === USER DROPDOWN === */

.navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}
