/* --- Layout Chung --- */
.oh-wrapper {
    background-color: #f5f7fa;
    min-height: 80vh;
    font-family: 'Roboto', sans-serif;
}

.oh-breadcrumb a { color: #666; text-decoration: none; }
.oh-breadcrumb .current { color: #333; font-weight: 600; }

.oh-page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    text-transform: uppercase;
}

/* --- Sidebar User Info --- */
.oh-user-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.oh-avatar {
    width: 50px;
    height: 50px;
    background: #3e1515; /* Màu thương hiệu */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.oh-user-info h3 { font-size: 16px; margin: 0; font-weight: 700; }
.oh-user-info p { font-size: 13px; color: #666; margin: 2px 0 0 0; }

.oh-menu {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.oh-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    transition: all 0.2s;
}

.oh-menu a:hover, .oh-menu a.active {
    background: #fdfdfd;
    color: #3e1515;
    padding-left: 25px;
}

.oh-menu a i { width: 25px; color: #999; }

/* --- Order Card --- */
.oh-order-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    overflow: hidden;
}

/* Card Header */
.oh-card-header {
    background: #fcfcfc;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oh-code { font-weight: 700; color: #333; margin-right: 15px; }
.oh-date { font-size: 13px; color: #888; border-left: 1px solid #ddd; padding-left: 15px; }

.oh-status {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.oh-status.pending { background: #fff3cd; color: #856404; } /* Chờ xác nhận */
.oh-status.shipping { background: #cce5ff; color: #004085; } /* Vận chuyển */
.oh-status.success { background: #d4edda; color: #155724; } /* Thành công */
.oh-status.cancel { background: #f8d7da; color: #721c24; } /* Hủy */

/* Card Body */
.oh-card-body { padding: 0 20px; }

.oh-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f9f9f9;
}

.oh-item:last-child { border-bottom: none; }

.oh-item-img {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.oh-item-img img { width: 100%; height: 100%; object-fit: contain; }

.oh-item-info { flex: 1; }
.oh-item-info h4 { font-size: 15px; margin: 0 0 5px 0; color: #333; }
.oh-variant { font-size: 13px; color: #888; margin: 0 0 10px 0; }
.oh-qty-price { font-size: 14px; display: flex; justify-content: space-between; }
.oh-price { font-weight: 600; color: #333; }

/* Card Footer */
.oh-card-footer {
    padding: 15px 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oh-total-section { font-size: 15px; color: #333; }
.oh-total-price {
    font-size: 18px;
    font-weight: 700;
    color: #3e1515;
    margin-left: 10px;
}

.btn-oh-detail, .btn-oh-rebuy, .btn-oh-cancel {
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.2s;
    margin-left: 10px;
    text-decoration: none;
}

.btn-oh-rebuy { background: #3e1515; color: #fff; border-color: #3e1515; }
.btn-oh-rebuy:hover { background: #000; }

.btn-oh-detail:hover { border-color: #999; }
.btn-oh-cancel { color: #dc3545; border-color: #dc3545; }
.btn-oh-cancel:hover { background: #dc3545; color: #fff; }

/* Empty State */
.oh-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.oh-empty-state img { width: 100px; opacity: 0.5; margin-bottom: 20px; }
.oh-empty-state p { color: #666; margin-bottom: 20px; }
.btn-oh-primary {
    background: #3e1515;
    color: #fff;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .oh-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .oh-header-right { width: 100%; display: flex; justify-content: space-between; align-items: center; }
    .oh-card-footer { flex-direction: column; gap: 15px; align-items: flex-start; }
    .oh-actions { width: 100%; display: flex; justify-content: space-between; }
    .btn-oh-detail, .btn-oh-rebuy { flex: 1; text-align: center; }
}
