.preview-div{
    border: 1px solid #eee;
    padding: 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
}

.night .preview-div{
    border: 1px solid #444;
}

.preview-box {
    background-color: #f9fafb;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 0.75rem;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%), linear-gradient(-45deg, #e5e7eb 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e7eb 75%), linear-gradient(-45deg, transparent 75%, #e5e7eb 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.night .preview-box {
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 3px;
    padding: 0.5rem;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(45deg, #2d2d2d 25%, transparent 25%), linear-gradient(-45deg, #2d2d2d 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2d2d2d 75%), linear-gradient(-45deg, transparent 75%, #2d2d2d 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.preview-box canvas {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.btn-download {
    display: block;
    margin-top: 0.75rem;
    text-align: center;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    background-color: #10b981;
    color: #fff;
    border-radius: 3px;
    transition: background 0.3s;
    cursor: pointer;
}

/*******************************************/

.upfiles {
    width: 100%;
    float: left;
    border: 1px solid #eee;
    height: 38px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    color: #bbb;
}

.night .upfiles {
    border: 1px solid #444;
    background-color: #181a1b;
}

/*******************************************/

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

.biaotidiv{
    padding:  0.5rem;
}

.biaotidiv>div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.biaotidiv>div > .upfilesdivs {
    grid-column: 1 / -1;
  }

.biaotidiv>div .layui-form-item{
    margin-bottom: 0;
}


@media screen and (max-width: 1424px){
    .biaotidiv>div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1065px){
    .biaotidiv>div {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 886px){
    .biaotidiv>div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 770px){
    .biaotidiv>div {
        grid-template-columns: repeat(1, 1fr);
    }
}