html {
  zoom: 0.95;
}

/* Header layout */
header {
  padding: 5px 20px !important;
  zoom: 0.7 !important;
}

.header-buttons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 40px !important;
  margin: 0 !important;
}

.btn {
  padding: 10px 28px !important;
  font-size: 1.4rem !important;
  white-space: nowrap !important;
  border-radius: 50px !important;
}

.search-input {
  width: 220px !important;
  padding: 8px 16px !important;
  font-size: 1.1rem !important;
  border-radius: 50px !important;
  border: 2px solid #2563eb !important;
  outline: none !important;
  font-family: 'Calibri', sans-serif !important;
  flex: none !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15) !important;
}

.search-input:focus {
  border-color: #1d4ed8 !important;
  box-shadow: 0 2px 15px rgba(37, 99, 235, 0.3) !important;
}

/* Modal overlay */
#sign-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#sign-modal.open {
  display: flex;
}
#sign-modal-box {
  background: white;
  border-radius: 20px;
  padding: 60px;
  max-width: 1000px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  text-align: center;
  direction: rtl;
}
#sign-modal-box img {
  width: 480px;
  height: 480px;
  object-fit: contain;
}
#sign-modal-box h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #2563eb;
  margin: 0;
}
#sign-modal-box p {
  font-size: 2rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.term-image {
  margin-top: auto !important;
}
