.color_selector {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.color_selector > div {
    width: 30px;
    height: 30px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color_selector > div:hover {
    border-color: #999;
    transform: scale(1.05);
}

.color_selector > div.selected {
    border-color: #000;
    border-width: 3px;
    transform: scale(1.1);
}

.form_item {
    margin-bottom: 15px;
}

.form_control {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#banner {
    height: 120px;
    min-height: 120px;
    width: 100%;
    max-width: 800px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#banner span {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    min-height: 20px;
    min-width: 100px;
}

.preview-controls {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.preview-controls label {
    cursor: pointer;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.preview-controls input[type="radio"] {
    margin: 0;
}
