/* =========================
   QUICK / TOGETHER SUMMARY
========================= */

body {
  margin: 0;

  background-color: #f5f5f5;
}

/* =========================
   전체 화면
========================= */

.quick-summary-screen {
  position: relative;

  min-height: 100vh;

  padding-bottom: 85px;

  box-sizing: border-box;

  background-color: #ffffff;
}

/* =========================
   상단 헤더
========================= */

.summary-header {
  height: 58px;

  display: grid;

  grid-template-columns: 60px 1fr 60px;

  align-items: center;

  padding: 0 12px;

  box-sizing: border-box;

  border-bottom: 1px solid #eeeeee;

  background-color: #ffffff;
}

/* 제목 */

.summary-header h1 {
  margin: 0;

  text-align: center;

  color: #111111;

  font-size: 15px;
  font-weight: 600;

  white-space: nowrap;
}

/* =========================
   뒤로가기
========================= */

.summary-header .back-button {
  width: 40px;
  height: 40px;

  display: flex;

  align-items: center;
  justify-content: flex-start;

  padding: 0;

  border: none;

  background: none;

  cursor: pointer;
}

.summary-header .back-button img {
  width: 22px;
  height: 22px;

  display: block;

  object-fit: contain;
}

/* 오른쪽 빈 공간 */

.summary-header .header-space {
  width: 40px;
  height: 40px;

  justify-self: end;
}

/* =========================
   메인 카드
========================= */

.summary-card {
  margin: 16px;

  padding: 18px 16px;

  border: 1px solid #dddddd;

  border-radius: 10px;

  box-sizing: border-box;
}

/* =========================
   총 결제 금액
========================= */

.summary-label {
  margin: 0 0 14px;

  font-size: 13px;
  font-weight: 600;
}

.total-amount {
  text-align: right;

  color: #222222;

  font-size: 27px;
  font-weight: 700;
}

.base-currency-info {
  min-height: 13px;

  margin: 5px 0 0;

  text-align: right;

  color: #999999;

  font-size: 10px;
}

/* =========================
   구분선
========================= */

.summary-divider {
  width: 100%;
  height: 1px;

  margin: 18px 0;

  background-color: #eeeeee;
}

/* =========================
   결제 내역 수
========================= */

.payment-count-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  font-size: 13px;
}

.payment-count-row strong {
  font-size: 13px;
  font-weight: 600;
}

/* =========================
   참여자
========================= */

.participants-summary h2 {
  margin: 0 0 14px;

  font-size: 13px;
  font-weight: 600;
}

.summary-participant-list {
  display: flex;

  flex-direction: column;

  gap: 12px;
}

.summary-participant-item {
  display: flex;

  align-items: center;

  gap: 10px;
}

/* 참여자 색상 원 */

.summary-participant-color {
  width: 23px;
  height: 23px;

  flex-shrink: 0;

  border-radius: 50%;
}

.summary-participant-name {
  color: #222222;

  font-size: 13px;
}

.summary-me-label {
  margin-left: 3px;

  color: #777777;

  font-size: 11px;
}

/* =========================
   하단 버튼
========================= */

.send-money-button {
  position: absolute;

  left: 16px;
  right: 16px;
  bottom: 20px;

  height: 46px;

  border: none;

  border-radius: 7px;

  background-color: #52aead;

  color: #ffffff;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}

.send-money-button:active {
  background-color: #459b9a;
}
