/* Fix for tab appearance to match screenshot */
.uploader-tabs-container {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #202020;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.uploader-tab-navigation {
    display: flex;
    background-color: #202020;
    border-bottom: none;
}

.uploader-tab-button {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: none;
    color: #cccccc;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    position: relative;
    text-align: center;
}

.uploader-tab-button.active {
    color: white;
}

.uploader-tab-button:hover {
    color: white;
}

.uploader-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #3498db;
}

.uploader-tab-content {
    padding: 0;
}

.uploader-tab-pane {
    display: none;
    padding: 20px;
}

.uploader-tab-pane.active {
    display: block;
}

/* Upload area styling */
.upload-area {
    border: 2px dashed #444;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.2s;
    background-color: #222;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #3498db;
    background-color: rgba(52, 152, 219, 0.05);
}

/* Button styling */
.button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    margin: 10px 0;
}

.button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

/* Preview area styling */
.preview-container, 
.background-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    pointer-events: auto;
}

.image-preview, 
.background-preview {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    pointer-events: auto;
}

.image-preview:hover, 
.background-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.image-preview img, 
.background-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.remove-preview, 
.remove-background {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgba(231, 76, 60, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.image-preview:hover .remove-preview, 
.background-preview:hover .remove-background {
    opacity: 1;
}

/*
.color-indicator-container {
    ...
}
*/

/*
.color-swatch {
    ...
}
*/

/*
.color-label {
    ...
}
*/

.background-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3px 6px;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 10px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* Settings styling */
.background-settings {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.setting {
    margin-bottom: 15px;
}

.setting label {
    display: block;
    margin-bottom: 6px;
    color: #e0e0e0;
    font-weight: 500;
}

.setting-description {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #333;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: none;
}

/* File types text */
.file-types {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}