.account-container {
  display: flex;
  max-width: 158rem;
  margin: 20px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}


.nav-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
.own-data-title{
  display: flex!important;
  gap: .24rem;
  align-items: center;
}
.main-content {
  flex: 1;
  padding: 30px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.personal-info-card, .order-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.info-item {
  margin-bottom: 15px;
}

.info-label {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.info-value {
  font-size: 1.8rem;
  font-weight: 500;
}

.edit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  transition: background 0.3s;
}

.edit-btn:hover {
  background-color: #c1121f;
}

.orders-list {
  display: grid;
  gap: 15px;
}

.order-card {
  border-left: 4px solid var(--primary-color);
  transition: transform 0.3s;
}

.order-card:hover {
  transform: translateY(-3px);
}

.order-header {
  display: flex;
  justify-content: end;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.order-number {
  font-weight: 600;
  color: var(--dark-color);
}

.order-date {
  color: #777;
  font-size: 14px;
}

.order-status {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.order-pay {
  padding: 5px 13px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
}


.status-processing {
  background-color: #fff7ed;
  color: #ea580c;
}

.status-pay {
  background-color: #387e00;
  color: #ffffff;
}

.status-completed {
  background-color: #f0fdf4;
  color: #15803d;
}

.order-details_lk {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 15px;
  margin-bottom: 15px;
}

.order-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.order-product-title {
  font-weight: 500;
  margin-bottom: 5px;
}

.order-product-attr {
  font-size: 14px;
  color: #777;
}

.order-product-price {
  font-weight: 600;
  text-align: right;
}

.order-summary_lk {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.order-total {
  font-weight: 600;
  font-size: 18px;
}

.order-actions {
  display: flex;
  gap: 10px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #c1121f;
}

.btn-secondary {
  background-color: white;
  color: var(--dark-color);
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .account-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .order-details {
    grid-template-columns: 60px 1fr;
  }

  .order-product-price {
    grid-column: 1 / -1;
    text-align: left;
  }
}