* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: #ffffff; color: #111; }

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(980px, 100%);
  border-radius: 10px;
  padding: 32px 28px;
  background: #fff;
}

.headline {
  text-align: center;
  margin: 0;
  font-size: 42px;
  letter-spacing: 1px;
  font-weight: 800;
}

.subheadline {
  text-align: center;
  margin: 18px 0 12px;
  font-size: 40px;
  font-weight: 700;
}

.logoWrap {
  display: grid;
  place-items: center;
  margin: 10px 0 24px;
}

.logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.formTitle {
  font-size: 26px;
  margin: 18px 0 10px;
}

.form { margin-top: 10px; }
.label { display: block; font-size: 14px; margin: 10px 0 6px; color: #333; }

.input {
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
}

.input:focus {
  border-color: #2b78ff;
  box-shadow: 0 0 0 3px rgba(43, 120, 255, 0.15);
}

.actions { margin-top: 14px; }

.btnPrimary {
  background: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 15px;
  cursor: pointer;
}

.btnPrimary:hover { filter: brightness(0.95); }

.btnSecondary {
  background: #f3f4f6;
  color: #111;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
}

.btnSecondary:hover { filter: brightness(0.98); }

/* ===== MODAL ===== */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modalOverlay.is-open { display: flex; }

.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.modalHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.modalTitle {
  font-size: 16px;
  font-weight: 700;
}

.modalClose {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 0;
}

.modalBody {
  padding: 16px;
  font-size: 15px;
  line-height: 1.35;
}

.modal-ok { border-left: 6px solid #16a34a; }
.modal-warn { border-left: 6px solid #f59e0b; }
.modal-err { border-left: 6px solid #dc2626; }

.modalFooter {
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid #eee;
}

