/* === GLOBAL STYLES === */
body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(to bottom, #fff6fa, #ffe1ee);
  margin: 0;
  padding: 0;
  color: #8a3a56;
}

.container {
  max-width: 600px;
  margin: 48px auto;
  background: #fff0f6;
  box-shadow: 0 4px 24px #ffe1ee;
  border-radius: 20px;
  padding: 36px 28px;
}

.header-floral {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 0px;
}

/* === TYPOGRAPHY === */
h1 {
  text-align: center;
  color: #e0658b;
  margin-bottom: 0.4em;
  letter-spacing: 0.01em;
  font-size: 1.8em;
}

h2 {
  text-align: center;
  color: #ca78a5;
  margin-top: 0.6em;
  margin-bottom: 1.4em;
  font-weight: 400;
  font-size: 1.15em;
}

label {
  display: block;
  margin: 18px 0 6px 4px;
  font-weight: 600;
  color: #c86590;
}

/* === FORM ELEMENTS === */
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f8c8da;
  font-size: 1em;
  margin-bottom: 10px;
  background-color: #ffffff;
  color: #8a3a56;
  outline: none;
  transition: border 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select:focus {
  border-color: #e0658b;
  background-color: #fff0f6;
}

select option {
  background-color: #ffffff;
  color: #8a3a56;
}

/* === BUTTONS === */
.btn {
  margin: 24px 0 16px 0;
  width: 100%;
  background: linear-gradient(90deg, #ffe1ee, #e5a8c8 80%);
  color: #8a3a56;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 8px #ffd6e6;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:hover {
  background: linear-gradient(90deg, #ffd6e6, #ca78a5 80%);
  color: #fff;
  box-shadow: 0 4px 16px #ffe1ee;
}

/* === PROMPT OUTPUT === */
.prompt-box {
  background: #ffffff;
  border: 1.5px dashed #f7b8d5;
  border-radius: 12px;
  margin-top: 22px;
  padding: 20px 18px;
  min-height: 36px;
  color: #ca78a5;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.6;
  word-break: break-word;
  text-align: left;
  letter-spacing: 0.01em;
}

.prompt-text {
  white-space: normal;
  display: block;
}

/* === NOTE SECTION === */
.note {
  font-size: 1em;
  color: #c86590;
  margin-top: 32px;
  text-align: center;
  background: #fff0f6;
  padding: 12px;
  border-radius: 11px;
  border: 1px solid #ffe1ee;
}

/* === LINKS === */
a {
  color: #e0658b;
  text-decoration: underline;
}

a:hover {
  color: #c86590;
}

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(to right, #ffe1ee, #f2b1cb, #ffe1ee);
  margin: 10px 0 20px;
  border: none;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 600px) {
  .container {
    padding: 10px 4vw;
  }
}

/* === PASSWORD OVERLAY === */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 246, 250, 0.97);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  background: #fff0f6;
  border: 1px solid #f9d2e4;
  padding: 30px 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 4px 20px #ffe1ee;
  max-width: 400px;
  width: 90%;
}

.overlay-content h2 {
  color: #c86590;
  margin-bottom: 18px;
}

.overlay-content input[type="password"] {
  padding: 10px;
  width: 100%;
  border: 1px solid #f3bdd2;
  border-radius: 8px;
  font-size: 1em;
  margin-bottom: 12px;
}

.pw-message {
  margin-top: 8px;
  color: #d0498b;
  font-size: 0.95em;
}