/* Orders Page Styles */

body {
    background-color: #f5f5f5;
}

.order-layout {
    gap: 20px;
    margin-top: 20px;
}

/* Sidebar */
.order-sidebar {
    width: 200px;
    background: #fff;
    padding: 20px 0;
    flex-shrink: 0;
}

.user-info {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.avatar {
    width: 60px;
    height: 60px;
    background: #ffe4e1;
    color: var(--accent-color);
    border-radius: 50%;
    line-height: 60px;
    margin: 0 auto 10px;
    font-weight: bold;
}

.username {
    font-weight: bold;
}

.sidebar-menu li a {
    display: block;
    padding: 10px 30px;
    color: #333;
    transition: all 0.2s;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    color: var(--accent-color);
    background: #fff0f0;
    border-left: 3px solid var(--accent-color);
}

/* Main Content */
.order-content {
    flex: 1;
    background: #fff;
    padding: 20px 30px;
    min-height: 500px;
}

.page-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.order-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.order-tabs a {
    display: inline-block;
    padding: 10px 20px;
    color: #666;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
}

.order-tabs a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    font-weight: bold;
}

/* Order List */
.order-item {
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.order-header {
    background: #f9f9f9;
    padding: 10px 20px;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.order-body {
    padding: 20px;
    align-items: center;
}

.product-info {
    flex: 2;
    gap: 15px;
}

.p-name {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.p-spec {
    font-size: 12px;
    color: #999;
}

.order-price {
    flex: 1;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.order-qty {
    flex: 0.5;
    text-align: center;
    color: #999;
}

.order-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.text-accent {
    color: var(--accent-color);
}

.success {
    color: #52c41a;
}

/* Buttons */
.btn-small {
    padding: 5px 15px;
    margin: 0;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    transition: all 0.2s;
    width: 80px;
}

.btn-small:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
}