.qr-generator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.qr-generator-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.qr-generator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.qr-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.qr-input, .qr-select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.qr-input:focus, .qr-select:focus {
    outline: none;
    border-color: #4f46e5;
}

.qr-color {
    width: 60px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qr-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    background: #e0e0e0;
    border-radius: 4px;
    outline: none;
}

.qr-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #4f46e5;
    border-radius: 50%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-upload-design {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-design:hover {
    border-color: #4f46e5;
    background: #f0f4ff;
    color: #4f46e5;
}

.file-upload-design svg {
    margin-bottom: 0.5rem;
}

.qr-file {
    display: none;
}

.qr-button {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 0.5rem;
}

.qr-button:hover {
    background: #4338ca;
}

.qr-button.secondary {
    background: #f1f5f9;
    color: #334155;
}

.qr-button.secondary:hover {
    background: #e2e8f0;
}

.qr-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    height: 100%;
    position: sticky;
    top: 20px;
}

.qr-placeholder {
    color: #64748b;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-placeholder svg {
    opacity: 0.7;
}

.qr-download {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.image-preview-container {
    width: 100%;
    min-height: 100px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto;
    overflow: hidden;
    background: #f8fafc;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.image-preview-container span {
    color: #94a3b8;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .qr-generator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .qr-result {
        position: static;
        min-height: 300px;
    }
}