.layui-tab-card{
    margin-top: 0.75rem;
    margin-bottom: 0;
}

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

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

.biaotidiv{
    padding:  0.5rem;
}

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

.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);
    }
}

@media screen and (max-width: 500px){
    #example {
        margin: 0 0.25rem;
    }
}

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

@media screen and (max-width: 420px){
    .action-bar button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .action-bar button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .action-bar button:nth-child(3){
        width: calc(50% - 0.25rem);
        float: left;
        margin-top: 0.5rem;
    }
    .action-bar button:nth-child(4){
        width: calc(50% - 0.25rem);
        float: right;
        margin-top: 0.5rem;
    }
}

@media screen and (max-width: 390px){
    .action-bar button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .action-bar button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .action-bar button:nth-child(3){
        width: calc(50% - 0.25rem);
        float: left;
        margin-top: 0.5rem;
    }
    .action-bar button:nth-child(4){
        width: calc(50% - 0.25rem);
        float: right;
        margin-top: 0.5rem;
    }
}

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

.qrcoderes{
    border: 1px solid #eee;
    border-radius: 3px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

@media screen and (max-width: 1180px){
    .qrcoderes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 960px){
    .qrcoderes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 886px){
    .qrcoderes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 560px){
    .qrcoderes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 350px){
    .qrcoderes {
        grid-template-columns: repeat(1, 1fr);
    }
}

.night .qrcoderes{
    border:1px solid #444;
}

.qr-card {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.night .qr-card{
    border: 1px solid #444;
}

.qr-card .canvas-wrap {
    background-color: transparent;
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    border: 1px solid #eee;
    border-radius: 3px;
    padding:0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:0.6rem;
    aspect-ratio: 1;
    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%);
}

.night .qr-card .canvas-wrap {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.04) 75%);
    border: 1px solid #444;
}

.qr-card canvas {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}


.qr-card .card-actions {
    display: flex;
    gap: 6px;
}


.qr-card .meta {
    font-size: 11px;
    color: #8a96a0;
    word-break: break-all;
    line-height: 1.5;
    max-height: 50px;
    margin-bottom: 10px;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-card .card-actions {
    display: flex;
    gap: 6px;
}

.btn-download {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    background-color: #10b981;
    border: 0;
    color: #fff;
    border-radius: 3px;
    transition: background 0.3s;
    width: 100%;

}

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

.upfiles {
    height: 1.9rem;
    line-height: 1.9rem;
    border: 1px solid #eee;
    padding-left: 0.5rem;
    cursor: pointer;
    color: #bbb;
    width: calc(100% - 38px);
    float: left;
}

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

.addfont {
    width: 38px;
    height: 38px;
    line-height: 38px;
    float: left;
    text-align: center;
    border: 1px solid #eee;
    border-left: 0;
    cursor: pointer;
    position: relative;
}

.night .addfont {
    border: 1px solid #444;
    border-left: 0;
}

#logoRemove i{
    font-size: 0.6rem;
    color: #888;
}