* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  background: #f3f5f9;
  color: #0a2342;
  min-height: 100vh;
}
.dep-header {
  background: linear-gradient(135deg, #021633, #0a2342);
  color: white;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.hc {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: auto;
  padding: 0 20px;
}
.back-btn {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.85;
}
.dep-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
}
.container {
  max-width: 640px;
  margin: auto;
  padding: 0 20px;
}
.page-body {
  padding: 32px 0 80px;
}
.steps-bar {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: #e0e4ee;
}
.step.done:not(:last-child)::after,
.step.active:not(:last-child)::after {
  background: #4b38f5;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
  z-index: 1;
  transition: 0.3s;
}
.step.active .step-num {
  background: #4b38f5;
  color: white;
}
.step.done .step-num {
  background: #2e7d32;
  color: white;
}
.step-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #999;
  text-align: center;
}
.step.active .step-lbl {
  color: #4b38f5;
}
.step.done .step-lbl {
  color: #2e7d32;
}
.form-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}
.form-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-card .form-sub {
  font-size: 0.83rem;
  color: #888;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 7px;
}
.form-group select,
.form-group input[type="number"] {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #e0e4ee;
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: "Inter", sans-serif;
  background: #fafafa;
  transition: 0.2s;
  color: #0a2342;
}
.form-group select:focus,
.form-group input[type="number"]:focus {
  outline: none;
  border-color: #4b38f5;
  background: white;
  box-shadow: 0 0 0 3px rgba(75, 56, 245, 0.08);
}
.amount-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e4ee;
  border-radius: 12px;
  background: #fafafa;
  overflow: hidden;
  transition: 0.2s;
}
.amount-wrap:focus-within {
  border-color: #4b38f5;
  background: white;
  box-shadow: 0 0 0 3px rgba(75, 56, 245, 0.08);
}
.amount-wrap span {
  padding: 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4b38f5;
}
.amount-wrap input {
  flex: 1;
  padding: 13px 10px 13px 0;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  color: #0a2342;
}
.amount-wrap input:focus {
  outline: none;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.photo-zone {
  border: 2px dashed #d0d4e8;
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  position: relative;
  background: #fafbff;
}
.photo-zone:hover {
  border-color: #4b38f5;
  background: #f0f2ff;
}
.photo-zone.has-image {
  border-style: solid;
  border-color: #4b38f5;
}
.photo-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.photo-zone .z-icon {
  font-size: 2rem;
  color: #b0b8d0;
  margin-bottom: 8px;
  display: block;
}
.photo-zone.has-image .z-icon {
  color: #4b38f5;
}
.photo-zone .z-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
}
.photo-zone .z-sub {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 3px;
}
.photo-zone img.preview {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 6px;
  display: none;
}
.next-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #4b38f5, #6a5cff);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-family: "Inter", sans-serif;
}
.next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(75, 56, 245, 0.35);
}
.next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.review-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  margin-bottom: 20px;
}
.review-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.review-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 0.9rem;
}
.review-row:last-of-type {
  border-bottom: none;
}
.review-row strong {
  font-weight: 700;
}
.check-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.check-previews img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid #e0e4ee;
}
.review-actions {
  display: flex;
  gap: 12px;
}
.review-actions button {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}
.btn-submit {
  background: linear-gradient(135deg, #4b38f5, #6a5cff);
  color: white;
}
.btn-back {
  background: #f0f0f0;
  color: #333;
}
.btn-back:hover {
  background: #e0e0e0;
}
.success-section {
  text-align: center;
  padding: 60px 20px;
}
.success-section .big-check {
  width: 80px;
  height: 80px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-section .big-check .material-icons-outlined {
  font-size: 2.5rem;
  color: #2e7d32;
}
.success-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.success-section p {
  color: #666;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.avail-note {
  background: #e8f5e9;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-block;
  margin: 16px 0;
  font-size: 0.85rem;
  color: #1a5c2a;
}
.done-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 36px;
  background: linear-gradient(135deg, #4b38f5, #6a5cff);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}
.tips-card {
  background: #f0f2ff;
  border: 1.5px solid #c5c8ff;
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 0.83rem;
  color: #2a1a8a;
  line-height: 1.65;
}
.tips-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.88rem;
}
.tips-card ul {
  padding-left: 16px;
}
.tips-card li {
  margin-bottom: 4px;
}
.dark-mode {
  background: #121212;
  color: #e0e0e0;
}
.dark-mode .form-card,
.dark-mode .review-card {
  background: #1c1f35;
  color: #e0e0e0;
}
.dark-mode .form-group select,
.dark-mode .amount-wrap,
.dark-mode .form-group input[type="number"] {
  background: #13162a;
  border-color: #2e3250;
  color: #e0e0e0;
}
.dark-mode .photo-zone {
  background: #13162a;
  border-color: #2e3250;
}
.dark-mode .review-row {
  border-bottom-color: #2e3250;
}
.dark-mode .tips-card {
  background: #1a1d35;
  border-color: #3a3e6e;
  color: #b0b8d8;
}
@media (max-width: 500px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
