/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1800px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
}

h1 {
    margin-top: 0;
    text-align: center;
}

#saveButton {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#saveButton:hover {
    background-color: #0056b3;
}

.main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 2px solid #ccc;
    padding-right: 20px;
}

.tabs {
    display: flex;
    gap: 10px;
}

.tab-button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.tab-button:hover, .tab-button.active {
    background-color: #0056b3;
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: bold;
}

input[type="file"], input[type="text"], input[type="color"], input[type="number"], select {
    margin-bottom: 10px;
}

button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ccc;
    background-color: #e9e9e9;
    border-radius: 8px;
}

canvas {
    max-width: 100%;
    max-height: 100%;
    cursor: move;
}

.image-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: border 0.3s ease;
}

.option-image:hover {
    border-color: #007BFF;
}
