body {
  font-family: "Noto Sans KR", sans-serif;
  margin: 0;
  background: radial-gradient(circle at top, #0f172a, #020617 70%);
  color: #e5e7eb;
}

.container {
  max-width: 560px;
  margin: auto;
  padding: 16px;
}

.title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 18px;
  color: #38bdf8;
  text-shadow: 0 0 10px rgba(56,189,248,.7);
}

/* 사용자 */
.userbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(145deg,#020617,#0f172a);
  border: 1px solid #1e293b;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 14px rgba(56,189,248,.18);
}

.userinfo {
  text-align: center;
}

.username {
  font-size: 24px;
  font-weight: 700;
}

.truck {
  font-size: 17px;
  font-weight: 700;
  color: #22c55e;
}

/* 네비 */
.navbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.navBtn {
  flex: 1;
  padding: 14px 6px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: linear-gradient(145deg,#020617,#0f172a);
  color: #94a3b8;
  font-size: 15px;
}

/* 카드 */
.card {
  background: linear-gradient(145deg,#020617,#020617 60%,#0f172a);
  border: 1px solid #1e293b;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 16px;
}

h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #38bdf8;
}

/* 입력 */
input, select {
  width: 100%;
  font-size: 20px;
  padding: 14px;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #f8fafc;
}

input:focus, select:focus {
  outline: none;
  border-color: #38bdf8;
}

/* 버튼 */
.btn {
  width: 100%;
  font-size: 20px;
  padding: 14px;
  margin-top: 8px;
  border-radius: 12px;
  border: none;
}

.btn.primary {
  background: linear-gradient(145deg,#2563eb,#38bdf8);
  color: white;
  font-weight: 700;
}

.btn.secondary {
  background: #020617;
  color: #94a3b8;
  border: 1px solid #1e293b;
}

.btn.big {
  font-size: 22px;
  padding: 16px;
}

/* 리스트 */
#tripList li,
#expList li {
  background: #020617;
  border: 1px solid #1e293b;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 18px;
}

/* 행 */
.tripRow {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

/* 액션 */
.tripActions,
.expActions {
  display: flex;
  gap: 6px;
}

.tripActions button,
.expActions button {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 6px 0;
  font-size: 14px;
}

.editTripBtn,
.editExpBtn {
  background: #0ea5e9;
  color: white;
}

.delTripBtn,
.delExpBtn {
  background: #ef4444;
  color: white;
}

/* 요약 */
#summary {
  font-size: 20px;
  line-height: 1.7;
}

/* 모바일 */
@media (max-width: 420px) {
  .title { font-size: 26px; }
  .username { font-size: 22px; }
  .truck { font-size: 16px; }
  input, select, .btn { font-size: 18px; }
  .navBtn { font-size: 14px; }
}

.tripActions {
  display:flex;
  gap:6px;
  margin-top:6px;
}

.tripActions button {
  flex:1;
  padding:6px;
  border-radius:8px;
  border:1px solid #1e293b;
  background:#020617;
  color:#94a3b8;
  font-size:13px;
}

.tripActions button:active {
  color:#38bdf8;
}

.expActions {
  display:flex;
  gap:6px;
  margin-top:6px;
}

.expActions button {
  flex:1;
  padding:6px;
  border-radius:8px;
  border:1px solid #1e293b;
  background:#020617;
  color:#94a3b8;
  font-size:13px;
}

.expActions button:active {
  color:#38bdf8;
}


/* ===== 모달 ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.show {
  display: flex;
}

.modalContent {
  width: 92%;
  max-width: 420px;
  background: linear-gradient(145deg,#020617,#0f172a);
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.modalRow {
  display:flex;
  gap:8px;
  margin-top:8px;
}

.modalList {
  list-style:none;
  padding:0;
  margin:10px 0;
}

.modalList li {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px;
  border-bottom:1px solid #1e293b;
  font-size:15px;
}

/* ===== 푸터 ===== */
.footer {
  margin-top: 30px;
  padding: 14px 10px;
  border-top: 1px solid #1e293b;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.footerText {
  margin-bottom: 6px;
}

.dev {
  color: #38bdf8;
  margin-left: 6px;
}

.footerLinks {
  display:flex;
  justify-content:center;
  gap:10px;
}

.footerBtn {
  background:none;
  border:none;
  color:#94a3b8;
  font-size:13px;
  cursor:pointer;
}

.footerBtn:hover {
  color:#38bdf8;
}

/* ===== 문의 ===== */
.contactText {
  font-size:14px;
  color:#cbd5f5;
  margin-bottom:12px;
  text-align:center;
}

.contactBox {
  background:#020617;
  border:1px solid #1e293b;
  padding:8px;
  border-radius:8px;
  margin-bottom:8px;
  font-size:14px;
}