/* Nice Select CSS */
.nice-select {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
}

.nice-select:after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #999;
    pointer-events: none;
}

.nice-select.open:after {
    border-top: none;
    border-bottom: 4px solid #999;
}

.nice-select .current {
    display: block;
    padding: 0 30px 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nice-select .list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    max-height: 200px;
    overflow-y: auto;
}

.nice-select.open .list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nice-select .option {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nice-select .option:hover {
    background-color: #f5f5f5;
}

.nice-select .option.selected {
    background-color: #e6f3ff;
    font-weight: bold;
}

.nice-select .option.disabled {
    color: #999;
    cursor: not-allowed;
}

.nice-select .option.disabled:hover {
    background-color: transparent;
} 