/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.clearbox{
    clear: both;
}

/* 公告栏样式 */
.announcement {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 订单列表样式 */
.order-list {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-item {
    background-color: #fff; 
    box-shadow: 0 1px 5px rgba(0,0,0,.2); 
    border-radius: 5px; 
    padding: 0 11px 11px 11px; 
    margin-bottom: 22px;
    border-bottom: none;
}

.copy-btn {
    padding: 3px 8px;
    margin-left: 10px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    float: right;
    min-width: 70px;
}

.copy-btn:hover {
    background-color: #d4edda;
}
.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.order-item h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px #ebeef5 solid;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media screen and (max-width: 360px) {
    .order-item h3 {
        font-size: small;
        line-height: 23px;
        height: 46px;
        overflow: hidden;
    }
}

.order-item p {
    color: #666;
    margin-bottom: 1px;
}

.delete-btn {
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #d4edda;
}

.filter-group {
    margin-bottom: 1px;
}

.filter-group h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.options label {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.options input[type="checkbox"] {
    margin-right: 5px;
}

#keyword-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* 浅绿色按钮样式 */
.btn-green {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-green:hover {
    background-color: #d4edda;
}

/* 上传页面样式 */
#app h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2e7d32;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.success-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    text-align: center;
}

.error-message {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
    color: #721c24;
}

/* 后台样式 */
.top-title{
    position: position;
    margin-top: 20px;
}
#order-count{
    float: left;
}


/* 筛选样式 */
.table-sou{
    padding: 20px 0;
}


@media screen and (max-width: 768px) {
    .layui-form-item {
        margin-bottom: 15px;
    }
    .layui-input-block {
        margin-left: 0 !important;
    }
    .layui-form-label {
        display: block;
        margin-bottom: 5px;
    }
    .layui-btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .layui-btn {
        flex: 1;
    }
    .layui-input-block input[type="checkbox"] {
        margin-right: 8px;
    }
}