/* order.css 基础结构样式骨架 */
body {
    background: #fdf6f6;
}





/* 保证主内容区与导航栏有足够距离 */
.cert-page-bg {
    min-height: 100vh;
    padding: 200px 0 40px 0;
}

.cert-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: none;
    align-items: flex-start;
    position: relative;
}

/* 作品登记查询页面专属样式，仅保留订单相关内容 */

.order-main {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 40px 48px 32px 48px;
    min-width: 0;
}

.order-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.order-header-bar .order-title {
    margin-bottom: 0;
}


@media (max-width: 600px) {
    .order-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .order-header-bar .order-title {
        text-align: left;
    }
}

/* .order-title {
    font-size: 22px;
    color: #222;
    font-weight: bold;
    margin-bottom: 28px;
} */

.order-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.order-tabs .tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border 0.2s;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

.order-tabs .tab-btn.active {
    color: #d7262b;
    border-bottom: 2px solid #d7262b;
    background: #fff;
    font-weight: bold;
}

.order-tabs .tab-btn:hover {
    color: #d7262b;
}

.order-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.order-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #eee;
    border-radius: 6px;
    font-size: 15px;
    background: #fafbfc;
    transition: border 0.2s;
}

.order-search-input:focus {
    /* border: 1.5px solid #d7262b; */
    outline: none;
}

.order-search-btn {
    background: #d7262b;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-search-btn:hover {
    background: #b91c1f;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}

.order-card {
    display: flex;
    align-items: flex-start;
    background: #fafbfc;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
    padding: 22px 28px;
    gap: 24px;
    border: 1px solid #f0f0f0;
}

.order-card-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.order-card-title {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-card-meta {
    font-size: 13px;
    color: #888;
}

.order-card-date {
    font-size: 13px;
    color: #aaa;
}

.order-card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 120px;
}

.order-card-price {
    font-size: 18px;
    color: #d7262b;
    font-weight: bold;
}

.order-card-qty {
    font-size: 13px;
    color: #888;
}

.order-card-btns {
    display: flex;
    gap: 10px;
}

.order-btn {
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.order-btn.order-cancel {
    background: #fff;
    color: #d7262b;
    border: 1px solid #d7262b;
}

.order-btn.order-cancel:hover {
    background: #fbeaec;
}

.order-btn.order-pay {
    background: #d7262b;
    color: #fff;
}

.order-btn.order-pay:hover {
    background: #b91c1f;
}

.order-total {
    color: #888;
    font-size: 14px;
    margin-bottom: 18px;
}

.order-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.page-btn {
    background: #fff;
    border: 1px solid #eee;
    color: #888;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.page-btn.active,
.page-btn:hover {
    background: #d7262b;
    color: #fff;
    border: 1px solid #d7262b;
}

.page-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    border: 1px solid #eee;
    cursor: not-allowed;
}

/* AI客服按钮区域适配 */
#ai-chat-container {
    margin-top: 32px;
}

@media (max-width: 900px) {
    .order-main {
        padding: 30px 16px 24px 16px;
    }

    .order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 10px;
    }

    .order-card-action {
        align-items: flex-start;
        min-width: 0;
    }

    .order-pagination {
        justify-content: center;
    }
}

.notice-main {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 40px 48px 32px 48px;
    min-width: 0;
}

.notice-title {
    font-size: 22px;
    color: #222;
    font-weight: bold;
    margin-bottom: 28px;
}

.notice-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
    gap: 0;
}

.notice-tabs .tab-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border 0.2s;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

.notice-tabs .tab-btn.active {
    color: #d7262b;
    border-bottom: 2px solid #d7262b;
    background: #fff;
    font-weight: bold;
}

.notice-tabs .tab-btn:hover {
    color: #d7262b;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}

.notice-item {
    display: flex;
    align-items: center;
    background: #fafbfc;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
    padding: 18px 28px;
    gap: 24px;
    border: 1px solid #f0f0f0;
    font-size: 15px;
}

.notice-date {
    color: #888;
    font-size: 14px;
    min-width: 90px;
    text-align: left;
}

.notice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.notice-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-label {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-right: 4px;
    color: #fff;
}

.notice-label-blue {
    background: #3b82f6;
}

.notice-label-red {
    background: #d7262b;
}

.notice-label-purple {
    background: #a259ec;
}

.notice-label-green {
    background: #22c55e;
}

.notice-title-text {
    color: #222;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.notice-arrow {
    color: #bbb;
    font-size: 18px;
    margin-left: 12px;
    cursor: pointer;
    user-select: none;
}

.notice-total {
    color: #888;
    font-size: 14px;
    margin-bottom: 18px;
}

.notice-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.page-btn {
    background: #fff;
    border: 1px solid #eee;
    color: #888;
    border-radius: 5px;
    padding: 6px 14px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.page-btn.active,
.page-btn:hover {
    background: #d7262b;
    color: #fff;
    border: 1px solid #d7262b;
}

.page-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    border: 1px solid #eee;
    cursor: not-allowed;
}