.custom-nav__link {
    position: relative;
    padding-bottom: 10px; /* небольшой отступ снизу для линии */
    transition: color 0.2s ease;
}

.custom-nav__link::after {
    content: "";
    position: absolute;
    bottom: 0; /* линия снизу */
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #56CBF1; /* цвет линии */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.custom-nav__link:hover::after,
.custom-nav__link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.custom-nav__link:hover {
    color: #56CBF1;
}

.navbar-logo:hover {
    color: #56CBF1;
}


.dropdown-item:active {
    background-color: transparent !important;
    color: inherit !important;
}

.dropdown-item:hover {
    color: #56CBF1;
}

/* New style 19.08.2025 */


/* Dropdown style */
.navbar .dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #e6f7ff;
    color: #0d6efd;
    border-radius: 8px;
}

/* Аватар юзера */
.navbar .nav-link img {
    border: 2px solid #0d6efd;
    transition: transform 0.2s ease;
}

.navbar .nav-link img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
    .navbar .dropdown-menu {
        width: 100%;
        border-radius: 0 0 12px 12px;
        box-shadow: none;
        border-top: 1px solid #eee;
    }

    .navbar .dropdown-item {
        text-align: center;
        padding: 12px;
    }
}








