body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 2rem 0;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 600px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: #555;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"], input[type="number"], select, input[list], input[type="file"] {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.radio-group, .color-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.color-group input[type="color"] {
    height: 40px;
    width: 60px;
    border: 1px solid #ccc;
    padding: 2px;
}

input[type="range"] {
    width: 100%;
}

button, .button {
    background-color: #007bff;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    margin-top: 1rem;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

.qrcode-container, .icon-container, .hero-preview-container {
    text-align: center;
    margin-top: 1.5rem;
}

#qrcode, #icon-canvas, #hero-canvas {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border: 1px solid #eee;
}
