* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.generator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.input-section, .output-section {
    flex: 1;
    min-width: 300px;
}

textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-size: 16px;
    margin-bottom: 20px;
}

.settings {
    margin-bottom: 20px;
}

.settings h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input[type="range"] {
    width: 70%;
    vertical-align: middle;
}

.form-group input[type="color"] {
    width: 50px;
    height: 30px;
    vertical-align: middle;
    cursor: pointer;
}

.form-group select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
    margin-bottom: 10px;
}

button:hover {
    background-color: #2980b9;
}

.qr-preview {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px dashed #ddd;
    border-radius: 5px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qr-canvas, #qr-result {
    max-width: 100%;
    max-height: 300px;
}

.download-options {
    display: flex;
    flex-direction: column;
}

#download-png {
    background-color: #2ecc71;
}

#download-png:hover {
    background-color: #27ae60;
}

#download-svg {
    background-color: #e74c3c;
}

#download-svg:hover {
    background-color: #c0392b;
}

#copy-clipboard {
    background-color: #9b59b6;
}

#copy-clipboard:hover {
    background-color: #8e44ad;
}

@media (max-width: 768px) {
    .generator-container {
        flex-direction: column;
    }
}