/* css/frontend.css */

/* Overlay and question container */
#estate-plan-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 9999;
}
#estate-plan-root {
  position: relative;
  width: 80vw;
  height: 80vh;
  margin: 5vh auto;
  background: #fff;
  padding: 1rem;
  display: none;
  overflow: auto;
  border-radius: 8px;
  z-index: 10000;
}

.epq-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.epq-screen h1,
.epq-screen h2 {
  margin-bottom: 1rem;
  font-family: sans-serif;
}
.epq-screen button {
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border: none;
  border-radius: 4px;
  background: #007cba;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.field {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 600px;
}
.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.field input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.nav {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.nav button {
  flex: 1;
}