.adp_2504300652_container {
max-width: 1200px;
margin: 0 auto;
padding: 1.5rem 1rem;
}

h1 {
font-size: 1.5rem;
font-weight: 700;
text-align: center;
margin-bottom: 1.5rem;
}

/* Grid layout */
.adp_2504300652_grid {
display: grid;
gap: 1.5rem;
grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
.adp_2504300652_grid {
  grid-template-columns: 1fr 1fr;
}
}

/* Card styles */
.adp_2504300652_card {
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
overflow: hidden;
background-color: white;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
padding-bottom:20px;
}

.adp_2504300652_card-header {
padding: 0.75rem;
font-weight: 500;
text-align: center;
color: white;
}

.adp_2504300652_seller-header {
background-color: #2563eb;
}

.adp_2504300652_buyer-header {
background-color: #f58d0b;
}

/* Search section */
.adp_2504300652_search-section {
padding: 0.75rem;
border-bottom: 1px solid #e5e7eb;
background-color: rgba(243, 244, 246, 0.2);
}

.adp_2504300652_search-container {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

@media (min-width: 640px) {
.adp_2504300652_search-container {
  flex-direction: row;
}
}

.adp_2504300652_search-group {
flex: 1;
display: flex;
gap: 0.5rem;
}

.adp_2504300652_select-container {
position: relative;
flex: 1;
}

select {
width: 100%;
padding: 0.5rem 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
background-color: white;
font-size: 0.875rem;
appearance: none;
padding-right: 2rem;
height: 38px;
}

.adp_2504300652_select-arrow {
position: absolute;
right: 0.75rem;
top: 50%;
transform: translateY(-50%);
pointer-events: none;
font-size: 0.75rem;
}

.adp_2505071558_input {
flex: 1;
padding: 0.5rem 0.75rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
font-size: 0.875rem;
height: 38px;
}

button {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 0.375rem;
font-size: 0.875rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s, border-color 0.2s;
}

.adp_2504300652_btn-secondary {
background-color: #f3f4f6;
border: 1px solid #d1d5db;
color: #4b5563;
padding: 0.5rem 0.75rem;
height: 38px;
width: 75px;
}

.adp_2504300652_btn-secondary:hover {
background-color: #e5e7eb;
}

.adp_2504300652_btn-outline {
background-color: white;
border: 1px solid #d1d5db;
color: #4b5563;
padding: 0.25rem 0.5rem;
height: 2rem;
}

.adp_2504300652_btn-outline:hover {
background-color: #f9fafb;
}

/* Table styles */
.adp_2504300652_table-container {
overflow-x: auto;
}

table {
width: 100%;
border-collapse: collapse;
}

th {
padding: 0.5rem;
text-align: center;
background-color: rgba(243, 244, 246, 0.5);
font-weight: 500;
font-size: 0.875rem;
}

td {
padding: 0.5rem;
border-top: 1px solid #e5e7eb;
font-size: 0.875rem;
}

tr:hover {
background-color: rgba(243, 244, 246, 0.2);
}

.adp_2504300652_text-center {
text-align: center;
}

.adp_2504300652_text-right {
text-align: right;
width:100px;
}

.adp_2504300652_thumbnail {
display: flex;
justify-content: center;
width:60px;
}

.adp_2504300652_thumbnail img {
width: 40px;
height: 40px;
border-radius: 0.375rem;
object-fit: cover;
}

.adp_2504300652_item-title {
display: flex;
flex-direction: column;
gap: 0.25rem;
}

.adp_2504300652_category-badge {
display: inline-block;
padding: 0.125rem 0.375rem;
border: 1px solid #d1d5db;
border-radius: 9999px;
font-size: 0.75rem;
width: fit-content;
}

.adp_2504300652_whitespace-nowrap {
white-space: nowrap;
}

/* Modal styles */
.adp_2504300652_modal-backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 50;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s, visibility 0.2s;
}

.adp_2504300652_modal-backdrop.adp_2504300652_show {
opacity: 1;
visibility: visible;
}

.adp_2504300652_modal {
background-color: white;
border-radius: 0.5rem;
width: 100%;
max-width: 28rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
padding: 1.5rem;
position: relative;
}

.adp_2504300652_modal-header {
margin-bottom: 1rem;
}

.adp_2504300652_modal-title {
font-size: 1.125rem;
font-weight: 600;
text-align: center;
}

.adp_2504300652_modal-content {
display: grid;
gap: 1rem;
padding: 1rem 0;
}

.adp_2504300652_modal-message {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
text-align: center;
}

.adp_2504300652_success-message {
background-color: #dcfce7;
color: #166534;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
}

.adp_2504300652_item-name {
font-size: 1.125rem;
font-weight: 500;
}

.adp_2504300652_info-grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.5rem;
width: 100%;
font-size: 0.875rem;
}

.adp_2504300652_info-row {
display: flex;
justify-content: space-between;
}

.adp_2504300652_info-row:first-child {
border-bottom: 1px solid #e5e7eb;
padding-bottom: 0.5rem;
}

.adp_2504300652_info-label {
font-weight: 500;
}

.adp_2504300652_category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adp_2504300652_search-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (max-width: 768px) {
  .adp_2504300652_category-container {
    flex-direction: column;
  }
}

/* 페이지네이션 스타일 */
.adp_2504300701_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 5px;
}

.adp_2504300701_pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}

.adp_2504300701_pagination-button:hover {
  background-color: #f5f5f5;
}

.adp_2504300701_pagination-button.active {
  background-color: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

.adp_2504300701_pagination-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 로딩 인디케이터 스타일 */
.adp_2504300701_loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 10;
  justify-content: center;
  align-items: center;
}

.adp_2504300701_spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #4a6cf7;
  animation: adp_2504300701_spin 1s ease-in-out infinite;
}

@keyframes adp_2504300701_spin {
  to { transform: rotate(360deg); }
}

/* 마우스 오버 시 버튼 표시 스타일 */
.adp_2504300701_item-row {
  position: relative;
  transition: background-color 0.2s;
}

.adp_2504300701_item-row:hover {
  background-color: #f9f9f9;
}

.adp_2504300701_hover-buttons {
  display: none;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.adp_2504300701_item-row:hover .adp_2504300701_hover-buttons {
  display: flex;
  gap: 5px;
}

.adp_2504300701_view-btn,
.adp_2504300701_jump-btn {
  padding: 5px 10px;
  border: 1px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.adp_2504300701_view-btn:hover {
  background-color: #e9ecef;
}

.adp_2504300701_jump-btn:hover {
  background-color: #4a6cf7;
  color: white;
  border-color: #4a6cf7;
}

/* 카테고리 배지 스타일 수정 */
.adp_2504300701_category-badge {
  display: inline-block;
  margin-right: 5px;
  color: #495057;
  font-size: 12px;
  border-radius: 3px;
}

.adp_2504300701_category-badge span { border:1px solid #ddd;margin-right:3px;padding:2px 10px;border-radius:100px; }

/* 에러 메시지 스타일 */
.adp_2504300701_error-message {
  color: #e74c3c;
  font-weight: bold;
}

/* 남은 점프 수량 표시 스타일 */
.adp_2504300701_jump-count {
  float: right;
  font-size: 14px;
  color: #fff;
}

.adp_2504300701_jump-count strong {
  color: #fff100;
  font-weight: bold;
}

.adp_2504300652_btn-secondary {
  background-color: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 0.5rem 0.75rem;
  height: 38px;
  min-width: 100px;
}

/* 모달 푸터 스타일 */
.adp_2504300652_modal-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.adp_2504300652_modal-footer button {
  min-width: 100px;
  height: 38px;
}



/* 제목 열에 최대 너비 설정 */
.adp_2504300652_table-container td:nth-child(2) {
  max-width: 0; /* 이 설정이 중요합니다 - 텍스트 오버플로우가 작동하게 함 */
  width: 100%; /* 가용 공간 차지 */
}

/* 제목 컨테이너 스타일 */
.adp_2504300652_item-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0; /* 이것도 중요합니다 - 자식 요소의 텍스트 오버플로우가 작동하게 함 */
}

/* 제목 링크에 말줄임표 적용 */
.adp_2505071629_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}



.adp_2505071610_btn_sell { padding:5px 10px;border-radius:5px;background:#19387b;color:#fff; }
.adp_2505071610_btn_buy { padding:5px 10px;border-radius:5px;background:#794b11;color:#fff; }
.adp_2505071610_btn_sell:hover { background:#000; }
.adp_2505071610_btn_buy:hover { background:#000; }

@media all and (max-width:767px) {
  .adp_2504300652_search-group { flex-wrap: wrap;justify-content: space-between; }
  .adp_2505071558_input {flex:auto;width:100%;}
  .adp_2505071601_btn1,.adp_2505071601_btn2 { width:calc(50% - 5px); }
}