/* admin.css */

/* admin-common */
.detail-side-mobile { display: none; }
.detail-side-desktop { display: block; }

.status-arrow svg {
  transition: transform 0.2s ease;
}

.status-btn.is-open .status-arrow svg {
  transform: rotate(180deg);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
    margin-top: 20px;
}

.back-link:hover {
    color: #1a1a1a;
}

/* ===================== */
/* admin.html - 로그인 */
/* ===================== */
.admin-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-wrap .admin-logo img {
    min-width: 304px;
}

.admin-login-wrap .admin-login-box {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.admin-login-wrap .admin-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.admin-login-wrap .form-group {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.admin-login-wrap .form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.admin-login-wrap .form-group input {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    background: #fafafa;
    transition: border 0.2s;
    box-sizing: border-box;
}

.admin-login-wrap input::placeholder {
    color: #BBBBBB;
}

.admin-login-wrap .form-group input:focus {
    border-color: #1a1a1a;
    outline: none;
}

.admin-login-wrap .form-group:nth-child(1) {
    margin-bottom: 10px;
}

.admin-login-wrap .input-wrap {
    position: relative;
}

.admin-login-wrap .input-wrap input {
    padding-right: 48px;
}

.admin-login-wrap .btn-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.admin-login-wrap .form-error {
    font-size: 14px;
    color: #e53e3e;
    margin-top: 8px;
}

.admin-login-wrap .btn-login {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 36px;
}

.admin-login-wrap .btn-login:hover {
    opacity: 0.7;
}

.admin-login-wrap .btn-login:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===================== */
/* admin_list.html - 리스트 */
/* ===================== */

.wrap .contents .container {
  padding: 200px 0 120px
}

.admin-list-wrap, .admin-detail-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.admin-list-wrap .admin-title h1, .admin-detail-wrap .admin-title h1 {
    font-size: 64px;
    line-height: 70px;
    font-weight: 600;
    margin-bottom: 24px;
}

.admin-list-wrap .admin-title p, .admin-detail-wrap .admin-title p  {
    color: #555;
    line-height: 1.3;
}

/* 탭 */
.admin-list-wrap .admin-tabs {
    display: flex;
    margin: 60px 0 40px;
}

.admin-list-wrap .admin-tab {
    padding: 14px 32px;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1.5;
    color: #99A1AF;
    cursor: pointer;
    border-bottom: 1px solid #B1B8BE;
}

.admin-list-wrap .admin-tab.active {
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 2px solid #1a1a1a;
}

/* 테이블 */
.admin-list-wrap .admin-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  display: block;

}

.admin-list-wrap .admin-table {
  min-width: 1600px;
  width: 1600px;
  table-layout: fixed;
  border-collapse: collapse;
}


.admin-list-wrap .admin-table .td-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-list-wrap .admin-table thead tr {
    background: #EEF2F7;
    border-bottom: 1px solid #D6E0EB;
}

.admin-list-wrap .admin-table th {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.admin-list-wrap .admin-table td {
  padding: 16px;
  color: #464C53;
  border-bottom: 1px solid #CDD1D5;
  vertical-align: middle;
  text-align: center;
}

.admin-list-wrap .admin-table th:nth-child(1),
.admin-list-wrap .admin-table td:nth-child(1) {
  width: 80px;
}

.admin-list-wrap .admin-table th:nth-child(2),
.admin-list-wrap .admin-table td:nth-child(2) {
  width: 160px;
}
.admin-list-wrap .admin-table th:nth-child(3),
.admin-list-wrap .admin-table td:nth-child(3) {
  width: 430px;
}
.admin-list-wrap .admin-table th:nth-child(4),
.admin-list-wrap .admin-table td:nth-child(4) {
  width: 235px;
}
.admin-list-wrap .admin-table th:nth-child(5),
.admin-list-wrap .admin-table td:nth-child(5) {
  width: 150px;
}
.admin-list-wrap .admin-table th:nth-child(6),
.admin-list-wrap .admin-table td:nth-child(6) {
  width: 152px;
  overflow: visible;
}
.admin-list-wrap .admin-table th:nth-child(7),
.admin-list-wrap .admin-table td:nth-child(7) {
  width: 150px;
}

/* 스크롤바 항상 보이게 커스텀 */
.admin-list-wrap .admin-table-wrap::-webkit-scrollbar {
  height: 14px;
}

.admin-list-wrap .admin-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(17,24,39,0.06);
}

.admin-list-wrap .admin-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(17,24,39,0.42);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s ease;
}

.admin-list-wrap .admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(17, 24, 39, 0.32);
  background-clip: padding-box;
}

.admin-list-wrap .admin-table-wrap::-webkit-scrollbar-corner {
  background: transparent;
}
/*  */

.admin-list-wrap .admin-table {
  width: 1600px;
  min-width: 1600px;
  table-layout: fixed;
}


.admin-list-wrap .admin-table tbody tr {
    cursor: pointer;
    transition: background 0.15s ease;
}

.admin-list-wrap .admin-table tbody tr:hover {
    background: #FAFBFC;
}
.admin-mobile-cards {
  display: none;
}

/* Type 뱃지 */


/* Status 드롭다운 */
.admin-list-wrap .status-wrap {
  position: relative;
  display: inline-flex;
}

/* body portal로 띄우는 드롭다운 */
.status-dropdown-portal {
  width: 160px;
  padding: 6px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.status-dropdown-portal .status-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 9px;
  box-sizing: border-box;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
}

.status-dropdown-portal .status-option:hover,
.status-dropdown-portal .status-option.new:has(.status-check) {
  background: #F6F8FB;
}

.status-dropdown-portal .status-option-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-dropdown-portal .status-option.new {
  color: #2563EB;
}

.status-dropdown-portal .status-option.pending {
  color: #D97706;
}

.status-dropdown-portal .status-option.answered {
  color: #059669;
}

.status-dropdown-portal .status-option.closed {
  color: #6B7280;
}

.status-dropdown-portal .status-option svg {
  flex: 0 0 auto;
}

.status-dropdown-portal .status-check {
  margin-left: auto;
}



/* 페이지네이션 */
.admin-list-wrap .admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 60px;
}

.admin-list-wrap .page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-list-wrap .page-btn.active {
    background: #1a1a1a;
    color: #fff;
}

.admin-list-wrap .page-btn:hover:not(.active) {
    background: #f4f4f4;
}

.admin-list-wrap .page-arrow {
    font-size: 14px;
    color: #888;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

/* ===================== */
/* admin_d.html - 디테일 */
/* ===================== */

/* ===================== */
/* 공용 Badge / Status */
/* list + detail 공통 + 레이아웃 */
/* ===================== */

.admin-detail-wrap {
    padding: 0 100px;
    box-sizing: border-box;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 50px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}

.type-badge.product {
  background: #F8FAFC;
  color: #314158;
  border: 1px solid #E2E8F0;
}

.type-badge.partnership {
  background: #EEF2FF;
  color: #312C85;
  border: 1px solid #E0E7FF;
}

.type-badge.sample {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.type-badge.other {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.status-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  gap: 4px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: none;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.status-btn.new {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

.status-btn.pending {
  background: #FFFBEB;
  color: #D97706;
  border-color: #FDE68A;
}

.status-btn.answered {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
}

.status-btn.closed {
  background: #F3F4F6;
  color: #6B7280;
  border-color: #E5E7EB;
}

.status-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
}

/*  */

body.admin-d-page {
  background: #FAFAFA;
}

.admin-detail-wrap .back-link {
    justify-content: flex-start;
    margin: 0;
}

.admin-detail-wrap .admin-title {
    padding: 32px 0 30px;
    box-sizing: border-box;
    border-bottom: 1px solid #1a1a1a;
}

.admin-detail-wrap .back-link {
  margin-bottom: 24px;
}

.admin-detail-wrap .admin-title {
  margin-bottom: 60px;
}

.detail-sub-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  background: #D0D5DD;
  vertical-align: middle;
  margin: 0 6px;
}

.admin-detail-wrap #detail-summary {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-detail-wrap .detail-meta .type-badge {
    background: none;
    border: none;
    font-size: 15px;
    padding: 0;
}
.admin-detail-wrap .detail-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-detail-wrap .detail-meta > span:last-child {
  position: relative;
  padding-left: 6px;
  font-size: 15px;
  color: #BBBBBB;
}
.admin-detail-wrap .detail-meta > span:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background: #D0D5DD;
}
.admin-detail-wrap .detail-heading-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.admin-detail-wrap #detail-summary h2 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}

.admin-detail-wrap .detail-sub {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.5;
}

.admin-detail-wrap .side-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
}

.admin-detail-wrap .side-card h3 {
  padding: 28px 32px;
  line-height: 1.3;
  font-weight: 500;
  border-bottom: 1px solid #E5E5E5;
}

.admin-detail-wrap .info-status {
  padding: 16px 24px;
  border-bottom: 1px solid #F0F0F0;
}

.admin-detail-wrap .info-status-label {
  color: #999999;
  line-height: 1.3;
  margin-bottom: 8px;
}

.admin-detail-wrap .detail-status-btn {
  width: 100%;
  padding: 8px 12px;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 6px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.admin-detail-wrap .detail-status-btn .status-arrow {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-detail-wrap .info-list {
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
}

.admin-detail-wrap .info-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #F5F5F5;
  align-items: start;
}

.admin-detail-wrap .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-detail-wrap .info-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.admin-detail-wrap .info-icon svg {
  width: 20px;
  height: 20px;
}

.admin-detail-wrap .info-content {
  min-width: 0;
}

.admin-detail-wrap .info-label-text {
  color: #999999;
  line-height: 1.3;
  margin-bottom: 4px;
}

.admin-detail-wrap .info-value {
  line-height: 1.3;
  font-weight: 500;
  word-break: break-word;
}

.admin-detail-wrap .detail-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* info-sticky */
.admin-detail-wrap .detail-main {
  flex: 1;
  min-width: 0;
}

.admin-detail-wrap .detail-side {
  width: 360px;
  min-width: 343px;
  position: sticky;
  top: 120px;
}


.admin-detail-wrap .detail-card,
.admin-detail-wrap .side-card {
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  background: #fff;
}

.admin-detail-wrap .detail-card {
  padding: 32px;
  /* min-height: 420px; */
  max-width: 1000px;
}

.admin-detail-wrap .detail-side {
    min-width: 343px;
}

.admin-detail-wrap .detail-card .card-label {
  line-height: 24px;
  color: #99A1AF;
  font-weight: 500;;
}

.admin-detail-wrap .side-card {
  overflow: hidden;
}

.admin-detail-wrap .side-card h3 {
  padding: 16px 24px;
  line-height: 1.3;
  font-weight: 500;
  border-bottom: 1px solid #E5E7EB;
}

.admin-detail-wrap .side-card dl {
  padding: 18px 20px;
}

.admin-detail-wrap .side-card dt {
  color: #999999;
  line-height: 1.3;
  margin-bottom: 4px;
}

.admin-detail-wrap .side-card dt .info-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.admin-detail-wrap .side-card dd {
  font-weight: 500;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #F5F5F5;
}

.admin-detail-wrap .side-card dd:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.detail-message {
  margin-top: 12px;
  line-height: 1.6;
}

.detail-attachments  {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #F5F5F5;
}

.attachment-title {
    font-size: 14px;
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #737373;
    margin-bottom: 12px;
}

.attachment-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.attachment-item:hover {
  background: #FAFAFA;
  border-color: #D4D4D4;
}

.attachment-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.attachment-left span:first-child {
  font-size: 14px;
}

.attachment-left span:last-child {
  color: #A1A1A1;
  font-size: 13px;
}

.attachment-file-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.attachment-text {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.attachment-file-name {
  color: #404040;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
}

.attachment-file-size {
  color: #A3A3A3;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.attachment-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
}


.attachment-item button {
  border: none;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
}

/* 디테일 페이지 전용 드롭다운 조정 */
body.admin-d-page .status-dropdown-portal {
  min-width: 310px;
  padding: 7px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.04);
}

.status-dropdown-portal .status-option:hover,
.status-dropdown-portal .status-option:has(.status-check) {
  background: #F7F7F7;
}


/* ===================== */
/* Conversation */
/* ===================== */

.conversation-section {
  margin-top: 60px;
}

.conversation-head {
  margin-bottom: 24px;
}

.conversation-head h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.conversation-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  box-sizing: border-box;

  border-radius: 50px;
  background: #1A1A1A;
  color: #fff;

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

  font-size: 14px;
  line-height: 1;
  font-weight: 600;
}

.conversation-head p {
  color: #999999;
  font-size: 14px;
}

.reply-card {
  padding: 32px;
  border-radius: 10px;
  border: 1px solid #E5E5E5;
  margin-bottom: 24px;
  background: #fff;
}

.reply-card.admin {
  background: #F6F8FB;
  border: 1px solid #E9EEF5;
}

.reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reply-badge {
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 14px;
  line-height: 1.5;
}

.reply-badge.admin {
  background: #1A1A1A;
  color: #fff;
}

.reply-badge.customer {
  background: #fff;
  border: 1px solid #D4D4D4;
  color: #1A1A1A;
}

.reply-date {
  color: #bbb;
  font-size: 15px;
  line-height: 1.5;
}

.reply-message {
  line-height: 1.6;
}

/* 아코디언 토글 */
.reply-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reply-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reply-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reply-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    margin-top 0.28s ease;
}

.reply-body.is-open {
  max-height: 800px;
  opacity: 1;
  margin-top: 24px;
}

.reply-attachments  {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #E0E3EC;
}


.reply-image-preview {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
}

.reply-image-preview img {
  width: 100%;
  display: block;
}


/* 관리자 답변 */
.followup-section {
  margin-top: 48px;
}

.followup-section h3 {
  font-weight: 600;
  margin-bottom: 16px;
}

.followup-textarea {
  width: 100%;
  height: 160px;
  padding: 14px 16px;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  resize: vertical;
  box-sizing: border-box;
  line-height: 1.6;
}
.followup-textarea::placeholder {
  color: #bbb;
}
.followup-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.followup-file-list:empty {
  display: none;
  margin-top: 0;
}

.followup-file-item {
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #fff;

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

.followup-file-remove {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #F2F4F7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.followup-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.followup-attach {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.attach-btn {
  color: #525252;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.attach-btn:hover, .followup-submit:hover {
  opacity: 0.6;
}

.followup-attach p {
  color: #BBBBBB;
  font-size: 14px;
}

.attach-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.followup-error {
  display: none;
  margin-top: 8px;
  font-size: 14px;
  color: #e53e3e;
}

.followup-error.is-show {
  display: block;
}

.followup-submit {
  width: 140px;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: #1A1A1A;
  color: #fff;
  cursor: pointer;
}

/* =========================
   Mobile
========================= */
@media (max-width: 767px) {

  html,
  body {
    overflow-x: hidden;
  }

  .container,
  .admin-login-wrap {
    width: 100%;
    padding-inline: 16px;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* 레이아웃 */
  .wrap .contents section, .wrap .contents .container  {
    padding: 100px 16px;
    width: 100%;
  }

  /* 1. admin.html */

  .admin-login-wrap .admin-login-box {
    gap: 48px;
  }
  .admin-login-wrap .admin-logo img {
    min-width: 220px;
  }
  .admin-login-wrap .form-group:nth-child(1) {
      margin-bottom: 20px;
  }
  .admin-login-wrap .form-group label {
    font-size: 14px;
    line-height: 1.5;
  }
    .admin-login-wrap .form-group label {
    font-size: 14px;
    line-height: 1.5;
  }
  .admin-login-wrap .form-group input {
    font-size: 14px;
  }
  .admin-login-wrap .btn-eye {
    width: 20px;
    height: 20px;
  }
  .admin-login-wrap .btn-login {
    font-size: 14px;
    margin-top: 32px;
  }

   /* 2. admin.list */
   
   .admin-list-wrap .admin-title h1, .admin-detail-wrap .admin-title h1 {
    font-size: 32px;
   }
   .admin-list-wrap .admin-title p, .admin-detail-wrap .admin-title p {
    font-size: 14px;
    line-height: 21px;
   }
   /* admin-tabs */
   .admin-list-wrap .admin-tabs {
    margin: 44px 0 24px;
    overflow: auto;
   }
   .admin-list-wrap .admin-tab {
      padding: 16px;
      min-height: 56px;
      font-size: 14px;
      line-height: 1.5;
   }
   /* admin-list-card -> 모바일용 */
.admin-list-wrap .admin-table-wrap {
  display: none;
}

.admin-mobile-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-mobile-card {
  padding: 20px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  cursor: pointer;
}

.admin-mobile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-mobile-head-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.admin-mobile-no {
  font-size: 13px;
  line-height: 1.3;
  color: #999;
  white-space: nowrap;
}

.admin-mobile-divider {
  width: 1px;
  height: 11px;
  background: #D0D5DD;
  flex-shrink: 0;
}

.type-badge {
  padding: 4px 10px;
  font-size: 13px;
}

.admin-mobile-title {
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #EEF2F7;
  font-weight: 400;
  line-height: 1.4;
}

.admin-mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 20px;
  color: #64748B;
}

.admin-mobile-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-mobile-meta svg {
  flex-shrink: 0;
}

.admin-mobile-status {
  margin-top: 14px;
}
/* drop-down */
.status-dropdown-portal .status-option {
  padding: 14px 10px;
  font-size: 13px;
}

/* admin_d 모바일 */
.detail-side-mobile { display: block; width: 100%; min-width: 0; }
.detail-side-desktop { display: none; }

.admin-detail-wrap {
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.admin-detail-wrap .back-link        { order: 1; }
.admin-detail-wrap .admin-title      { order: 2; margin-bottom: 24px; padding: 0 0 24px; line-height: 1; }
.admin-detail-wrap .detail-side-mobile { order: 3; margin-bottom: 48px; width: 
  auto; }
.admin-detail-wrap #detail-summary   { order: 4; padding: 0; margin-bottom: 32px; gap: 10px;}
.status-btn {padding: 4px 10px;}
.admin-detail-wrap #detail-summary h2 {font-size: 16px;}
.admin-detail-wrap .detail-sub {font-size: 13px;}
.admin-detail-wrap .detail-heading-row {flex-direction: column; align-items: flex-start;}
.admin-detail-wrap .detail-layout    {  order: 5; display: flex; flex-direction: column;
  gap: 32px; width: 100%; box-sizing: border-box; overflow: hidden;  }
.admin-detail-wrap .detail-main     { padding: 0!important; }
.admin-detail-wrap .detail-card {padding: 20px;}
.admin-detail-wrap .detail-card .card-label {font-size: 14px;}
.detail-message {font-size: 14px; line-height: 1.5;}
/* info */
.admin-detail-wrap .side-card h3    { padding: 16px 20px; }
.admin-detail-wrap .info-label-text { display: none; }
.admin-detail-wrap .info-item       { align-items: end; gap: 8px; padding-bottom: 10px; }
.admin-detail-wrap .info-value      { font-size: 14px; line-height: 20px; }
.admin-detail-wrap .info-icon svg   { width: 18px; height: 18px; }
.admin-detail-wrap .info-status     { display: flex; justify-content: space-between; align-items: flex-end; padding: 16px 20px;}
.admin-detail-wrap .info-list       { padding: 16px 20px; }

.admin-detail-wrap .detail-status-btn {
  width: fit-content;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}
.admin-detail-wrap .detail-status-btn .status-arrow {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation-section {margin-bottom: 32px; padding: 0!important;}
.conversation-head h3 {font-size: 16px;}
.conversation-count { font-size: 13px; padding: 0 5px;}

.reply-card {padding: 20px; margin-bottom: 20px;}
.reply-badge {font-size: 13px;}
.reply-date {font-size: 13px;}
.reply-message {font-size: 14px; line-height: 1.5;}
.attachment-file-name { 
  max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;}

.followup-section {
  padding: 0!important;
  margin-top: 0;
}
.followup-section h3 {
  font-size: 15px;
}
.followup-textarea {
  height: 140px;
  font-size: 14px;
  line-height: 1.5;
}
.followup-attach, .followup-actions {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.attach-btn {
  font-size: 14px;
}
.followup-attach p {
  font-size: 13px;
}
.followup-submit {
  width: 100%;
  font-size: 14px;
}

body.admin-d-page .status-dropdown-portal {
  min-width: 132px;
}

  }

