.upload-container {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.custom-file-upload {
    display: inline-block;
    margin-bottom: 20px;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.custom-file-upload label {
    cursor: pointer;
}

#submitArtworks {
    background-color: var(--colorBg);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#submitArtworks:hover {
    cursor: pointer;
}

.upload-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
}

#thumbnail-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.progress-wrapper {
    width: 300px;
    max-width: 100%;
    position: relative;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail-frame {
    position: relative;
    width: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail,
.progress-wrapper img {
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #bbbbbb;
}

.delete-overlay {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background-color: rgba(255, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail-frame:hover .delete-overlay {
    opacity: 1;
}

.controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.input-group label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.input-group input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

/* Hide number input arrows for WebKit and Firefox */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}

.duplicate-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.duplicate-btn:hover {
    background-color: #45a049;
}

.tooltip {
    background-color: #f44336;
    color: white;
    border-radius: 6px;
    padding: 5px;
    font-size: 12px;
    text-align: center;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.delete-overlay:hover {
    opacity: 1;
    transition: 300ms ease-in-out;
}
