* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f0f4f8;
  color: #333;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 90px;
}

.banner {
  position: relative;
  background: linear-gradient(135deg, #fdf6e8 0%, #e8f4fc 45%, #d4eaf7 100%);
  padding: 28px 20px 32px;
  overflow: hidden;
  min-height: 160px;
}

.banner::before {
  content: '';
  position: absolute;
  top: -30px; right: -20px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
  border-radius: 50%;
}

.banner::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(200,230,255,0.5) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.banner-left { flex: 1; min-width: 0; }
.logo-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.logo-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #7eb8e8, #4a90c8);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(74, 144, 200, 0.35);
  flex-shrink: 0;
}

.logo-circle .letter { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; font-style: italic; }
.logo-circle .club-text { font-size: 7px; font-weight: 700; color: #fff; letter-spacing: 1.5px; margin-top: 1px; }

.banner-title { font-size: 22px; font-weight: 800; color: #2c5f8a; line-height: 1.25; }
.banner-title .highlight { color: #1a4a6e; display: block; }
.banner-subtitle { font-size: 11px; color: #5a7a94; margin-top: 6px; line-height: 1.4; }
.banner-avatar { flex-shrink: 0; width: 100px; height: 120px; }
.avatar-svg { width: 100%; height: 100%; }

.section-header {
  background: #e8eef3;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  border-bottom: 1px solid #dde3e8;
}

.menu-list { background: #fff; list-style: none; }

.menu-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  background: none;
  text-align: left;
  font: inherit;
  color: inherit;
}

.menu-item:active { background: #f8fafc; }

.menu-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-right: 14px;
  font-size: 14px; font-weight: 700; color: #fff;
}

.menu-icon.blue { background: linear-gradient(145deg, #5ba3d9, #3d8bc4); }
.menu-icon.dark { background: #1a1a2e; }
.menu-icon.green { background: linear-gradient(145deg, #26a17b, #1d8a68); }
.menu-icon.ifsc { background: linear-gradient(145deg, #7ec8e8, #5aadcf); font-size: 10px; letter-spacing: 0.5px; }
.menu-icon svg { width: 20px; height: 20px; fill: #fff; }

.menu-label { flex: 1; font-size: 14px; color: #333; line-height: 1.35; }
.menu-arrow { color: #ccc; font-size: 18px; flex-shrink: 0; margin-left: 8px; }

.kind-tips { background: #f5f8fa; padding: 18px 16px 24px; }
.kind-tips h3 { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 12px; }
.kind-tips ol { padding-left: 18px; color: #666; font-size: 12.5px; line-height: 1.65; }
.kind-tips li { margin-bottom: 8px; }

.bottom-bar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  padding: 16px 20px 24px;
  background: linear-gradient(to top, #f0f4f8 70%, transparent);
}

.progress-btn {
  display: block; width: 100%;
  padding: 15px;
  background: linear-gradient(145deg, #f06b5e, #e84d3f);
  color: #fff; font-size: 16px; font-weight: 700;
  border: none; border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 77, 63, 0.4);
}

.progress-btn:active { transform: scale(0.98); }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: #fff;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #fdf6e8, #e8f4fc);
}

.modal-header h2 { font-size: 16px; color: #1a4a6e; flex: 1; padding-right: 12px; }

.modal-close {
  width: 32px; height: 32px;
  border: none; background: rgba(255,255,255,0.8);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  flex-shrink: 0;
}

.modal-body { padding: 20px; overflow-y: auto; flex: 1; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.form-group label .req { color: #e84d3f; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fafbfc;
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5ba3d9;
  background: #fff;
}

.file-upload {
  border: 2px dashed #c5d9ea;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: #f8fbfd;
  cursor: pointer;
  display: block;
}

.file-upload input { display: none; }
.file-upload .icon { font-size: 28px; margin-bottom: 6px; }
.file-upload p { font-size: 13px; color: #666; }
.file-upload .filename { font-size: 12px; color: #2c5f8a; margin-top: 8px; font-weight: 600; }

.preview-img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 8px;
  margin-top: 10px;
  display: none;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(145deg, #5ba3d9, #3d8bc4);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.success-box { text-align: center; padding: 24px 16px; }

.success-box .tick {
  width: 60px; height: 60px;
  background: #26a17b;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
}

.success-box h3 { font-size: 18px; margin-bottom: 8px; color: #222; }
.success-box p { font-size: 13px; color: #666; line-height: 1.5; }

.ticket-id-box {
  background: #f0f7fc;
  border: 1px dashed #5ba3d9;
  border-radius: 10px;
  padding: 12px;
  margin: 16px 0;
  font-size: 18px;
  font-weight: 800;
  color: #1a4a6e;
  letter-spacing: 1px;
}

.query-result {
  margin-top: 16px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 10px;
  text-align: left;
}

.query-result .status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.status.pending { background: #fff3cd; color: #856404; }
.status.replied { background: #d4edda; color: #155724; }

.query-result .label { font-size: 11px; color: #888; margin-top: 10px; }
.query-result .value { font-size: 13px; color: #333; margin-top: 4px; line-height: 1.5; }

.admin-reply-box {
  background: #e8f5e9;
  border-left: 4px solid #26a17b;
  padding: 12px;
  border-radius: 0 8px 8px 0;
  margin-top: 12px;
}

.error-msg {
  color: #e84d3f;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.error-msg.show { display: block; }
