/* ===== قسم الملف الشخصي ===== */
.profile-section{padding:100px 0;background:#fff}
.profile-header{text-align:center;margin-bottom:40px}
.profile-info{display:flex;justify-content:space-between;align-items:center;background:#f8f9fa;padding:20px;border-radius:10px;margin:20px 0}
.wallet-balance{display:flex;align-items:center;gap:10px;font-size:1.3rem;color:#4361ee;font-weight:700}
.profile-options{display:flex;flex-direction:column;gap:10px}
.profile-option-btn{background:#fff;border:1px solid #ddd;padding:15px;border-radius:10px;text-align:right;font-size:1.1rem;cursor:pointer;transition:.3s;display:flex;align-items:center;gap:10px}
.profile-option-btn:hover{background:#4361ee;color:#fff;transform:translateX(-5px)}
.profile-option-btn.logout:hover{background:#f72585}
.orders-history{display:none;margin-top:30px;border-top:1px solid #eee;padding-top:20px}
/* ===== قسم الملف الشخصي ===== */
.profile-section {
  padding: 100px 0;
  background: #0d1021; /* نفس لون الخلفية الرئيسية */
  color: white;
}

/* الأنماط الجديدة للعناصر المضافة */
.profile-additional-sections {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.additional-section {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.additional-section h3 {
  color: #4361ee;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-options, .help-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-btn, .help-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 12px 15px;
  border-radius: 8px;
  text-align: right;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-btn:hover, .help-btn:hover {
  background: #4361ee;
  color: #fff;
  transform: translateX(-5px);
}

/* تحسينات إضافية للواجهة */
.profile-info {
  background: #1a1f3c;
  color: white;
}

.profile-option-btn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* أنماط سجل الطلبات */
.orders-history {
  display: none;
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.orders-title {
  color: #4361ee;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.orders-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-right: 4px solid #4361ee;
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.order-name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}

.order-date {
  color: #aaa;
  font-size: 0.9rem;
}

.order-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}
.order-status.waiting {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}


.order-status.completed {
  background: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.order-status.failed {
  background: #fee;
  color: #f72585;
}

.order-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eee;
}

.order-price {
  font-weight: 700;
  color: #4361ee;
}

.order-imei {
  background: #f5f7ff;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: monospace;
}

/* للجوالات */
@media (max-width: 768px) {
  .order-header, .order-details {
    flex-direction: column;
  }
}

/*  تعديل الملف الشخصي  */
/* أضف هذه الأنماط إلى ملف modal.css */
.profile-edit-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.profile-edit-popup.active {
  opacity: 1;
  visibility: visible;
}

.profile-edit-box {
  background: #1a1f3c;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.profile-edit-close {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #a0a9d0;
  transition: color 0.3s;
}

.profile-edit-close:hover {
  color: #f72585;
}

.profile-edit-title {
  text-align: center;
  color: #4cc9f0;
  margin-bottom: 25px;
  font-size: 24px;
}

.profile-edit-body .form-group {
  margin-bottom: 20px;
}

.profile-edit-body label {
  display: block;
  margin-bottom: 8px;
  color: #a0a9d0;
  font-weight: 500;
}

.profile-edit-body input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #2a2e4c;
  background: rgba(11, 15, 41, 0.5);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s;
}

.profile-edit-body input:focus {
  outline: none;
  border-color: #4cc9f0;
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.2);
}

.profile-edit-body .btn-primary {
  background: linear-gradient(135deg, #4a9eff 0%, #2a6fd0 100%);
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

/* رسالة النجاح */
.profile-success-message {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #28a745;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.profile-success-message.show {
  transform: translateY(0);
  opacity: 1;
}

.profile-success-message i {
  font-size: 20px;
}