/* المكوّنات التفاعلية: مبدّل المنطقة، الشريط السفلي الثابت، الأزرار. */

/* ————— مبدّل المنطقة ————— */
.area-switcher {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.area-switcher label { color: #555; }
.area-switcher select {
  flex: 1;
  padding: 0.35rem;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
}

/* ————— الشريط السفلي الثابت ————— */
.actions {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}

#message {
  min-height: 1.3rem;
  margin: 0 0 0.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #333;
}

.buttons-row { display: flex; gap: 0.5rem; }

.buttons-row button {
  flex: 1;
  padding: 1.1rem 0.5rem;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  min-height: 56px;
  font-family: inherit;
}
#btn-restored { background: #2e9d3f; }
#btn-outage   { background: #d33;    }
.buttons-row button:disabled { opacity: 0.55; cursor: wait; }
.buttons-row button:focus-visible { outline: 3px solid #333; outline-offset: 2px; }
