.top-header {
    background-color: #fff;
    padding: 8px 0;
    font-size: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 40px;
}

.top-header-left,
.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-header-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.top-header-item a:hover {
    color: #333;
}

.dropdown-toggle {
    color: #666;
    text-decoration: none;
}

.dropdown-menu {
    min-width: 120px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 6px 16px;
    color: #666;
}

.dropdown-item:hover {
    background-color: #eee;
}

.dropdown-item.active {
    background-color: #e0e0e0;
    color: #333;
}

.register ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.register a {
    color: #666;
    text-decoration: none;
}

.register a:hover {
    color: #333;
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .top-header-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
    }
    .top-header-left {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .top-header-right {
        gap: 10px;
    }

    .register ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
