/* Order Detail Page Styles */
.order-detail-page-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.order-detail-header {
    background: linear-gradient(135deg, #CCA35D 0%, #1D322D 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(204, 163, 93, 0.3);
}

.order-detail-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.order-detail-header .order-number {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 10px;
}

.order-detail-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.order-detail-card-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
}

.order-detail-card-body {
    padding: 25px;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table thead {
    background: linear-gradient(135deg, #CCA35D 0%, #1D322D 100%);
    color: white;
}

.order-items-table th {
    padding: 15px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}

.order-items-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-items-table tbody tr:hover {
    background: #f8f9fa;
}

.order-items-table tbody tr:last-child td {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 16px;
}

.order-item-sku {
    color: #6c757d;
    font-size: 13px;
    font-family: monospace;
}

.order-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-info-item:last-child {
    border-bottom: none;
}

.order-info-label {
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.order-info-value {
    color: #2c3e50;
    font-size: 15px;
}

.order-info-value.price {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
}

.order-address-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
}

.order-address-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.order-address-item:last-child {
    margin-bottom: 0;
}

.order-address-icon {
    color: #CCA35D;
    font-size: 18px;
    margin-top: 2px;
}

.order-address-label {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
}

.order-address-value {
    color: #2c3e50;
    flex: 1;
}

.order-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.order-action-btn {
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.order-action-btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.order-action-btn-primary:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

.order-action-btn-secondary {
    background: linear-gradient(135deg, #CCA35D 0%, #1D322D 100%);
    color: white;
}

.order-action-btn-secondary:hover {
    background: linear-gradient(135deg, #1D322D 0%, #CCA35D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 163, 93, 0.4);
    color: white;
}

.order-action-btn-outline {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.order-action-btn-outline:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.order-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

.order-status-badge.paid {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.order-status-badge.pending {
    background: linear-gradient(135deg, #1D312D 0%, #ff9800 100%);
    color: white;
}

.order-status-badge.failed {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.order-status-badge.cancelled {
    background: #6c757d;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .order-detail-header {
        padding: 20px;
    }
    
    .order-detail-header h2 {
        font-size: 22px;
    }
    
    .order-item-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-action-btn {
        width: 100%;
        justify-content: center;
    }
}

