/* 공통 설정 */
body {
  font-family: "NFont", Pretendard, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

.form-time {
  padding-left: 8%;
}

.form-people {
  padding-left: 8%;
}

.form-more {
  padding-left: 8%;
}

.form-more label {
  margin-top: 6px;
}

.form-container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  margin-top: 0px;
  margin-bottom: 25px;
  text-align: center;
  color: #333;
}

.form-section {
  display: flex;
  gap: 10px;
  vertical-align: middle;
}

.form-section label {
  display: block;
  margin-top: 12px;
  color: #333;
  font-weight: bold;
}

.form-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-row p {
  display: flex;
  margin: 0px;
  padding-top: 5.5%;
  align-items: flex-end;
}

.form-box {
  width: 100%;
}

.form-section p {
  display: flex;
  margin: 0px;
  padding: 0px;
  align-items: center;
}

label {
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #333;
  font-weight: bold;
}

input,
select,
textarea {
  font-family: "NFont", Pretendard, sans-serif;
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: #3366cc;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: #254fa1;
}

/* 팝업 */
.popup {
  position: relative;
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.popup h2 {
  color: #2e8b57;
  margin-bottom: 10px;
}

.popup p {
  margin-bottom: 10px;
  font-size: 16px;
}

.popup form button {
  padding: 10px 20px;
  background-color: #2e8b57;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup form button:hover {
  background-color: #246e47;
}

/* 도장 이미지 스타일 */
.stamp-img {
  position: absolute;
  top: -25px;
  right: 5%;
  max-width: 120px;
  height: auto;
  transform: rotate(20deg);
  opacity: 0.9;
  pointer-events: none; /* 클릭 방지 */
}

/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  padding: 20px;
  margin: 15% auto;
  width: 400px;
  border-radius: 10px;
  text-align: center;
}

.close-button {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
