/* =====================================================
   🔥 أساس الموقع (Mobile First + Full Height)
===================================================== */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  direction: rtl;
  background: #fff3d6;
  color: #333;
  -webkit-text-size-adjust: 100%;
}

/* =========================
   📱 تطبيق داخل الجوال
========================= */

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* container رئيسي */
.app {
  width: 100%;
  max-width: 450px;
  min-height: 100vh;
  background: #fff3d6;
  box-shadow: 0 0 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* =====================================================
   🔝 Header
===================================================== */

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  position: relative;
  background: linear-gradient(135deg, #f0d9b5, #fff3d6);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .logo {
  width: 140px;
  max-width: 60%;
}

/* أيقونات */
.left, .right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.left { left: 10px; }
.right { right: 10px; }

.icon2,
.right a {
  width: 38px;
  height: 38px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  color: #5d4a1f;
  text-decoration: none;
}

/* =====================================================
   🟡 Banner
===================================================== */

.banner {
  margin: 10px;
  padding: 12px;
  text-align: center;
  font-size: 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff9e6);
  font-weight: bold;
}

/* =====================================================
   📦 Card
===================================================== */

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin: 10px;
  padding: 12px;

  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.card img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.text {
  flex: 1;
  min-width: 0;
}

.text h4 {
  margin: 0;
  font-size: 14px;
  color: #5d4a1f;
}

.text p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
}

/* =====================================================
   🔘 Buttons
===================================================== */

button {
  padding: 8px 12px;
  border: none;
  background: linear-gradient(135deg, #c7a86b, #b89255);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s;
}

button:hover {
  transform: translateY(-2px);
}

/* =====================================================
   🧾 Footer
===================================================== */

.footer {
  margin-top: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: linear-gradient(135deg, #fff3d6, #f0d9b5);
  border-top: 1px solid rgba(199,168,107,0.2);
}

.footer-left h3 {
  margin: 0;
  font-size: 18px;
  color: #5d4a1f;
}

/* =====================================================
   📱 Responsive صغير جدًا
===================================================== */

@media (max-width: 400px) {

  .card {
    flex-direction: column;
    text-align: center;
  }

  .card img {
    width: 90px;
    height: 90px;
  }

  button {
    width: 100%;
  }

  header .logo {
    width: 120px;
  }
}