* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,"Noto Sans",sans-serif; color: #222; background: #f5f6fa; }
.bg { position: fixed; inset: 0; background: url('/images/03.png') center/cover no-repeat; filter: blur(6px); opacity: 0.25; z-index: -1; }
.header { display: flex; justify-content: center; align-items: center; padding: 0; height: clamp(80px, 16vw, 180px); background: rgba(255,255,255,0.85); backdrop-filter: saturate(120%) blur(8px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.header-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.main { padding: 12px; max-width: 720px; margin: 0 auto; }
.promo { display: flex; justify-content: center; padding: 8px 0 12px; }
.promo-img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.card { background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; padding: 16px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.title { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
label { font-size: 14px; color: #333; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid #e3e6ee; border-radius: 12px; font-size: 16px; background: #fff; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #6a7cff; box-shadow: 0 0 0 3px rgba(106,124,255,0.15); }
.group { padding: 6px 0 2px; }
.group-title { font-size: 14px; color: #333; margin-bottom: 8px; }
.checkboxes { display: flex; gap: 12px; }
.checkbox { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px dashed #d7dbe6; border-radius: 12px; }
.submit { margin-top: 6px; width: 100%; padding: 12px; font-size: 18px; font-weight: 600; color: #fff; background: linear-gradient(90deg,#6a7cff,#4c63ff); border: none; border-radius: 14px; box-shadow: 0 8px 18px rgba(76,99,255,0.25); }
.submit:active { transform: scale(0.99); }
.result { margin-top: 10px; padding: 12px; border-radius: 12px; background: #f0f5ff; color: #1a2a6b; font-size: 15px; }
@media (max-width: 480px){ .header{ height: 80px } }

/* calendar picker */
.calendar { background: #fff; border-top-left-radius: 16px; border-top-right-radius: 16px; }
.calendar-header { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #eef1f7; }
.calendar-header select { width: 100%; padding: 6px 10px; border: 1px solid #e3e6ee; border-radius: 10px; background: #fff; }
.calendar-header .nav { width: 40px; height: 32px; border: 1px solid #e3e6ee; border-radius: 10px; background: #fff; }
.calendar-week { display: grid; grid-template-columns: repeat(7, 1fr); padding: 8px 12px; color: #6b7280; font-size: 12px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0 12px 12px; }
.day { height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; cursor: pointer; }
.day:hover { background: #f3f6ff }
.day.disabled { color: #c8ceda; cursor: default }
.day.selected { background: #4c63ff; color: #fff; font-weight: 600 }
.picker-input { width: 100%; padding: 12px; border: 1px solid #e3e6ee; border-radius: 12px; font-size: 16px; background: #fff; cursor: pointer; }
.picker-input:focus { outline: none; border-color: #6a7cff; box-shadow: 0 0 0 3px rgba(106,124,255,0.15); }
.picker-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.35); display: flex; align-items: flex-end; justify-content: center; z-index: 999; }
.picker-mask[hidden] { display: none !important }
.picker-modal { width: 100%; max-width: 720px; background: #fff; border-top-left-radius: 16px; border-top-right-radius: 16px; box-shadow: 0 -8px 24px rgba(0,0,0,0.12); }
.picker-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 10px 12px; border-bottom: 1px solid #eef1f7; }
.picker-title { text-align: center; font-size: 16px; color: #333; }
.picker-action { background: transparent; border: none; font-size: 16px; color: #666; }
.picker-action.ok { color: #4c63ff; font-weight: 600; }
