/* Base styles */
.product_list_form {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 65%);
    background-color: #ffffff;
}

.product_list_form .form-group {
    margin-bottom: 15px;
}

.JT-checkbox__field label {
    margin: 0 0 10px 10px;
}

.row {
    margin-right: -15px;
    margin-left: -15px;
}

.form-control, select, textarea {
    width: 100%;
    text-indent: 18px;
    border: 1px solid #999999;
    border-radius: 3px;
    padding: 0.1em;
    color: #393939;
    height: 35px;
    font-family: "Montserrat", Lato, "Times New Roman", Times, serif;
    line-height: 14px;
    -webkit-font-smoothing: subpixel-antialiased;
}

textarea {
    height: auto;
    padding: 10px;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    width: 200px;
    bottom: 100%;
    left: 50%;
    margin-left: -100px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Button styles */
.btn-default, .edit a.btn {
    border: solid 2px #000;
    background: #fff;
    color: #000;
    height: 41px;
    line-height: 41px;
    padding: 0 20px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    cursor: pointer;
    display: inline-block;
    margin: 0 20px 10px 0;
    text-decoration: none;
}

.btn-default:hover, .edit a.btn:hover {
    background: #000;
    color: #fff;
}

/* File upload styles */
.file-upload {
    display: flex;
    align-items: center;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    background-color: #f0a500;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.file-upload span {
    margin-left: 10px;
}

/* Image upload styles */
#dress-images {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.JT-listDresstab-imageUpload-block {
    margin: 10px;
}

.JT-listDresstab-imageUpload-btn {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 4px;
    text-align: center;
    line-height: 150px;
    font-size: 115px;
    color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
#selectedFiles {
    display: flex;
    flex-wrap: wrap;
}
#selectedFiles div {
    flex: 1 0 33%; /* This will make each div take 1/3 of the available width */
    /*margin: 10px;*/
    max-width: 33%;
}

#selectedFiles div img {
    width:50%;
}
.JT-listDresstab-imageUpload-btn:hover {
    background-color: #e0e0e0;
    color: #999;
}

/* Heading styles */
.product_list_form h2 {
    font-size: 20px;
    text-align: left;
    margin: 15px 0;
    line-height: normal;
    font-weight: 300;
    color: #222;
    display: flex;
    align-items: center;
}

.product_list_form h2::before {
    counter-increment: section;
    content: counters(section, ".") " ";
    width: 20px;
    height: 20px;
    display: flex;
    line-height: normal;
    border-radius: 100%;
    font-size: 12px;
    align-items: center;
    border: 1px solid #aaa;
    margin-right: 10px;
    background-color: #eee;
    justify-content: center;
}

.product_list_form {
    counter-reset: section;
}
.sign-cover{
    display: flex;
    align-items: center;
}
.doller_sign{
    font-size: 25px;
}
/* Media Queries */
@media screen and (max-width: 768px) {
    .product_list_form {
        padding: 15px;
    }

    .row {
        margin-right: -10px;
        margin-left: -10px;
    }

    .btn-default, .edit a.btn {
        width: 100%;
        margin: 10px 0;
    }

    #dress-images {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .product_list_form h2 {
        font-size: 18px;
    }

    .product_list_form h2::before {
        width: 15px;
        height: 15px;
        font-size: 10px;
    }

    .file-upload {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-upload span {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media screen and (min-width: 1024px) {
    .product_list_form h2::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-right: 20px;
    }
}