/* =========================================================
  00. Global Reset / 기본 설정
========================================================= */
* {
  box-sizing: border-box;
}

body.onepage-body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-x: auto;
  overflow-y: auto;
  background-color: #fff;
  font-family: 'Pretendard', sans-serif;
}

/* =========================================================
  01. Page Layout / 전체 페이지 레이아웃
========================================================= */
.page {
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
}

/* =========================================================
  02. Sidebar / 왼쪽 사이드 메뉴
========================================================= */
.sidebar {
  width: 96px;
  height: 100vh;
  background-color: #377dff;
  padding: 20px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: 70px;
  height: 70px;
}

.logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.menu {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-button {
  width: 77px;
  height: 77px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  position: relative;
}

.menu-button img {
  width: 59px;
  height: 53px;
  object-fit: contain;
  display: block;
}

.menu-button span {
  margin-top: 0;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.menu-button:nth-child(2) {
  background: rgba(0, 0, 0, 0.2);
}

.menu-button:not(:last-child)::after {
  content: "";
  width: 67px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.menu-button:not(:last-child) {
  margin-bottom: 23px;
}

.menu-button {
  position: relative;
}

/* 메인 영역 */
.main {
  width: calc(100vw - 96px);
  height: 100vh;
  padding: 5px 0 0 5px;
  background: #fff;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* 왼쪽 / 가운데 패널 */
.left-panel {
  width: 455px;
  height: 859px;
  flex-shrink: 0;
}

.center-panel {
  width: 940px;
  height: 859px;
  flex-shrink: 0;
}

/* 기존 row-top 안 쓰는 구조 보정 */
.row-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* =========================================================
  02-1 top-banner / 흘러가는 글자 배너 영역
========================================================= */


.top-banner {
  width: 1824px;
  height: 40px;
  padding: 10px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
}

.top-banner h1 {
  width: 84px;
  height: 26px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  line-height: 26px;
  text-align: left;
  flex-shrink: 0;
}

.notice-marquee {
  width: 1321px;
  height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.notice-marquee p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  animation: marqueeMove 18s linear infinite;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(1321px);
  }
  100% {
    transform: translateX(-100%);
  }
}

.auth-links {
  width: 379px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-shrink: 0;
}

.auth-links a {
  width: 100px;
  height: 26px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
}




/* =========================================================
  03. Address Box / 주소 정보 영역
========================================================= */
.address-box {
  width: 455px;
  height: 610px;
  padding: 10px 10px 10px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
}

.box-header {
  width: 435px;
  height: 44px;
  display: flex;
  align-items: center;
}

.box-header h2 {
  width: 320px;
  height: 44px;
  margin: 0;
  padding: 0 20px 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.box-header button {
  width: 115px;
  height: 44px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #1f1f1f;
}

/* 의뢰자 정보 */
.client-box {
  width: 435px;
  height: 89px;
  padding: 0 10px 20px;
}

.client-box h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: #636363;
}

.input-row {
  display: flex;
  gap: 13px;
}

input {
  outline: none;
}

input:focus,
.search-input input:focus {
  border: 2px solid #377dff;
  outline: none;
}

input::placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #a3a3a3;
}

.client-name,
.place-name {
  width: 182px;
  height: 35px;
}

.client-phone,
.place-phone {
  width: 220px;
  height: 35px;
}

.client-name,
.client-phone {
  padding: 5px 10px;
  border: 0.8px solid #525252;
  border-radius: 5px;
  font-size: 16px;
}

/* 출발지 / 도착지 */
.place-box {
  width: 435px;
  height: 203px;
  padding: 0 10px 20px;
}

.place-title-row {
  width: 415px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-title {
  display: flex;
  align-items: center;
}

.left-title strong {
  font-size: 22px;
  font-weight: 600;
  color: #377dff;
}

.left-title label {
  margin-left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #1f1f1f;
}

.custom-check input {
  display: none;
}

.custom-check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #cfcfcf;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
}

.custom-check input:checked + .checkmark {
  border-color: #377dff;
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 2px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #377dff;
  border-bottom: 3px solid #377dff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  border-radius: 2px;
  transition: 0.2s ease;
}

.custom-check input:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.label-text {
  font-size: 16px;
  color: #1f1f1f;
  font-weight: 500;
}

/* 주소록 저장 ☆ */
.place-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.address-save-btn {
  margin-right: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.address-save-btn span {
  font-size: 16px;
  font-weight: 500;
  color: #636363;
  line-height: 1;
}

.address-save-btn em {
  width: 24px;
  height: 24px;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  color: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-3px);
}

.address-save-btn.active em {
  color: #ffe100;
}

.search-input {
  width: 415px;
  height: 40px;
  margin-top: 10px;
  position: relative;
}

.search-icon {
  width: 18px;
  height: 18px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
}

.search-input input,
.full-input,
.place-name,
.place-phone {
  height: 40px;
  padding: 5px 10px;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  font-size: 16px;
}

.search-input input,
.full-input {
  width: 415px;
}

.full-input {
  margin-top: 10px;
}

.place-box .input-row {
  margin-top: 10px;
}

/* 경유지 추가 */
.waypoint-row {
  width: 435px;
  height: 47px;
  padding: 5px 0 10px 10px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rotate-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: 0.2s;
}

.rotate-icon:hover {
  opacity: 0.6;
}

.waypoint-row button {
  border: none;
  background: none;
  font-size: 18px;
  font-weight: 600;
  color: #377dff;
}

/* =========================================================
  04. Delivery Method / 운송 방법 영역
========================================================= */
.delivery-box {
  position: static;
  width: 455px;
  height: 238px;
  margin-top: 10px;
  padding: 10px 10px 10px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
  background: #fff;
}

.delivery-header {
  width: 435px;
  height: 39px;
  padding-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.delivery-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.delivery-header a {
  font-size: 16px;
  font-weight: 400;
  color: #377dff;
  text-decoration: underline;
}

.delivery-grid {
  width: 435px;
  height: 190px;
  padding: 10px;
  display: grid;
  grid-template-columns: 200px 200px;
  gap: 15px;
}

.delivery-card {
  width: 200px;
  height: 77px;
  padding: 10px;
  border: 2px solid #eeeeee;
  border-radius: 10px;
  background: #fbfbfb;
  position: relative;
  text-align: left;
}

.delivery-card.active {
  background: rgba(55, 125, 255, 0.1);
  border: 2px solid #377dff;
}

.delivery-card.active strong {
  color: #377dff;
}

.delivery-card.active img {
  opacity: 0.9;
}

/* 긴급 배송 선택 상태 */
.delivery-card:nth-child(2).active {
  background: rgba(255, 0, 0, 0.1);
  border: 2px solid #ff0000;
}

/* 긴급 배송 이미지 */
.delivery-card:nth-child(2).active img {
  opacity: 0.9;
}

/* 긴급 배송 글자 */
.delivery-card:nth-child(2).active strong {
  color: #ff0000;
}

.delivery-card strong {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.delivery-card p {
  margin: 0;
  position: absolute;
  top: 18px;
  margin-left: 45px;
  font-size: 10px;
  font-weight: 500;
  color: #5c5c5c;
  line-height: 1.3;
}

.delivery-card img {
  width: 50px;
  height: 45px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  opacity: 0.6;
  object-fit: contain;
}

.delivery-card:not(.pickup-card) strong {
  position: absolute;
  top: 18px;
  left: 10px;
  line-height: 1.2;
}

.delivery-card:last-child {
  background: #fff;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
}

.delivery-card:last-child.active {
  border: 1px solid #377dff;
}

.delivery-card:last-child strong {
  color: #000;
}

.delivery-card:last-child.active strong {
  color: #377dff;
}

/* =========================================================
  05. Vehicle Section / 운송 수단 영역
========================================================= */

.vehicle-section {
  width: 940px;
  height: 237px;
  padding: 10px 10px 20px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
  background: #fff;
  overflow: visible;
}

.vehicle-top {
  width: 940px;
  height: 34px;
  padding: 0 10px 10px;
  display: flex;
}

.vehicle-top h2 {
  width: 74px;
  height: 24px;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.vehicle-buttons {
  width: 920px;
  height: 168px;
  padding: 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0 auto;
  overflow: visible;
}

.vehicle-card {
  width: 120px;
  height: 158px;
  padding: 20px 10px 10px;
  border: 2px solid #eeeeee;
  border-radius: 10px;
  background: #fbfbfb;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
}

.vehicle-card.active {
  background: rgba(55, 125, 255, 0.1);
  border-color: #377dff;
}

.vehicle-card > span {
  display: block;
  width: 100px;
  height: 21px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.vehicle-card:not(.large) > div {
  width: 100px;
  height: 100px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-card:not(.large) img {
  width: 90px;
  object-fit: contain;
}

.vehicle-card.large {
  width: 341px;
  height: 158px;
  padding: 20px 8px 10px;
  border: 2px solid #eeeeee;
  border-radius: 10px;
  background: #fbfbfb;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  overflow: visible;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
}

.vehicle-card.large.active {
  background: rgba(55, 125, 255, 0.1);
  border-color: #377dff;
}

.vehicle-card.active > span,
.vehicle-card.large.active .large-left span {
  color: #377dff;
}

.large-left {
  width: 100px;
  height: 128px;
  flex-shrink: 0;
}

.large-left span {
  display: block;
  width: 100px;
  height: 21px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
}

.large-left div {
  width: 100px;
  height: 100px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.large-left img {
  width: 90px;
  object-fit: contain;
}

.large-selects {
  width: 205px;
  height: 128px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  overflow: visible;
}

.heavy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
}

.heavy-select-wrap {
  position: relative;
  width: 140px;
  height: 59px;
  flex-shrink: 0;
  overflow: visible;
}

.select-btn {
  width: 140px;
  height: 59px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.select-btn span {
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.select-btn img {
  width: 30px;
  height: 20px;
  opacity: 0.4;
  object-fit: contain;
}

.heavy-dropdown {
  position: absolute;
  left: 0;
  top: 60px;
  width: 225px;
  display: none;
  grid-template-columns: repeat(3, 75px);
  grid-auto-rows: 38px;
  background: #fff;
  z-index: 99999;
}

.heavy-select-wrap.open .heavy-dropdown {
  display: grid;
}

.heavy-dropdown button {
  width: 75px;
  height: 38px;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 5px;
}

.heavy-dropdown button:hover {
  border: 1px solid #377dff;
  color: #377dff;
}

.truck-option-check {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.truck-option-check input {
  display: none;
}

.custom-square {
  width: 18px;
  height: 18px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.truck-option-check input:checked + .custom-square {
  border-color: #377dff;
}

.truck-option-check input:checked + .custom-square::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 9px;
  border-right: 3px solid #377dff;
  border-bottom: 3px solid #377dff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.truck-option-check em {
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  line-height: 1;
}

.parking-height-box {
  width: 171px;
  height: 158px;
  padding: 10px;
  box-sizing: border-box;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #fff;
  flex-shrink: 0;
}

.parking-height-box > strong {
  width: 151px;
  height: 27.25px;
  padding-bottom: 10px;
  box-sizing: border-box;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 17.25px;
}

.parking-check {
  width: 151px;
  height: 32px;
  padding-left: 15px;
  padding-bottom: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.parking-check input {
  display: none;
}

.parking-circle {
  width: 16px;
  height: 16px;
  border: 2px solid #cfcfcf;
  border-radius: 50%;
  box-sizing: border-box;
  position: relative;
}

.parking-check input:checked + .parking-circle {
  border-color: #377dff;
}

.parking-check input:checked + .parking-circle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #377dff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.parking-check em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #343434;
  line-height: 1;
}

.height-limit-row {
  width: 151px;
  height: 32px;
  padding-left: 15px;
  padding-bottom: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.height-limit-row > span {
  font-size: 13px;
  font-weight: 500;
  color: #343434;
  line-height: 1;
}

.height-limit-row input {
  width: 30px;
  height: 22px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 2px 4px;
  box-sizing: border-box;
  border: 0;
  border-radius: 4px;
  background: #f6f6f6;
  font-size: 13px;
  font-weight: 500;
  color: #343434;
  text-align: center;
}

.height-limit-row em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: #343434;
}

.parking-height-box p {
  width: 151px;
  height: 42px;
  margin: 0;
  padding: 10px 10px 0;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #377dff;
  line-height: 1.25;
}

/* =========================================================
  06. Work Section / 운반·수작업 영역
========================================================= */

.work-section {
  width: 940px;
  margin-top: 10px;
}

.carry-panels,
.manual-panels {
  display: flex;
  gap: 10px;
}

.manual-panels {
  display: none;
}

.work-box {
  width: 465px;
  height: 238px;
  padding: 10px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
  background: #fff;
}

.work-box h3 {
  width: 435px;
  height: 34px;
  margin: 0;
  padding: 0 10px 10px;
  font-size: 20px;
  font-weight: 600;
  color: #377dff;
}

.work-button-grid {
  width: 435px;
  height: 184px;
  padding: 10px;
  display: grid;
  gap: 10px;
}

.carry-grid {
  grid-template-columns: 200px 200px;
  grid-template-rows: 77px 77px;
}

.manual-grid {
  grid-template-columns: 200px 200px;
  grid-template-rows: 77px 77px;
}

.work-btn {
  width: 200px;
  height: 77px;
  padding: 10px;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.work-btn span {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-align: left;
}

.work-btn span em {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: #575757;
}

.work-btn img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.manual-btn img {
  width: 50px;
  height: 50px;
}

.small-work-btn {
  width: 95px;
  height: 77px;
  padding: 10px;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.carry-grid {
  grid-template-columns: 200px 200px;
  grid-template-rows: 77px 77px;
}

.carry-grid .small-work-btn:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
  width: 95px;
  justify-self: start;
}

.carry-grid .small-work-btn:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
  width: 95px;
  justify-self: end;
}

.small-work-btn span {
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.small-work-btn img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.work-btn.active {
  background: rgba(55, 125, 255, 0.1);
  border: 2px solid #377dff;
}

.small-work-btn.active {
  border: 1px solid #377dff;
}

.work-btn.active span,
.small-work-btn.active span {
  color: #377dff;
}

.work-section.disabled .work-btn,
.work-section.disabled .small-work-btn {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}


/* =========================================================
  07. Cargo Info / 화물 정보 및 요청 사항 영역
========================================================= */
.cargo-info-box {
  width: 940px;
  height: 361px;
  margin-top: 10px;
  padding:10px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
  background: #fff;
}

.cargo-title-row {
  width: 920px;
  height: 34px;
  padding: 0 0 10px 10px;
  display: flex;
  align-items: center;
}

.cargo-title-row h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.cargo-title-row span {
  margin-left: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #ff0000;
}

.dispatch-info {
  width: 920px;
  height: 46px;
  padding: 5px 10px;
  background-color: #fafafa;
  border: 2px solid #eeeeee;
  font-size: 16px;
  font-weight: 400;
  color: #636363;
  line-height: 32px;
}

.memo-box {
  width: 920px;
  height: 214px;
  margin-top: 10px;
  padding: 10px 20px 10px 10px;
  border: 2px solid #eeeeee;
}

.memo-main {
  width: 920px;
  height: 139px;
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.memo-label {
  width: 85px;
  margin-top: 20px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #636363;
}

.memo-textarea {
  width: 615px;
  height: 129px;
  padding: 10px;
  margin-left: 10px;
  resize: none;
  background-color: #fafafa;
  border: 2px solid #eeeeee;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  color: #616161;
  line-height: 1.6;
  font-family: 'Pretendard', sans-serif;
}

.memo-textarea:focus {
  border: 2px solid #377dff;
}

/* 카트 필요 / 동승 추가 — 기존 주문에 없는 퍼블 UI, 원페이지에서 숨김 */
.ride-wrap {
  display: none !important;
}

.memo-side-btn {
  width: 170px;
  height: 76px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 0.8px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.memo-side-btn span {
  font-size: 16px;
  font-weight: 700;
  color: #3d3d3d;
  line-height: 1;
}

.memo-side-btn .desc {
  font-size: 10px;
  font-weight: 500;
  color: #636363;
  line-height: 1.3;
  margin-top: 26px;
}

/* 카트 필요 */
.memo-side-btn .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.memo-side-btn .btn-text .desc {
  margin-top: 10px;
  text-align: left;
}

.memo-side-btn img {
  object-fit: contain;
  flex-shrink: 0;
}

.memo-side-btn img[alt="카트 필요"] {
  width: 60px;
  height: 44px;
}

/* 동승 추가 */
.ride-btn {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  box-sizing: border-box;
}

.ride-btn .ride-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.ride-top span {
  display: block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: #3D3D3D;
  line-height: 1;
}

.ride-btn .ride-top img {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 50px;
  height: 38px;
  object-fit: contain;
}

.ride-btn .desc {
  position: absolute;
  left: 63px;
  bottom: 12px;
  font-size: 10px;
  font-weight: 500;
  color: #636363;
  line-height: 1.3;
  white-space: nowrap;
  text-align: left;
}

.memo-side-btn.active {
  background: rgba(55, 125, 255, 0.1);
  border: 2px solid #377dff;
}

.memo-side-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.memo-fixed-area {
  width: 615px;
  height: 25px;
  margin-left: 95px;
}

.memo-fixed-check {
  width: 132px;
  height: 28px;
  padding: 5px 0 5px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.memo-fixed-check input {
  width: 15px;
  height: 15px;
  margin: 0;
}

.memo-fixed-check span {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 400;
  color: #000;
}

.memo-select {
  width: 615px;
  position: relative;
}

.memo-select-btn {
  width: 615px;
  height: 25px;
  padding: 0 0 0 10px;
  border: 1px solid #eeeeee;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.memo-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

/* 열렸을 때 위로 회전 */
.memo-select-btn.active .memo-arrow {
  transform: rotate(180deg);
}

.memo-select-btn span {
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

.memo-select-btn strong {
  width: 30px;
  height: 25px;
  border: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.memo-dropdown {
  width: 615px;
  display: none;
  position: absolute;
  left: 0;
  top: 25px;
  border: 1px solid #eeeeee;
  background: #fff;
  z-index: 10;
}

.memo-dropdown.open {
  display: block;
}

.memo-dropdown button {
  width: 100%;
  height: 30px;
  padding-left: 10px;
  border: none;
  background: #fff;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
}

.memo-dropdown button:hover {
  background: rgba(55, 125, 255, 0.08);
}

.memo-select.open .memo-dropdown {
  display: block;
}

.cargo-notice {
  width: 920px;
  height: 38px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #377dff;
}

.right-panel {
  width: 389px;
  height: 950px;
  flex-shrink: 0;
}

/* =========================================================
  08. Fare Box / 운송 요금 영역
========================================================= */
.fare-box {
  width: 389px;
  height: 262px;
  padding: 0 10px 10px;
  border: 2px solid #eeeeee;
  border-radius: 5px;
  background: #fff;
}

.fare-title {
  width: 387px;
  height: 50px;
  margin-left: -10px;
  padding: 10px 0 10px 20px;
  background: #377dff;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 30px;
  border-radius: 5px 5px 0 0;
}

.fare-info-row,
.fare-number-row {
  display: flex;
}

.fare-info-label {
  width: 184.5px;
  height: 45px;
  padding: 14px 0 10px 10px;
  font-size: 18px;
  font-weight: 700;
  color: #636363;
}

.fare-number-row > div {
  width: 184.5px;
  height: 30px;
  padding-right: 20px;
  text-align: right;
  color: #000;
}

.fare-number-row strong {
  font-size: 25px;
  font-weight: 600;
}

.fare-number-row span {
  font-size: 25px;
  font-weight: 400;
}

.fare-notice {
  width: 369px;
  height: 41px;
  margin-top: 25px;
  padding: 10px 20px;
  border-radius: 5px;
  background: #eff5ff;
  font-size: 16px;
  font-weight: 600;
  color: #377dff;
  text-align: center;
}

.fare-control {
  width: 369px;
  height: 59px;
  padding: 10px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fare-control-btn {
  width: 49px;
  height: 49px;
  border: none;
  background: none;
  cursor: pointer;
}

.fare-control-btn img {
  width: 49px;
  height: 49px;
  object-fit: contain;
}

.fare-control-price {
  width: 132px;
  height: 36px;
  text-align: center;
}

.fare-control-price strong {
  font-size: 25px;
  font-weight: 700;
  color: #000;
}

.fare-control-price span {
  font-size: 25px;
  font-weight: 400;
  color: #000;
}

/* =========================================================
  09. Order & Payment / 주문 내역·결제 영역
========================================================= */
.right-panel {
  width: 389px;
  height: 857px;
  flex-shrink: 0;
  border-radius: 5px;
  overflow: hidden;
}

.receipt-box {
  width: 389px;
  height: 384px;
  padding: 10px 10px 0;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #eeeeee;
  position: relative;
}

.receipt-box.open {
  height: 491px;
}

.right-title {
  width: 368px;
  height: 39px;
  padding-bottom: 5px;
  box-sizing: border-box;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.right-title h2 {
  margin: 0 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: #377dff;
  line-height: 34px;
}

.receipt-content {
  width: 369px;
  height: 301px;
  padding: 10px;
  padding-bottom: 36px;
  box-sizing: border-box;
  overflow-y: auto;
  border-left: 1px solid rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background-clip: content-box;
}

.receipt-box.open .receipt-content {
  height: 408px;
  padding-bottom: 36px;
}

.receipt-content::-webkit-scrollbar {
  width: 8px;
}

.receipt-content::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 10px;
}

.receipt-content::-webkit-scrollbar-track {
  margin-top: 5px;
  margin-bottom: 5px;
}

.receipt-group {
  margin-bottom: 14px;
}

.receipt-group p {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.25;
}

.receipt-blue-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #377dff !important;
}

.receipt-blue-title span {
  margin-left: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #377dff;
}

/* 운송 방법 / 차량 선택 / 화물 정보 공통 한 줄 구조 */
.receipt-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.receipt-row strong {
  font-size: 18px;
  font-weight: 600;
  color: #1f1f1f;
  line-height: 1.35;
  white-space: nowrap;
}

.receipt-row span {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.35;
}

/* 화물 정보 내용 줄바꿈 자연스럽게 */
.receipt-cargo-row span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.receipt-toggle {
  width: 51px;
  height: 22px;
  margin-bottom: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 5;
}

.receipt-toggle span {
  width: 51px;
  height: 2px;
  background: #d9d9d9;
  display: block;
}

.receipt-box.open .receipt-toggle span {
  background: #377dff;
}

.receipt-toggle em {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 120px;
  padding: 5px 8px;
  background: #377dff;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  border-radius: 4px;
}

.receipt-toggle:hover em {
  display: block;
}

.fare-box {
  width: 389px;
  height: 472px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #eeeeee;
  transition: height 0.01s ease;
  border-radius: 5px;
}

/* 접수 내역 펼쳤을 때 운송요금 칸 줄이기 */
.right-panel:has(.receipt-box.open) .fare-box {
  height: 365px;
}

/* 접수 내역 펼쳤을 때 이 영역 숨김 */
.right-panel:has(.receipt-box.open) .fare-notice,
.right-panel:has(.receipt-box.open) .fare-distance-box {
  display: none;
}

.fare-notice {
  width: 369px;
  height: 41px;
  margin-top: 5px;
  padding: 5px;
  box-sizing: border-box;
  background: #eff5ff;
  font-size: 14px;
  font-weight: 600;
  color: #377dff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fare-distance-box {
  width: 369px;
  height: 66px;
  padding: 5px 0;
  box-sizing: border-box;
  display: flex;
}

.distance-item {
  width: 120px;
}

.fare-item {
  width: 249px;
}

.distance-item strong,
.fare-item strong {
  height: 31px;
  padding-bottom: 10px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 700;
  color: #636363;
  display: block;
  text-align: center;
}

.distance-item p {
  width: 120px;
  height: 25px;
  margin: 0;
  padding-right: 20px;
  box-sizing: border-box;
  text-align: right;
}

.distance-item p span,
.fare-control p span {
  font-size: 22px;
  font-weight: 600;
  color: #000;
}

.distance-item p em,
.fare-control p em {
  font-size: 22px;
  font-weight: 400;
  color: #000;
  font-style: normal;
}

.fare-control {
  width: 249px;
  height: 25px;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fare-control button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: #377dff;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fare-control button:first-child {
  background: #f1f1f1;
  color: #d9d9d9;
}

.fare-control p {
  margin: 0;
  text-align: center;
}

.payment-title-row {
  width: 369px;
  height: 35px;
  padding: 5px 20px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payment-title-row > strong {
  font-size: 16px;
  font-weight: 700;
  color: #636363;
}

.tax-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tax-check input {
  display: none;
}

.tax-check span {
  width: 16px;
  height: 16px;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  box-sizing: border-box;
  position: relative;
}

.tax-check input:checked + span {
  border-color: #377dff;
}

.tax-check input:checked + span::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #377dff;
  border-bottom: 3px solid #377dff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.tax-check em {
  font-size: 16px;
  font-weight: 500;
  color: #377dff;
  font-style: normal;
  text-decoration: underline;
}

.pay-methods {
  width: 369px;
  height: 59px;
  padding-top: 5px;
  box-sizing: border-box;
  display: flex;
  gap: 7px;
}

.pay-methods button {
  width: 87px;
  height: 54px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pay-methods button img {
  width: 30px;
  height: 29px;
  object-fit: contain;
  margin-right: 7px;
}

.pay-methods button span {
  font-size: 14px;
  font-weight: 700;
  color: #636363;
  line-height: 1.2;
}

.pay-methods .monthly-card {
  padding: 5px 10px;
  flex-direction: column;
  justify-content: center;
}

.pay-methods .monthly-card img {
  width: 25px;
  height: 24px;
  margin: 0 0 3px;
}

.pay-methods .monthly-card span {
  font-size: 12px;
  font-weight: 600;
}

.payment-final-box {
  width: 369px;
  min-height: 199px;
  height: auto;
  margin-top: 10px;
  background: #fafafa;
  padding: 10px 0 12px;
  box-sizing: border-box;
}

.payment-inner {
  width: 309px;
  min-height: 104px;
  height: auto;
  margin: 0 auto;
}

.price-line {
  width: 309px;
  min-height: 18px;
  height: auto;
  margin: 6px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-line span,
.mileage-line em {
  font-size: 16px;
  font-weight: 400;
  color: #313131;
  font-style: normal;
}

.price-line strong,
.mileage-line strong {
  font-size: 16px;
  font-weight: 500;
  color: #313131;
}

.mileage-line {
  width: 276px;
  height: 18px;
  margin: 12px 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mileage-line label {
  display: flex;
  align-items: center;
  gap: 0;
}

.mileage-line input {
  display: none;
}

.mileage-line label span {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border: 1px solid #636363;
  border-radius: 50%;
  box-sizing: border-box;
}

.mileage-line input:checked + span {
  border: 4px solid #377dff;
}

.mileage-line em {
  text-decoration: underline;
}

.price-divider {
  width: 309px;
  height: 1px;
  background: #d9d9d9;
  margin-top: 10px;
}

.total-line {
  width: 309px;
  height: 18px;
  margin-top: 10px;
  padding-left: 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-line span,
.total-line strong {
  font-size: 20px;
  font-weight: 700;
  color: #377dff;
}

.pay-submit-btn {
  width: 329px;
  height: 50px;
  margin: 12px auto 0;
  border: 0;
  border-radius: 5px;
  background: #377dff;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: block;
  cursor: pointer;
}

/* =========================================================
  Site integration / 헤더·푸터 연동 보정
========================================================= */
body.onepage-body .onepage-page .page {
  width: 100%;
  height: auto;
  min-height: auto;
}

body.onepage-body .onepage-page .main {
  width: 100%;
  height: auto;
  min-height: auto;
  padding: 5px 10px 40px;
  box-sizing: border-box;
}

body.onepage-body .onepage-page .top-banner {
  width: 100%;
  max-width: 1824px;
}

body.onepage-body .onepage-page .notice-marquee {
  flex: 1;
  width: auto;
  min-width: 0;
}

body.onepage-body .onepage-page .dispatch-info {
  display: none;
}

/* =========================================================
  Modal / 주소 검색·즐겨찾기 팝업
========================================================= */
.onepage-modal-deem {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.onepage-modal {
  width: 640px;
  max-width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.onepage-favorite-modal {
  width: 520px;
}

.onepage-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.onepage-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.onepage-modal-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.onepage-modal-close img {
  width: 24px;
  height: 24px;
}

.onepage-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.onepage-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 20px 20px;
  border-top: 1px solid #eee;
}

.onepage-btn {
  min-width: 100px;
  height: 44px;
  border-radius: 5px;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.onepage-btn.primary {
  background: #377dff;
  color: #fff;
}

.onepage-btn.primary:disabled {
  background: #c9d9ff;
  cursor: default;
}

.onepage-btn.secondary {
  background: #f3f3f3;
  color: #333;
}

.onepage-address-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.onepage-search-input {
  width: 100%;
  height: 48px;
  padding: 0 88px 0 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-size: 15px;
  box-sizing: border-box;
}

.onepage-search-delete,
.onepage-search-submit {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.onepage-search-delete {
  right: 48px;
}

.onepage-search-submit {
  right: 14px;
}

.onepage-search-delete img,
.onepage-search-submit img {
  width: 22px;
  height: 22px;
}

.onepage-address-toolbar {
  margin-top: 14px;
}

.onepage-address-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #377dff;
  padding: 0;
}

.onepage-address-toolbar img {
  width: 18px;
  height: 18px;
}

.onepage-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
}

.onepage-list-title {
  font-size: 15px;
  font-weight: 600;
}

.onepage-list-head button {
  border: 0;
  background: transparent;
  color: #888;
  font-size: 13px;
  cursor: pointer;
}

.onepage-address-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onepage-address-list li {
  position: relative;
  padding: 14px 44px 14px 12px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.onepage-address-list li.active {
  background: #f5f8ff;
}

.onepage-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.onepage-item-addr {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.onepage-item-bookmark,
.onepage-item-remove {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.onepage-item-bookmark img,
.onepage-item-remove img {
  width: 20px;
  height: 20px;
}

.onepage-address-empty {
  text-align: center;
  padding: 40px 0 20px;
  color: #888;
}

.onepage-address-empty img {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.onepage-favorite-manage-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onepage-favorite-manage-list li {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.onepage-fav-title {
  font-size: 13px;
  color: #377dff;
  font-weight: 600;
}

.onepage-fav-name {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}

.onepage-fav-addr {
  margin-top: 4px;
  font-size: 13px;
  color: #666;
}

.onepage-fav-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.onepage-fav-actions button {
  min-width: 64px;
  height: 34px;
  border: 1px solid #377dff;
  border-radius: 5px;
  background: #fff;
  color: #377dff;
  font-size: 13px;
  cursor: pointer;
}

.onepage-fav-actions button.danger {
  border-color: #ddd;
  color: #888;
}

.place-start .search-input input,
.place-end .search-input input {
  cursor: pointer;
}

.pay-method-btn.active {
  outline: 2px solid #377dff;
  outline-offset: 2px;
}

.onepage-price-body {
  text-align: center;
}

.onepage-price-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.onepage-price-control button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.onepage-price-control p {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.onepage-price-recommend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f8f9ff;
  border-radius: 8px;
}

.onepage-reserve-calendar-wrap {
  display: block !important;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 40px auto;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

#reserveCalendarModal.onepage-modal-deem {
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
}

#oneCloseCalendar {
  position: absolute;
  top: 25px;
  right: 55px;
  width: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

#oneCloseCalendar img {
  width: 24px;
  height: 24px;
}

.onepage-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onepage-card-list li {
  padding: 14px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}

.onepage-card-list li.active {
  border-color: #377dff;
  background: #f5f8ff;
}

.onepage-mileage-compact {
  width: 309px;
  margin: 6px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.onepage-mileage-balance-text {
  font-size: 14px;
  color: #313131;
  white-space: nowrap;
}

.onepage-mileage-balance-text strong {
  font-size: 16px;
  font-weight: 700;
  color: #377dff;
}

.onepage-mileage-balance-text em {
  font-style: normal;
  font-size: 13px;
  color: #636363;
  margin-left: 2px;
}

.onepage-mileage-open-btn {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #377dff;
  border-radius: 6px;
  background: #fff;
  color: #377dff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.onepage-mileage-open-btn.active {
  background: #377dff;
  color: #fff;
}

.onepage-mileage-open-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.onepage-mileage-modal {
  width: 400px;
  max-width: 100%;
}

.onepage-mileage-modal-balance {
  margin-bottom: 12px;
  font-size: 15px;
  color: #313131;
}

.onepage-mileage-modal-balance strong {
  font-size: 22px;
  font-weight: 700;
  color: #377dff;
}

.onepage-mileage-modal-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.onepage-mileage-modal-footer .onepage-btn {
  min-width: 88px;
}

.onepage-mileage-section {
  width: auto;
  margin: 0;
  border: 0;
  background: transparent;
}

.onepage-mileage-modal-body .onepage-mileage-input-row {
  margin-top: 0;
}

.onepage-mileage-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.onepage-mileage-title {
  font-size: 16px;
  font-weight: 600;
  color: #313131;
}

.onepage-mileage-balance strong {
  font-size: 20px;
  font-weight: 700;
  color: #377dff;
}

.onepage-mileage-balance .unit {
  font-size: 13px;
  color: #636363;
  margin-left: 2px;
}

.onepage-mileage-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.onepage-mileage-input-with-unit {
  flex: 1;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
}

.onepage-mileage-input-with-unit input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  font-size: 16px;
  text-align: right;
  outline: none;
  background: transparent;
}

.onepage-mileage-input-with-unit .unit {
  margin-left: 6px;
  font-size: 14px;
  color: #636363;
}

.onepage-mileage-all-btn {
  flex-shrink: 0;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #377dff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.onepage-mileage-all-btn:disabled,
.onepage-mileage-input-with-unit input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.onepage-mileage-notice {
  margin: 10px 0 0;
  font-size: 12px;
  color: #636363;
  line-height: 1.4;
}

.onepage-mileage-warning {
  display: none;
  margin: 8px 0 0;
  font-size: 12px;
  color: #d93025;
  line-height: 1.4;
}

.onepage-mileage-used-line {
  margin-top: 8px;
}