body.motaz-install-open { overflow: hidden; }

.motaz-install-sheet {
  z-index: 99999;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.motaz-install-sheet.open { opacity: 1; pointer-events: auto; }

.motaz-install-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: #071923b8;
  backdrop-filter: blur(5px);
}

.motaz-install-card {
  width: min(520px, 100%);
  padding: 20px;
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  color: #17394b;
  border: 1px solid #d8e2e6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px #061b2766;
  transform: translateY(22px);
  transition: transform .2s ease;
  font-family: var(--font-geist-sans), Tahoma, Arial, sans-serif;
}

.motaz-install-sheet.open .motaz-install-card { transform: translateY(0); }
.motaz-install-icon { width: 48px; height: 48px; display: grid; place-items: center; color: #76541d; border: 1px solid #dfc58f; border-radius: 14px; background: #fff4dc; font-size: 22px; font-weight: 900; }
.motaz-install-card small { display: block; color: #8a6428; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.motaz-install-card h2 { margin: 4px 0 4px; color: #14384b; font-size: 18px; line-height: 1.3; }
.motaz-install-card p { margin: 0; color: #687e89; font-size: 11px; line-height: 1.7; }
.motaz-install-done { min-width: 82px; min-height: 44px; padding: 9px 15px; color: #fff; border: 1px solid #1d6887; border-radius: 11px; background: linear-gradient(135deg, #0b2e40, #287492); font-size: 10px; font-weight: 900; }

html.v30-dark .motaz-install-card { color: #e5eef2; border-color: #3a4e58; background: #17242b; }
html.v30-dark .motaz-install-card h2 { color: #edf4f6; }
html.v30-dark .motaz-install-card p { color: #b8c9d1; }

@media (max-width: 560px) {
  .motaz-install-sheet { padding: 8px; }
  .motaz-install-card { grid-template-columns: 44px 1fr; padding: 16px; border-radius: 18px; }
  .motaz-install-icon { width: 44px; height: 44px; }
  .motaz-install-card h2 { font-size: 16px; }
  .motaz-install-card p { font-size: 10px; }
  .motaz-install-done { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .motaz-install-sheet,
  .motaz-install-card { transition: none; }
}
