* {
  box-sizing: border-box;
  font-family:
    Malgun Gothic,
    sans-serif;
}
body {
  margin: 0;
  background: #f3f5fa;
}
.app {
  max-width: 430px;
  margin: auto;
  padding: 16px;
}
.top-tab {
  display: flex;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}
.tab {
  flex: 1;
  border: 0;
  background: #fff;
  padding: 10px 4px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.active {
  background: #4f7cff;
  color: #fff;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.toolbar {
  display: flex;
  gap: 10px;
}
.month-box {
  flex: 1;
  height: 44px;
  background: linear-gradient(90deg, #8b97bc, #d7ddef);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.cal {
  position: absolute;
  right: 10px;
}
.btn-search {
  width: 82px;
  background: #ff5a4d;
  color: #fff;
  border: 0;
  border-radius: 6px;
}
.summary {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(90deg, #c8d0e4, #edf1fb);
  padding: 8px 10px;
  margin: 10px 0;
}
.list {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11px;
  /* 테이블 전체 외곽선 */
  border: 1px solid #8f9aad;
}
.list th {
  background: #e7e8f7;
  border: 1px solid #8f9aad;
  padding: 7px 3px;
  font-size: 11px;
  font-weight: 700;
}

.list td {
  text-align: center;
  border: 1px solid #aab3c2;
  padding: 5px 3px;
  height: 28px;
  background: #fff;
}
.list th {
  text-align: center;
  background: #ece9f7;
}
.list td:first-child,
.list a {
  color: #2f5bd3;
  text-decoration: none;
}

/* ===========================
   Popup
=========================== */

.popup-wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.45);

  display: none;

  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.popup {
  width: 340px;
  max-width: 90%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-title {
  background: #4f7cff;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 14px;
}

.popup-body {
  padding: 22px;
  font-size: 15px;
  line-height: 28px;
  color: #333;
}

.popup-footer {
  padding: 0 20px 20px;
}

.btn-popup-close {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #ff5b4f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  width: 40px;
  min-width: 40px;
  height: 22px;

  padding: 0;

  font-size: 10px;
  border: none;
  border-radius: 3px;
}

/* 상세의견 */
/* 구매일자 */
.list th:nth-child(1),
.list td:nth-child(1) {
  width: 22%;
}

/* 입력순서 */
.list th:nth-child(2),
.list td:nth-child(2) {
  width: 8%;
}

/* 상점명 */
.list th:nth-child(3),
.list td:nth-child(3) {
  width: 22%;
}

/* 검수의견 */
.list th:nth-child(4),
.list td:nth-child(4) {
  width: 17%;
}

/* 상세의견 */
.list th:nth-child(5),
.list td:nth-child(5) {
  width: 20%;
  white-space: nowrap;
}

/* 확인버튼 */
.list th:nth-child(6),
.list td:nth-child(6) {
  width: 11%;
}

.list td:nth-child(5) a {
  font-size: 10px;
  white-space: nowrap;
  display: inline-block;
}
