/* Reset & body styling (same as before) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f4f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Main form container */
.main {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  margin-bottom: 20px; /* spacing below main box */
}

.main:hover {
  transform: translateY(-3px);
}

.main input,
.main select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  font-size: 15px;
  border: 1.5px solid #dcdcdc;
  border-radius: 10px;
  outline: none;
  transition: 0.2s;
  background: #fafafa;
}

.main input:focus,
.main select:focus {
  border-color: #7a9cff;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(122, 156, 255, 0.4);
}

.main button {
  width: 100%;
  background: #7a9cff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.main button:hover {
  background: #5c80f0;
}

/* Dynamic data box — hidden by default */
.dinymic {
  /* display: none;      */
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 25px 20px 25px 30px; /* more left padding for separation */
  border-radius: 18px;
  margin-top: 20px;
  margin-left: 10px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.05);
}

.dinymic h3 {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  margin: 10px 0;
  padding: 8px;
  background: #f1f4ff;
  border-left: 4px solid #7a9cff;
  border-radius: 6px;

  /* optionally indent text a little more */
  padding-left: 14px;
}

/* Responsive (small screens) */
@media (max-width: 500px) {
  .main, .dinymic {
    padding: 20px;
    border-radius: 12px;
  }
  
  .main input, .main select, .main button {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .dinymic h3 {
    font-size: 15px;
  }
}
