/* === Global Page Setup === */
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

/* === Main Card === */
.container {
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 450px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  padding: 35px 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* === Heading === */
h2 {
  text-align: center;
  color: #ffd369;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* === Form Labels & Inputs === */
label {
  display: block;
  margin-bottom: 6px;
  color: #ffe29a;
  font-weight: 500;
  font-size: 0.95rem;
}

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  outline: none;
  transition: 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px #ffd369;
}

/* === Gender Section === */
.gender-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.gender-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffe29a;
}

.gender-group input {
  accent-color: #ffd369;
  transform: scale(1.1);
  cursor: pointer;
}

/* === Buttons === */
button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.submit-btn {
  background: #ffd369;
  color: #222;
}
.submit-btn:hover {
  background: #ffe29a;
}

.show-btn {
  background: transparent;
  border: 2px solid #ffd369;
  color: #ffd369;
}
.show-btn:hover {
  background: #ffd369;
  color: #222;
}

/* === Output Box === */
.output {
  background: rgba(255, 255, 255, 0.12);
  border-left: 5px solid #ffd369;
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 25px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.hidden {
  display: none;
}

/* === Dropdown === */
select {
  background: rgba(255, 255, 255, 0.2);
  color: #ffd369;
  cursor: pointer;
}

option {
  background: #1e293b;
  color: #ffd369;
}

