* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f0f2f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
}

button {
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover {
    background: #2980b9;
}

#qrcode {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.download-btn {
    background: #2ecc71;
}

.download-btn:hover {
    background: #27ae60;
}

.clear-btn {
    background: #e74c3c;
}

.clear-btn:hover {
    background: #c0392b;
}

@media (max-width: 600px) {
    .input-group {
        flex-direction: column;
    }
    
    button, input[type="text"] {
        width: 100%;
    }
}
