.fc-submenu {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    font-size: 14px;
    margin: 14px 0 18px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #f9fafb, #f3f4f6);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.fc-submenu-label {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.fc-submenu-label::after {
    content: ":";
    margin-left: 2px;
}

.fc-submenu-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.fc-submenu-part {
    display: flex;
    align-items: center;
}

.fc-submenu-part + .fc-submenu-part::before {
    content: "/";
    color: #9ca3af;
    margin: 0 .4rem;
}

.fc-submenu-link {
    text-decoration: none;
    color: var(--retro-blue);
    font-weight: 500;
    transition: color .15s ease;
}

.fc-submenu-text {
    position: relative;
    display: inline-block;
}

.fc-submenu-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.fc-submenu-link:hover {
    color: var(--retro-blue);
}

.fc-submenu-link:hover .fc-submenu-text::after {
    transform: scaleX(1);
}

.fc-submenu-link.is-current {
    color: black;
    font-weight: 600;
}

.fc-submenu-link.is-current .fc-submenu-text::after {
    transform: scaleX(1);
}

.fc-submenu-logout {
    margin-left: auto;
}

.fc-submenu-logout {
    color: #dc2626;
}

.fc-submenu-logout .fc-submenu-text {
    color: inherit;
}

.fc-submenu-logout .fc-submenu-text::after {
    background: #dc2626;
}

.fc-submenu-logout:hover {
    color: #b91c1c;
}

.fc-submenu-logout:hover .fc-submenu-text::after {
    background: #b91c1c;
}

.fc-submenu-part + .fc-submenu-part:has(.fc-submenu-logout)::before {
    color: #e5e7eb;
}
