#nanoid-generator-container {
    margin-bottom: 15px;
}

.length-control {
    display: flex;
    gap: 15px;
    align-items: center;
}

.length-slider {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.length-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #8b5cf6;
    border-radius: 50%;
    cursor: pointer;
}

.length-input {
    width: 70px;
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    outline: none;
}

.length-input:focus {
    border-color: #8b5cf6;
}

.charset-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.charset-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.charset-option:hover {
    background: #f3f4f6;
}

.charset-option.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.charset-option input {
    cursor: pointer;
}

.custom-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}

.custom-input:focus {
    border-color: #8b5cf6;
}

.count-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.count-input:focus {
    border-color: #8b5cf6;
}

.id-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.id-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.id-item:hover {
    background: #f3f4f6;
    border-color: #8b5cf6;
}

.id-text {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    color: #1f2937;
    word-break: break-all;
    flex: 1;
}

@media (max-width: 768px) {
    #nanoid-generator-container {
        grid-template-columns: 1fr !important;
    }
}