/* ==================================================================
   Base — reset، الجسم، الخطوط الأساسية
   ================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(74,130,89,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(201,123,53,.10), transparent 55%),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4, .font-d { font-family: var(--font-display); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 15px;
}

/* Spinner عام */
.spin {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spinrot .9s linear infinite;
  vertical-align: -2px;
}
@keyframes spinrot { to { transform: rotate(360deg); } }

/* Toast إشعار */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-d);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: .25s;
  z-index: 100;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
