/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #000000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Custom styles for the sample selection */
#fabric-selection {
    list-style: none;
    padding: 0;
}

#fabric-selection li {
    margin: 10px;
}

#fabric-selection label {
    cursor: pointer;
}

#fabric-selection .color.texture {
    display: block;
    width: 50px;
    height: 50px;
    background-size: cover;
}

li span.check-mark {
    display: block;
    position: absolute;
    top: 0;
    text-align: center;
    align-content: center;
    font-size: 28px;
    background: #ffffff3b;
    width: 32px;
    height: 32px;
    border-radius: 30px;
    color: #ffffffba;
    font-weight: bold;
    pointer-events: none;
}
  
  #fabric_samples_id {
    gap: 4px;
  }

  #fabric_samples_id .input-color:checked + span, .input-color:hover + span, label .color:hover {
    border: 0;
  }
  
  .fabric_container {
    display: grid;
  }

#sampleOrderModal .modal-content h3 {

    margin: 1.3rem 0;

}

#sampleOrderModal .modal-content .btn {
    transition: transform 0.3s ease, background-color 0.5s ease, box-shadow 0.3s ease;
}