.ww-select {
    position: relative;
    width: 100%;
}

.ww-select-trigger {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ww-select-trigger i {
    font-size: 1.1rem;
    color: #4a4a4a;
}

.ww-select.open .ww-select-trigger,
.ww-select-trigger:focus-visible {
    border-color: #000;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.03);
}

.ww-select-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.35rem;
    display: none;
    max-height: 16rem;
    overflow-y: auto;
}

.ww-select.open .ww-select-menu {
    display: block;
}

.ww-select-option {
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ww-select-option:hover {
    background: rgba(0, 0, 0, 0.06);
}

.ww-select-option.active {
    background: rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

.ww-select-mini .ww-select-trigger {
    padding: 0.375rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 0.6rem;
    height: auto;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #1a1a1a;
}

.ww-select-mini .ww-select-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    flex: 1;
    text-align: left;
}

.ww-select-mini .ww-select-trigger i {
    font-size: 0.85rem;
    color: #666;
    margin-left: 0.15rem;
    flex-shrink: 0;
}

.ww-select-mini .ww-select-menu {
    border-radius: 0.6rem;
    max-height: 12rem;
    top: calc(100% + 0.3rem);
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

.ww-select-mini .ww-select-option {
    padding: 0.26rem 0.55rem;
    font-size: 0.68rem;
    border-radius: 0.4rem;
    background: transparent;
    color: #444;
}

.ww-select-mini .ww-select-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

.ww-select-mini .ww-select-option.active {
    background: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    font-weight: 700;
}
