/* UPLOAD PRODUCTS */

#upload-header {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0px auto;
    padding: 50px 40px 20px 40px;
    gap: 8px;
}

#upload-info {
    display: flex;
    max-width: 1200px;
    margin: 0px auto;  
    flex-wrap: wrap; 
    flex-direction: column;
    padding: 15px 40px 30px 40px;
}

.upload-image-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.upload-button {
    padding: 15px 20px;
    background-color: #00432d;
    color: white;
    border-radius: 15px;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

#upload-product-type {
    padding: 15px 20px;
    background-color: #00432d;
    color: white;
    border-radius: 15px;
    border: none;
    font-size: 1em;
}

.submit-button {
    margin-top: 10px;
    padding: 15px 20px;
    background-color: #00432d;
    color: white;
    border-radius: 15px;
    border: none;
    font-size: 1em; 
    cursor: pointer;
}

#upload-info h2 {
    margin: 30px 00px 10px 0px;
}

.small-input {
    height: 60px;
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-size: 1em;
    background-color: rgb(227 227 227);
}

.large-input {
    height: 170px;
    border: none;
    border-radius: 15px;
    padding: 15px;
    font-size: 1em;
    resize: none;
    background-color: rgb(227 227 227);
}

.mockup-preview {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    border: none;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.delete-button {
    margin: 10px 0px 30px 0px;
    padding: 15px 20px;
    background-color: rgb(131, 0, 0);
    color: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.192);
    font-size: 1em; 
    cursor: pointer;
}

canvas {
    border-radius: 15px;
}

#preview-area {
    max-width: 300px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#scale-slider {
    -webkit-appearance: none; /* Remove default style */
    width: 200px;              /* Fixed width */
    height: 12px;              /* Track height */
    background: #D0D7CD;       /* Track color */
    border-radius: 6px;
    outline: none;
}

/* Webkit browsers (Chrome, Safari, Edge) */
#scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #3B524A;
    border-radius: 50%;
    cursor: pointer;
    margin-top: 1px; /* centers thumb vertically relative to 12px track */
}

/* Firefox */
#scale-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #3B524A;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* IE */
#scale-slider::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #3B524A;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.size-range {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#product-preview {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.upload-instructions {
    max-width: 300px;
    min-width: 220px;
    flex: 1 1 220px;
    margin-top: 10px;
}

.image-manipulators {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.color-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.color-selector select {
    padding: 3px 10px;
    font-size: 1em;
    border-radius: 20px;
    border: none;
    background-color: #D0D7CD;
}

#title-counter, #desc-counter {
    margin-top: 5px;
}