* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Segoe UI Variable',sans-serif; background:#bd4545; direction:rtl; }
.header { height:56px; background:#0078D4; display:flex; align-items:center; justify-content:center; }
.logo-z { color:#f70b0b; font-size:1.5rem; font-weight:600; }
.container { padding:20px; max-width:480px; margin:20px auto; border:1px solid #0078D4; border-radius:8px; }
h1 { color:#0078D4; text-align:center; margin-bottom:16px; }
input, button { width:100%; padding:10px; margin-bottom:12px; border-radius:4px; border:1px solid #0078D4; }
input[type="text"] { font-size:1rem; }
#fileList { list-style:none; max-height:240px; overflow-y:auto; padding-left:0; margin-bottom:16px; }
#fileList li { padding:8px 12px; margin-bottom:6px; background:#b1400c; border:1px solid #ccc; cursor:grab; border-radius:4px; }
#fileList li.dragging { opacity:0.5; }
button { background:#0078D4; color:#fff; font-size:1rem; cursor:pointer; border:none; }
button:hover { background:#005bb5; }
:root {
  --dark-bg: #121212;
  --panel-bg: #1e1e1e;
  --text-light: #e0e0e0;
  --accent-gradient: linear-gradient(135deg, #00aaff, #ff33cc);
  --accent-color: #00aaff;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --transition-fast: 0.3s ease;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: sans-serif;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header, .nav, .footer, .container {
  background-color: var(--panel-bg);
  transition: background-color var(--transition-fast);
}

a, p, span, h1, h2, h3, h4, h5, label, input {
  color: var(--text-light);
}

.card, .product-card, .panel {
  background-color: var(--panel-bg);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  background-clip: padding-box;
  position: relative;
  transition: border-color var(--transition-fast);
}

.card::before, .product-card::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: var(--accent-gradient);
  border-radius: var(--border-radius-md);
  z-index: -1;
}

button, .btn {
  background-color: var(--dark-bg);
  color: var(--accent-color);
  padding: 10px 20px;
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

button:hover, .btn:hover {
  background-color: var(--accent-color);
  color: #121212;
}

input, textarea {
  background-color: var(--panel-bg);
  color: var(--text-light);
  border: 1px solid #555;
  border-radius: var(--border-radius-sm);
}

input::placeholder, textarea::placeholder {
  color: #888;
}

/* أنماط للشاشة المحمولة */
@media (max-width: 600px) {
  .cards, .product-list {
    display: block;
  }
  .card, .product-card {
    margin: 16px auto;
    width: calc(100% - 32px);
  }
}

/* إضافة تداخل خفيف عند التمرير */
.card:hover::before, .product-card:hover::before {
  filter: brightness(1.2);
}
.glow-text {
  color: #fff;
  text-shadow:
    0 0 5px #00f0ff,
    0 0 10px #00f0ff,
    0 0 15px #00f0ff,
    0 0 20px #00cfff;
  animation: glowAnim 3s ease-in-out infinite alternate;
  transition: color 0.5s ease;
}

@keyframes glowAnim {
  from {
    text-shadow:
      0 0 5px #00f0ff,
      0 0 10px #00f0ff,
      0 0 15px #00f0ff,
      0 0 20px #00cfff;
  }
  to {
    text-shadow:
      0 0 10px #00ffcc,
      0 0 20px #00ffcc,
      0 0 30px #00ffcc,
      0 0 40px #00aaff;
  }
}
/* 🟣 خلفية داكنة للموقع */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  margin: 0;
  padding: 0;
}

/* 🌈 نصوص مضيئة بألوان متغيرة */
.glow-text {
  font-weight: bold;
  animation: glowingText 4s linear infinite;
}

@keyframes glowingText {
  0% { color: #ff0080; text-shadow: 0 0 5px #ff0080, 0 0 10px #ff4da6; }
  25% { color: #00ffff; text-shadow: 0 0 5px #00ffff, 0 0 10px #4dffff; }
  50% { color: #00ff00; text-shadow: 0 0 5px #00ff00, 0 0 10px #66ff66; }
  75% { color: #ffa500; text-shadow: 0 0 5px #ffa500, 0 0 10px #ffcc66; }
  100% { color: #ff0080; text-shadow: 0 0 5px #ff0080, 0 0 10px #ff4da6; }
}

/* ✨ طبّق التأثير تلقائيًا على كل النصوص */
h1, h2, h3, p, label, span, a, button {
  font-weight: bold;
  animation: glowingText 4s linear infinite;
}

/* 🟡 زر مضيء */
button {
  background: transparent;
  border: 2px solid #fff;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #111;
  box-shadow: 0 0 10px #00ffe0, 0 0 20px #00ffe0;
}

