#password-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;
}

.char-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.option-item span {
    font-size: 14px;
    color: #374151;
}

.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;
}

.strength-section {
    margin-bottom: 20px;
}

.strength-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.strength-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    border-radius: 4px;
    transition: all 0.3s;
}

.strength-fill.weak {
    background: #ef4444;
}

.strength-fill.medium {
    background: #f59e0b;
}

.strength-fill.strong {
    background: #10b981;
}

.strength-fill.very-strong {
    background: #8b5cf6;
}

.strength-text {
    font-size: 14px;
    font-weight: 600;
}

.strength-text.weak {
    color: #ef4444;
}

.strength-text.medium {
    color: #f59e0b;
}

.strength-text.strong {
    color: #10b981;
}

.strength-text.very-strong {
    color: #8b5cf6;
}

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

.password-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;
}

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

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

@media (max-width: 768px) {
    #password-generator-container {
        grid-template-columns: 1fr !important;
    }
    
    .char-options {
        flex-direction: column;
    }
}