/* =========================================================
   SE Global Customer Service
========================================================= */

.customer-service-page {
  width: 100%;
  min-height: 100vh;
  padding: 40px 0 56px;

  background:
    linear-gradient(
      180deg,
      #f9fafb 0%,
      #ffffff 54%,
      #ffffff 100%
    );
}

.customer-service-container {
  width: 100%;
  max-width: 1152px;

  margin-right: auto;
  margin-left: auto;

  padding-right: 24px;
  padding-left: 24px;
}

/* =========================================================
   Heading
========================================================= */

.customer-service-heading {
  margin-bottom: 64px;
  text-align: center;
}

.customer-service-heading__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: 0;
  height: 36px;
  margin-bottom: 16px;
  padding: 0 24px;

  border-radius: 9999px;

  background: rgba(2, 61, 165, 0.1);
  color: #023da5;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.customer-service-heading h1 {
  margin: 0 0 16px;
  padding: 0 16px;

  color: #1a1a1a;

  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.05em;

  word-break: keep-all;
}

.customer-service-heading p {
  margin: 0;
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;

  color: #666666;

  font-size: 16px;
  line-height: 1.6;

  word-break: keep-all;
}

/* =========================================================
   Search
========================================================= */

.customer-service-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 12px;

  margin-bottom: 20px;
}

.customer-service-search select {
  flex: 0 0 auto;

  min-height: 44px;
  padding: 10px 16px;

  border: 1px solid #d1d5db;
  border-radius: 12px;

  background: #ffffff;
  color: #1a1a1a;

  font-size: 15px;
  line-height: 1.5;

  outline: none;

  cursor: pointer;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.customer-service-search select:focus {
  border-color: #023da5;

  box-shadow:
    0 0 0 3px rgba(2, 61, 165, 0.1);
}

.customer-service-search__input {
  position: relative;

  flex: 1 1 240px;
  min-width: 200px;
}

.customer-service-search__input input {
  display: block;

  width: 100%;
  min-height: 44px;

  padding: 10px 48px 10px 16px;

  border: 1px solid #d1d5db;
  border-radius: 12px;

  background: #ffffff;
  color: #1a1a1a;

  font-size: 15px;
  line-height: 1.5;

  outline: none;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.customer-service-search__input input:focus {
  border-color: #023da5;

  box-shadow:
    0 0 0 3px rgba(2, 61, 165, 0.1);
}

.customer-service-search__input button {
  position: absolute;
  top: 50%;
  right: 12px;

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

  width: 32px;
  height: 32px;

  padding: 0;

  border: 0;
  border-radius: 8px;

  background: transparent;
  color: #666666;

  transform: translateY(-50%);

  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.customer-service-search__input button:hover {
  background: #f3f4f6;
  color: #023da5;
}

.customer-service-search__input svg {
  width: 18px;
  height: 18px;
}

.customer-service-search__count {
  flex: 0 0 auto;

  margin: 0;

  color: #666666;

  font-size: 14px;
  line-height: 1.5;

  white-space: nowrap;
}

.customer-service-search__count strong {
  color: #023da5;
  font-weight: 700;
}

/* =========================================================
   Board
========================================================= */

.customer-board {
  width: 100%;

  overflow: hidden;

  border: 1px solid #e5e7eb;
  border-radius: 16px;

  background: #ffffff;

  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04);
}

.customer-board__scroll {
  width: 100%;
  overflow: hidden;
}

.customer-board table {
  width: 100%;

  border-collapse: collapse;
  table-layout: auto;
}

.customer-board-col-category {
  width: 110px;
}

.customer-board-col-author {
  width: 130px;
}

.customer-board-col-views {
  width: 100px;
}

.customer-board-col-date {
  width: 130px;
}

.customer-board thead {
  background:
    linear-gradient(
      90deg,
      rgba(2, 61, 165, 0.05),
      rgba(2, 61, 165, 0.1)
    );
}

.customer-board th {
  /* height: 58px; */
  padding: 12px 24px;

  border-bottom: 1px solid #e5e7eb;

  color: #1a1a1a;

  text-align: left;

  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.customer-board th:nth-child(1),
.customer-board th:nth-child(3),
.customer-board th:nth-child(4),
.customer-board th:nth-child(5) {
  text-align: center;
}

.customer-board tbody tr {
  border-bottom: 1px solid #f3f4f6;

  transition: background-color 150ms ease;
}

.customer-board tbody tr:last-child {
  border-bottom: 0;
}

.customer-board tbody tr:hover {
  background: #f9fafb;
}

.customer-board td {
  /* height: 64px; */
  padding: 14px 24px;

  color: #666666;

  font-size: 14px;
  line-height: 1.5;

  vertical-align: middle;
}

.customer-board td:last-child{
  font-size: 11px;
}

.customer-board__category {
  text-align: center;
}

.customer-board-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* min-width: 48px;
  min-height: 26px; */
  padding: 4px 8px;

  border-radius: 9999px;

  background: rgba(2, 61, 165, 0.1);
  color: #023da5;

  font-size: 11px;
  line-height: 1;
  font-weight: 700;

  white-space: nowrap;
}

.customer-board-badge--notice {
  background: #023da5;
  color: #ffffff;
}

.customer-board__title {
  min-width: 0;
}

.customer-board__title button {
  display: block;

  width: 100%;
  padding: 0;

  border: 0;

  background: transparent;
  color: #1a1a1a;

  text-align: left;

  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;

  cursor: pointer;

  word-break: keep-all;

  transition: color 150ms ease;
}

.customer-board__title button:hover {
  color: #023da5;
}

.customer-board__author,
.customer-board__views,
.customer-board__date {
  color: #666666;
  text-align: center;
}

.customer-board__empty {
  height: 180px !important;

  color: #9ca3af !important;

  text-align: center;
}

/* =========================================================
   Pagination
========================================================= */

.customer-pagination {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 32px;
}

.customer-pagination__arrow,
.customer-pagination__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 8px;

  color: #1a1a1a;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;

  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.customer-pagination__arrow:hover,
.customer-pagination__number:hover {
  background: #f3f4f6;
}

.customer-pagination__number.active {
  background: #023da5;
  color: #ffffff;
}

.customer-pagination__arrow svg {
  width: 20px;
  height: 20px;
}

.customer-pagination__arrow--disabled {
  opacity: 0.35;
  cursor: default;
}

/* =========================================================
   Post Modal
========================================================= */

body.customer-post-modal-open {
  overflow: hidden;
}

.customer-post-modal[hidden] {
  display: none !important;
}

.customer-post-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

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

  padding: 16px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.customer-post-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.customer-post-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.5);

  opacity: 0;

  transition: opacity 200ms ease;
}

.customer-post-modal.is-open
.customer-post-modal__backdrop {
  opacity: 1;
}

.customer-post-modal__dialog {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 768px;
  max-height: 90vh;

  overflow-y: auto;

  border-radius: 16px;

  background: #ffffff;

  opacity: 0;

  transform: translateY(16px) scale(0.98);

  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.28);

  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.customer-post-modal.is-open
.customer-post-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.customer-post-modal__header {
  position: sticky;
  top: 0;
  z-index: 2;

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

  gap: 20px;

  padding: 16px 24px;

  border-bottom: 1px solid #e5e7eb;
  border-radius: 16px 16px 0 0;

  background: #ffffff;
}

.customer-post-modal__heading {
  display: flex;
  flex: 1 1 auto;
  align-items: center;

  min-width: 0;

  gap: 12px;
}

.customer-post-modal__heading h2 {
  min-width: 0;
  margin: 0;

  overflow: hidden;

  color: #1a1a1a;

  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-post-modal__close {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 8px;

  color: #1a1a1a;

  transition: background-color 150ms ease;
}

.customer-post-modal__close:hover {
  background: #f3f4f6;
}

.customer-post-modal__close svg {
  width: 24px;
  height: 24px;
}

.customer-post-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 16px;

  padding: 14px 24px;

  border-bottom: 1px solid #e5e7eb;

  color: #666666;

  font-size: 14px;
  line-height: 1.5;
}

.customer-post-modal__meta > div {
  display: flex;
  flex-wrap: wrap;

  gap: 16px;
}

.customer-post-modal__meta strong {
  font-weight: 500;
}

.customer-post-modal__content {
  min-height: 180px;
  padding: 28px 24px;

  color: #374151;

  font-size: 16px;
  line-height: 1.8;

  word-break: keep-all;
  overflow-wrap: break-word;
}

.customer-post-modal__footer {
  display: flex;
  justify-content: center;

  padding: 16px 24px;

  border-top: 1px solid #e5e7eb;
}

.customer-post-modal__footer button {
  min-height: 42px;
  padding: 10px 24px;

  border-radius: 8px;

  background: #f3f4f6;
  color: #1a1a1a;

  font-size: 15px;
  line-height: 1;
  font-weight: 700;

  transition: background-color 150ms ease;
}

.customer-post-modal__footer button:hover {
  background: #e5e7eb;
}

/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1024px) {
  .customer-service-container {
    max-width: 960px;
  }

  .customer-board-col-author {
    width: 110px;
  }

  .customer-board-col-date {
    width: 120px;
  }
}

/* =========================================================
   Mobile
========================================================= */

@media (max-width: 767px) {
  .customer-service-page {
    padding: 32px 0 44px;
  }

  .customer-service-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .customer-service-heading {
    margin-bottom: 48px;
  }

  .customer-service-heading__badge {
    width: 96px;
    height: 30px;
    padding: 0;

    font-size: 12px;
  }

  .customer-service-heading h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .customer-service-heading p {
    font-size: 15px;
  }

  .customer-service-desktop-break {
    display: none;
  }

  /* Search */

  .customer-service-search {
    gap: 8px;
  }

  .customer-service-search select {
    min-height: 42px;
    padding-right: 12px;
    padding-left: 12px;

    font-size: 14px;
  }

  .customer-service-search__input {
    flex-basis: calc(100% - 92px);
    min-width: 0;
  }

  .customer-service-search__input input {
    min-height: 42px;
    padding-left: 12px;

    font-size: 14px;
  }

  .customer-service-search__count {
    width: 100%;
    text-align: right;
  }

  /* Board */

  .customer-board table {
    table-layout: fixed;
  }

  .customer-board-col-category {
    width: 72px;
  }

  .customer-board-col-date {
    width: 92px;
  }

  .customer-board-desktop,
  .customer-board-wide {
    display: none;
  }

  .customer-board th {
    height: 50px;
    padding: 10px 8px;

    font-size: 12px;
  }

  .customer-board th:first-child {
    padding-left: 12px;
    text-align: left;
  }

  .customer-board td {
    height: 58px;
    padding: 12px 8px;

    font-size: 12px;

    vertical-align: top;
  }

  .customer-board__category {
    padding-left: 12px !important;
  }

  .customer-board-badge {
    min-width: 42px;
    min-height: 24px;
    padding: 4px 8px;

    font-size: 11px;
  }

  .customer-board__title button {
    display: -webkit-box;

    overflow: hidden;

    font-size: 14px;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .customer-board__date {
    padding-right: 8px !important;

    font-size: 11px;

    word-break: keep-all;
  }

  /* Pagination */

  .customer-pagination {
    margin-top: 24px;
  }

  .customer-pagination__arrow,
  .customer-pagination__number {
    width: 36px;
    height: 36px;
  }

  /* Modal */

  .customer-post-modal {
    align-items: flex-end;

    padding: 0;
  }

  .customer-post-modal__dialog {
    max-height: 94vh;

    border-radius: 16px 16px 0 0;

    transform: translateY(32px);
  }

  .customer-post-modal.is-open
  .customer-post-modal__dialog {
    transform: translateY(0);
  }

  .customer-post-modal__header {
    padding: 14px 16px;
  }

  .customer-post-modal__heading {
    gap: 8px;
  }

  .customer-post-modal__heading h2 {
    font-size: 18px;
  }

  .customer-post-modal__meta {
    align-items: flex-start;
    flex-direction: column;

    gap: 6px;

    padding: 12px 16px;

    font-size: 12px;
  }

  .customer-post-modal__content {
    min-height: 160px;
    padding: 22px 16px;

    font-size: 14px;
    line-height: 1.8;
  }

  .customer-post-modal__footer {
    padding: 14px 16px 22px;
  }
}

/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 374px) {
  .customer-service-search select {
    width: 82px;
  }

  .customer-service-search__input {
    flex-basis: calc(100% - 90px);
  }

  .customer-board-col-category {
    width: 66px;
  }

  .customer-board-col-date {
    width: 82px;
  }

  .customer-board-badge {
    min-width: 38px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .customer-board__date {
    font-size: 10px;
  }
}

/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .customer-post-modal,
  .customer-post-modal__backdrop,
  .customer-post-modal__dialog,
  .customer-board tbody tr,
  .customer-board__title button {
    transition: none;
  }
}

.customer-board th:last-child {
  text-align: center;
}


.customer-board-message {
  margin: 20px 0 0;

  color: #dc2626;

  text-align: center;

  font-size: 14px;
}

.customer-pagination button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.customer-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.customer-post-modal__content {
  white-space: pre-wrap;
}

@media (max-width: 767px) {
  .customer-board-col-category {
    width: 72px;
  }

  .customer-board-col-date {
    width: 92px;
  }

}

/* 문의글 제목: 상세 페이지를 열지 않는 일반 텍스트 */
.customer-board__title-text {
  display: block;
  width: 100%;

  color: #1a1a1a;

  text-align: left;

  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;

  word-break: keep-all;
  overflow-wrap: break-word;

  cursor: default;
}

@media (max-width: 767px) {
  .customer-board__title-text {
    display: -webkit-box;

    overflow: hidden;

    font-size: 14px;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* Shared subpage hero badges */
.newcar-hero__badge,
.usedcar-hero__badge,
.customer-service-heading__badge {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  padding: 0 24px;
  background: rgba(2, 61, 165, 0.1);
  color: #023da5;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  .newcar-hero__badge,
  .usedcar-hero__badge,
  .customer-service-heading__badge {
    width: auto;
    min-width: 0;
    height: 30px;
    min-height: 30px;
    padding: 0 18px;
    font-size: 12px;
  }
}

body.is-customer-post-modal-open {
  overflow: hidden;
}

.customer-post-modal[hidden] {
  display: none !important;
}

.customer-post-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.customer-post-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.46);
}

.customer-post-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(768px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.16);
}

.customer-post-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 16px;
  border-bottom: 1px solid #e4e7ec;
}

.customer-post-modal__heading {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.customer-post-modal__heading h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-post-modal .customer-board-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 9px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: #0348b7;
  border-radius: 999px;
}

.customer-post-modal__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 16px;
  padding: 0;
  color: #222222;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.customer-post-modal__close:hover {
  background: #f3f4f6;
}

.customer-post-modal__close svg {
  width: 24px;
  height: 24px;
}

.customer-post-modal__meta {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 12px 16px;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid #e4e7ec;
}

.customer-post-modal__meta-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.customer-post-modal__meta-summary span,
.customer-post-modal__meta-summary strong {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
}

.customer-post-modal__date {
  display: block;
  margin-top: 6px;
  color: #667085;
  font-style: normal;
}

.customer-post-modal__content {
  min-height: 80px;
  max-height: calc(100vh - 290px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px 16px;
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.customer-post-modal__content p {
  margin: 0 0 12px;
}

.customer-post-modal__content p:last-child {
  margin-bottom: 0;
}

.customer-post-modal__content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.customer-post-modal__footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 14px 16px;
  border-top: 1px solid #e4e7ec;
}

.customer-post-modal__footer button {
  min-width: 97px;
  height: 37px;
  padding: 0 18px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
  background: #f2f4f7;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.customer-post-modal__footer button:hover {
  background: #e4e7ec;
}

@media (max-width: 767px) {
  .customer-post-modal {
    padding: 16px;
  }

  .customer-post-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    border-radius: 14px;
  }

  .customer-post-modal__header {
    min-height: 64px;
    padding: 14px 16px;
  }

  .customer-post-modal__heading {
    gap: 9px;
  }

  .customer-post-modal__heading h2 {
    font-size: 16px;
  }

  .customer-post-modal__meta {
    min-height: 72px;
    font-size: 13px;
  }

  .customer-post-modal__meta-summary {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .customer-post-modal__content {
    max-height: calc(100vh - 270px);
    padding: 16px;
    font-size: 14px;
  }

  .customer-post-modal__footer {
    min-height: 64px;
  }
}

.customer-post-modal__content {
  overflow-x: hidden;
  overflow-y: auto;
}

.customer-post-modal__content img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 16px auto;
}

.customer-post-modal__content figure {
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0;
}

.customer-post-modal__content figure img {
  width: auto;
  max-width: 100% !important;
  height: auto !important;
}

.customer-post-modal__content table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.customer-post-modal__content iframe,
.customer-post-modal__content video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  .customer-post-modal__content img {
    margin: 12px auto;
  }
}

.se-notice-title-html {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.se-notice-title-html > span {
    display: inline;
    margin: 0;
    padding: 0;
}

.se-notice-title-html br {
    display: none;
}

.se-notice-title-html strong,
.se-notice-title-html b {
    font-weight: 700;
}

.se-notice-title-html em,
.se-notice-title-html i {
    font-style: italic;
}

.se-notice-title-html u {
    text-decoration: underline;
}

.se-notice-title-html s,
.se-notice-title-html strike {
    text-decoration: line-through;
}
/* =========================================================
   Customer Inquiry Actions / Status
========================================================= */

.customer-inquiry-open-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  min-width: 104px;
  min-height: 44px;
  padding: 0 20px;

  border: 1px solid #023da5;
  border-radius: 12px;

  background: #023da5;
  color: #ffffff;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;

  cursor: pointer;

  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.customer-inquiry-open-button:hover {
  border-color: #012f80;
  background: #012f80;
  transform: translateY(-1px);
}

.customer-inquiry-open-button:focus-visible {
  outline: 3px solid rgba(2, 61, 165, 0.2);
  outline-offset: 3px;
}

.customer-board__inquiry-button,
.customer-board__inquiry-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;

  width: 100%;
  min-width: 0;
  padding: 0;

  border: 0;

  background: transparent;
  color: #1a1a1a;

  text-align: left;

  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;

  word-break: keep-all;
  overflow-wrap: break-word;
}

.customer-board__inquiry-button {
  cursor: pointer;
}

.customer-board__inquiry-button:hover {
  color: #023da5;
}

.customer-board__inquiry-title {
  cursor: default;
}

.customer-board__inquiry-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  min-width: 0;
}

.customer-inquiry-secret-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  color: #667085;
}

.customer-inquiry-secret-icon svg {
  width: 15px;
  height: 15px;
}

.customer-inquiry-admin-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  min-height: 22px;
  padding: 3px 8px;

  border: 1px solid #b2ccff;
  border-radius: 999px;

  background: #eff4ff;
  color: #1849a9;

  font-size: 10px;
  line-height: 1;
  font-weight: 700;

  white-space: nowrap;
}

/* =========================================================
   Customer Inquiry Modal
========================================================= */

body.customer-inquiry-modal-open {
  overflow: hidden;
}

.customer-inquiry-modal[hidden] {
  display: none !important;
}

.customer-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;

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

  padding: 24px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.customer-inquiry-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.customer-inquiry-modal__backdrop {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;

  background: rgba(15, 23, 42, 0.58);

  cursor: pointer;
}

.customer-inquiry-modal__dialog {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;

  width: min(640px, 100%);
  max-height: calc(100dvh - 48px);

  overflow: hidden;

  border-radius: 20px;

  background: #ffffff;

  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.26);

  opacity: 0;
  transform: translateY(16px) scale(0.985);

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.customer-inquiry-modal__dialog--detail {
  width: min(700px, 100%);
}

.customer-inquiry-modal.is-open
.customer-inquiry-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.customer-inquiry-modal__header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  min-height: 86px;
  padding: 22px 24px 18px;

  border-bottom: 1px solid #eaecf0;

  background: #ffffff;
}

.customer-inquiry-modal__eyebrow {
  display: block;
  margin-bottom: 5px;

  color: #023da5;

  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.customer-inquiry-modal__header h2 {
  margin: 0;

  color: #101828;

  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.customer-inquiry-modal__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 0;
  border-radius: 10px;

  background: transparent;
  color: #344054;

  cursor: pointer;
}

.customer-inquiry-modal__close:hover {
  background: #f2f4f7;
}

.customer-inquiry-modal__close svg {
  width: 23px;
  height: 23px;
}

.customer-inquiry-modal__alert {
  flex: 0 0 auto;

  margin: 16px 24px 0;
  padding: 12px 14px;

  border: 1px solid #fecdca;
  border-radius: 10px;

  background: #fef3f2;
  color: #b42318;

  font-size: 13px;
  line-height: 1.55;

  word-break: keep-all;
}

.customer-inquiry-modal__alert.is-success {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.customer-inquiry-form,
.customer-inquiry-auth-form,
.customer-inquiry-detail {
  min-height: 0;
  overflow-y: auto;
}

.customer-inquiry-form {
  padding: 22px 24px 24px;
}

.customer-inquiry-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.customer-inquiry-form__field {
  min-width: 0;
}

.customer-inquiry-form__field--full {
  grid-column: 1 / -1;
}

.customer-inquiry-form__field label {
  display: block;
  margin-bottom: 7px;

  color: #344054;

  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.customer-inquiry-form__field input,
.customer-inquiry-form__field select,
.customer-inquiry-form__field textarea {
  display: block;

  width: 100%;
  padding: 12px 13px;

  border: 1px solid #d0d5dd;
  border-radius: 10px;

  background: #ffffff;
  color: #101828;

  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;

  outline: none;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.customer-inquiry-form__field input,
.customer-inquiry-form__field select {
  min-height: 46px;
}

.customer-inquiry-form__field textarea {
  min-height: 168px;
  resize: vertical;
}

.customer-inquiry-form__field input:focus,
.customer-inquiry-form__field select:focus,
.customer-inquiry-form__field textarea:focus {
  border-color: #023da5;
  box-shadow: 0 0 0 3px rgba(2, 61, 165, 0.11);
}

.customer-inquiry-form__field p {
  margin: 6px 0 0;

  color: #667085;

  font-size: 12px;
  line-height: 1.5;

  word-break: keep-all;
}

.customer-inquiry-visibility {
  min-width: 0;
  margin: 0;
  padding: 0;

  border: 0;
}

.customer-inquiry-visibility legend {
  margin: 0 0 8px;
  padding: 0;

  color: #344054;

  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.customer-inquiry-visibility__options {
  display: grid;
  grid-template-columns: 1fr;
  /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
  gap: 10px;
}

.customer-inquiry-visibility__option {
  position: relative;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  min-width: 0;
  padding: 14px;

  border: 1px solid #d0d5dd;
  border-radius: 12px;

  background: #ffffff;

  cursor: pointer;

  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.customer-inquiry-visibility__option:has(input:checked) {
  border-color: #023da5;
  background: #f5f8ff;
  box-shadow: 0 0 0 2px rgba(2, 61, 165, 0.08);
}

.customer-inquiry-visibility__option input {
  flex: 0 0 auto;

  width: 17px;
  height: 17px;
  margin: 2px 0 0;

  accent-color: #023da5;
}

.customer-inquiry-visibility__option > span {
  display: block;
  min-width: 0;
}

.customer-inquiry-visibility__option strong,
.customer-inquiry-visibility__option small {
  display: block;
}

.customer-inquiry-visibility__option strong {
  margin-bottom: 3px;

  color: #101828;

  font-size: 14px;
  line-height: 1.45;
}

.customer-inquiry-visibility__option small {
  color: #667085;

  font-size: 11px;
  line-height: 1.5;

  word-break: keep-all;
}

.customer-inquiry-visibility__notice {
  margin: 7px 0 0;

  color: #667085;

  font-size: 12px;
  line-height: 1.5;

  word-break: keep-all;
}

.customer-inquiry-form__field[hidden] {
  display: none !important;
}

.customer-inquiry-form__honeypot {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.customer-inquiry-agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  margin-top: 18px;

  color: #475467;

  font-size: 12px;
  line-height: 1.6;

  cursor: pointer;
  word-break: keep-all;
}

.customer-inquiry-agree input {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;
  margin-top: 2px;

  accent-color: #023da5;
}

.customer-inquiry-modal__footer {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 10px;

  margin-top: 24px;
}

.customer-inquiry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 104px;
  min-height: 44px;
  padding: 0 18px;

  border-radius: 10px;

  font-size: 14px;
  line-height: 1;
  font-weight: 700;

  cursor: pointer;
  text-decoration: none;
}

.customer-inquiry-button--line {
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
}

.customer-inquiry-button--primary {
  border: 1px solid #023da5;
  background: #023da5;
  color: #ffffff;
}

.customer-inquiry-button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.customer-inquiry-auth-form {
  padding: 28px 24px 24px;
}

.customer-inquiry-auth-form__guide {
  margin: 0 0 20px;

  color: #475467;

  font-size: 14px;
  line-height: 1.65;

  word-break: keep-all;
}

.customer-inquiry-detail {
  padding: 0 24px 24px;
}

.customer-inquiry-detail__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 18px 0;

  border-bottom: 1px solid #eaecf0;
}

.customer-inquiry-detail__summary > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-inquiry-detail__summary time {
  color: #667085;

  font-size: 12px;
  line-height: 1.5;

  white-space: nowrap;
}

.customer-inquiry-admin-info[hidden] {
  display: none !important;
}

.customer-inquiry-admin-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;

  padding: 16px 0;

  border-bottom: 1px solid #eaecf0;
}

.customer-inquiry-admin-info > div {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
}

.customer-inquiry-admin-info span {
  flex: 0 0 auto;

  color: #667085;

  font-size: 12px;
  line-height: 1.5;
}

.customer-inquiry-admin-info strong,
.customer-inquiry-admin-info a {
  min-width: 0;

  color: #101828;

  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;

  text-decoration: none;
  overflow-wrap: anywhere;
}

.customer-inquiry-admin-info a:hover {
  color: #023da5;
}

.customer-inquiry-detail__section {
  padding: 24px 0;
}

.customer-inquiry-detail__section h3 {
  margin: 0 0 16px;

  color: #101828;

  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;

  word-break: keep-all;
  overflow-wrap: break-word;
}

.customer-inquiry-detail__message,
.customer-inquiry-answer__content {
  color: #344054;

  font-size: 14px;
  line-height: 1.8;

  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.customer-inquiry-answer {
  padding: 20px;

  border-left: 4px solid #023da5;
  border-radius: 12px;

  background: #f5f8ff;
}

.customer-inquiry-answer__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 12px;
}

.customer-inquiry-answer__heading strong {
  color: #023da5;

  font-size: 15px;
  line-height: 1.5;
}

.customer-inquiry-answer__heading time {
  color: #667085;

  font-size: 11px;
  line-height: 1.5;
}

/* =========================================================
   Customer Inquiry Mobile
========================================================= */

@media (max-width: 767px) {
  .customer-service-search__count {
    width: auto;
    margin-left: auto;
  }

  .customer-inquiry-open-button {
    min-width: 92px;
    min-height: 42px;
    padding: 0 16px;

    font-size: 13px;
  }

  .customer-board__inquiry-button,
  .customer-board__inquiry-title {
    align-items: flex-start;
    gap: 5px;

    font-size: 14px;
    line-height: 1.45;
  }

  .customer-board__inquiry-text {
    align-items: flex-start;
  }

  .customer-inquiry-modal {
    align-items: flex-end;
    padding: 0;
  }

  .customer-inquiry-modal__dialog,
  .customer-inquiry-modal__dialog--detail {
    width: 100%;
    max-height: 92dvh;

    border-radius: 20px 20px 0 0;

    transform: translateY(32px);
  }

  .customer-inquiry-modal.is-open
  .customer-inquiry-modal__dialog {
    transform: translateY(0);
  }

  .customer-inquiry-modal__header {
    min-height: 76px;
    padding: 18px 16px 15px;
  }

  .customer-inquiry-modal__header h2 {
    font-size: 20px;
  }

  .customer-inquiry-modal__alert {
    margin: 14px 16px 0;
  }

  .customer-inquiry-form,
  .customer-inquiry-auth-form {
    padding: 18px 16px
      calc(18px + env(safe-area-inset-bottom));
  }

  .customer-inquiry-form__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .customer-inquiry-visibility__options {
    grid-template-columns: 1fr;
  }

  .customer-inquiry-form__field--full {
    grid-column: auto;
  }

  .customer-inquiry-form__field textarea {
    min-height: 150px;
  }

  .customer-inquiry-modal__footer {
    position: sticky;
    bottom: 0;

    margin-right: -16px;
    margin-bottom:
      calc(-18px - env(safe-area-inset-bottom));
    margin-left: -16px;
    padding: 14px 16px
      calc(14px + env(safe-area-inset-bottom));

    border-top: 1px solid #eaecf0;

    background: #ffffff;
  }

  .customer-inquiry-button {
    flex: 1 1 0;
    min-width: 0;
  }

  .customer-inquiry-detail {
    padding: 0 16px
      calc(18px + env(safe-area-inset-bottom));
  }

  .customer-inquiry-detail__summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .customer-inquiry-admin-info {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .customer-inquiry-detail__section h3 {
    font-size: 18px;
  }

  .customer-inquiry-answer {
    padding: 17px;
  }

  .customer-inquiry-answer__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (max-width: 374px) {
  .customer-inquiry-open-button {
    width: 100%;
  }

  .customer-service-search__count {
    width: 100%;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-inquiry-open-button,
  .customer-inquiry-modal,
  .customer-inquiry-modal__dialog {
    transition: none;
  }
}
