body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #0f0f0f;
  color: white;
  padding-bottom: 120px;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  font-size: 20px;
  font-weight: bold;
  background: #1b1b1b;
  border-bottom: 1px solid #333;
}

.support-link {
  font-size: 14px;
  color: #4b96ff;
  text-decoration: none;
}

.profile {
  display: flex;
  align-items: center;
  padding: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
}

.username {
  font-size: 16px;
  font-weight: bold;
}

.user-id {
  font-size: 13px;
  color: #aaa;
}

.top-actions {
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  gap: 10px;
}

.top-actions button {
  flex: 1;
  background: #4b96ff;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  cursor: pointer;
}

.search-bar {
  display: flex;
  align-items: center;
  margin: 10px 16px;
  background: #1d1d1d;
  border-radius: 12px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  color: white;
  padding: 12px;
  font-size: 15px;
}

.search-bar .filter-btn {
  background: #4b96ff;
  color: white;
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.section-title {
  font-size: 18px;
  padding: 0 16px 8px;
  margin-top: 10px;
}

.order-list {
  padding: 0 16px;
}

.order-card {
  background: #007BFF;
  color: white;
  padding: 16px;
  border-radius: 16px;
  margin: 12px 0;
}

.order-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  align-items: center;
}

.order-card .tag {
  background: white;
  color: #007BFF;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.order-card .time {
  font-size: 12px;
  color: #d0d0d0;
  margin-left: auto;
}

.order-card .title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}

.order-card .desc {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.3em;
}

.order-card .price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.order-card .respond-btn {
  width: 100%;
  background: white;
  color: #007BFF;
  padding: 10px 0;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 400px;
  background: #1f1f1f;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  padding: 20px;
  z-index: 1001;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.popup h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.popup input,
.popup textarea,
.popup select {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #2a2a2a;
  color: white;
  font-size: 14px;
}
#my-orders {
  max-height: 60vh;
  overflow-y: auto;
  margin-top: 10px;
}
.popup-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.popup-buttons button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  background: #4b96ff;
  color: white;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

#block-desktop {
  position: fixed;
  z-index: 9999;
  background: #111;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}