@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html,
body {
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  font-family: "Inter", sans-serif;
  text-decoration-line: none;
  color: #000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  /* background: linear-gradient(to right, #dbeafe, #3b82f6); */
  background-color: #f2f4ff;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero_ button {
  width: 150px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.hero_ button:hover {
  background-color: #2563eb;
  /* hover 시 더 진한 파랑 */
}

.quote-section {
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.quote-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.quote-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.quote-image {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 15px;
}

.quote-info {
  flex: 1;
}

.quote-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.quote-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.quote-labels .label {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  margin-right: 5px;
  color: #fff;
}

.label.blue {
  background-color: #1e90ff;
}

.label.orange {
  background-color: #ff7e5f;
}

.quote-timer {
  font-size: 14px;
  margin-top: 5px;
}

.quote-timer.red {
  color: #ff4d4f;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto 20px;
  max-width: 600px;
  padding: 0 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  padding: 15px 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.stat-colored {
  background-color: #f2f4ff;
  color: #4f46e5;
}

.stat-icon {
  font-size: 20px;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 13px;
  color: #666;
}

.stat-value {
  font-weight: bold;
  font-size: 18px;
  margin-top: 3px;
}

.mypage-guest {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Noto Sans KR', sans-serif;
}

.login-prompt {
  text-align: center;
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.login-prompt h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.login-prompt p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.login-btn {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.mypage-section {
  margin-bottom: 30px;
}

.mypage-section h3 {
  font-size: 14px;
  color: #111;
  margin-bottom: 10px;
}

.mypage-section ul {
  list-style: none;
  padding: 0;
}

.mypage-section li {
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.mypage-section li:last-child {
  border-bottom: none;
}

.icon {
  font-size: 18px;
  margin-right: 10px;
  color: #888;
}

.auth-page {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Noto Sans KR', sans-serif;
  text-align: center;
}

.logo-area h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 5px;
}

.subtitle {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  background-color: #1f2937;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 20px;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn {
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
}

.btn.kakao {
  background-color: #fee500;
  color: #191600;
}

.btn.naver {
  background-color: #03c75a;
  color: white;
}

.btn.apple {
  background-color: #000;
  color: white;
}

.btn.email {
  border: 1px solid #3b82f6;
  background-color: white;
  color: #3b82f6;
}

.divider {
  margin: 20px 0;
  color: #999;
  font-size: 14px;
}

.btn.partner {
  background-color: #3b82f6;
  color: white;
}

.links {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 13px;
  margin-top: 20px;
}

.links a {
  color: #888;
  text-decoration: none;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* 아이콘과 텍스트 간 간격 */
}

/* body 기본값으로 복구 */
body {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  margin: 0;
  background-color: #fff;
}

/* 로그인 전체를 감싸는 영역 */
.login-wrapper {
  max-width: 360px;
  margin: 100px auto;
  /* 상단 여백을 줘서 header 아래로 */
  padding: 0 20px;
  text-align: center;
}

.login-logo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: "Inter", sans-serif;
}

.input-box {
  margin-bottom: 15px;
}

.input-box input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.login-button {
  width: 100%;
  padding: 14px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 10px;
}

.login-button:hover {
  background-color: #000;
}

.login-links {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  margin-top: 24px;
}

.login-links a {
  text-decoration: none;
  color: #333;
}

.login-links a:hover {
  text-decoration: underline;
}

/* === 로그인 인증 페이지 전용 스타일 추가 (기존 스타일 영향 없음) === */

.login-wrapper {
  max-width: 360px;
  margin: 100px auto;
  /* 헤더와 간격 */
  padding: 0 20px;
  text-align: center;
}

.login-wrapper .logo {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  font-family: "Inter", sans-serif;
}

.input-box {
  margin-bottom: 15px;
}

.input-box input {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 16px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

/* 버튼 상태 */
.btn-disabled {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
}

.btn-active {
  background-color: #111;
  color: white;
}

/* 인증번호 입력창 숨김 처리 */
.hidden {
  display: none;
}

.user-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #ddd;
}

.user-name {
  font-weight: bold;
  font-size: 1.4rem;
  color: #222;
}

.user-info-btn {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  /* ✅ 버튼을 인라인 블록으로 */
  width: auto;
  /* ✅ 너비 자동 조절 */
  max-width: 100%;
  /* 너무 긴 경우 대비 */
}

.setting-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.setting-header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 12px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
}

.setting-label {
  color: #888;
}

.setting-account {
  display: flex;
  align-items: center;
  gap: 6px;
}

.setting-account img {
  width: 18px;
  height: 18px;
}

.setting-arrow {
  font-size: 16px;
  color: #aaa;
}

.setting-danger {
  text-align: center;
  margin-top: 40px;
}

.setting-danger a {
  color: #ff4d4f;
  font-weight: bold;
  text-decoration: none;
}

.setting-wrapper {
  max-width: 480px;
  margin: 50px auto;
  padding: 20px;
}

.setting-header {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
}

.setting-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  margin-bottom: 6px;
}

.input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #f9f9f9;
  transition: border-color 0.3s;
  resize: none;
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #111;
  background-color: #fff;
}

.tag-button {
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background-color: #f3f3f3;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.tag-button.active {
  background-color: #000;
  color: #fff;
}

.submit-button {
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #333;
}

/* 이미지 미리보기 영역 */
.preview-container {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.preview-container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* 체크박스 영역 */
.setting-row input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.1);
  accent-color: #111;
  /* 크롬 기준 체크 색상 */
}

/* 업로드 커스텀 버튼 */
.upload-label {
  display: inline-block;
  padding: 12px 18px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 8px;
}

.upload-guide {
  margin-top: 10px;
  font-size: 13px;
  color: #888;
}

/* TIP 버튼 */
.tip-button {
  background-color: #f2f2f2;
  color: red;
  font-weight: bold;
  font-size: 15px;
  padding: 14px 20px;
  margin-top: 12px;
  border: none;
  border-radius: 20px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

/* 미리보기 컨테이너 */
.preview-container {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.preview-container img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.dropdown {
  position: relative;
  width: 100%;
  font-family: 'Noto Sans KR', sans-serif;
}

.dropdown-selected {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 15px;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-top: 6px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.dropdown-option {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 15px;
}

.dropdown-option:hover {
  background-color: #f0f0f0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;

  /* 핵심 부분 */
  display: none;
  justify-content: center;
  align-items: center;
}

/* 모달 보이게 하는 클래스 */
.modal-overlay.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 95%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.25s ease-out;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
}

/* 이미지 그리드 */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.photo-item {
  text-align: center;
}

.photo-item img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.photo-item p {
  margin-top: 6px;
  font-size: 13px;
  color: #333;
}

/* 팁 리스트 */
.tip-list {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding-left: 16px;
}

.tip-list li {
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


.estimate-wrapper {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.status-tabs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.status-tab {
  flex: 1;
  background-color: #f2f2f2;
  border-radius: 16px;
  padding: 12px 8px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
  color: #333;
}

.status-tab span {
  font-size: 13px;
  display: block;
  margin-top: 2px;
  color: #666;
}

.status-tab.active {
  background-color: #d1d5db;
  /* gray-300 */
}

.empty-quote {
  margin-top: 100px;
  text-align: center;
  color: #aaa;
  font-size: 16px;
}

.status-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.status-tab {
  padding: 8px 18px;
  border-radius: 24px;
  background-color: #f0f0f0;
  font-weight: 500;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  text-align: center;
}

.status-tab.active {
  background-color: #222;
  color: #fff;
}

.estimate-card {
  display: flex;
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  align-items: center;
  gap: 20px;
}

.item-image {
  width: 160px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.item-info {
  flex-grow: 1;
  font-size: 14px;
  color: #333;
}

.item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content2 {
  background: white;
  padding: 20px;
  border-radius: 6px;
  width: 300px;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

/* ✅ 파트너 생성 전용 모달 스타일 */
.modal-partner {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-partner.show {
  display: flex;
}

.modal-partner-content {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  position: relative;
}

.modal-partner-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  font-weight: bold;
}

.modal-partner h3 {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

.modal-partner input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #f9f9f9;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.modal-partner input:focus {
  border-color: #111;
  background-color: #fff;
  outline: none;
}

.modal-partner button {
  width: 100%;
  padding: 14px 0;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-partner button:hover {
  background-color: #333;
}

#modalImages {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* ⬅️ 가운데 정렬 */
  gap: 10px;
}

#modalImages img {
  max-width: 100%;
  border-radius: 6px;
}

.site-footer {
  background-color: #f2f4ff;
  color: #555;
  padding: 40px 20px;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-nav {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #666;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Noto+Sans+KR:wght@400;700&display=swap');

.signup-page {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  background-color: #f9f9f9;
  height: 100vh;
  /* ✅ min-height 대신 height을 고정 */
  margin: 0;
  /* ✅ 혹시 body margin 영향 제거 */
  padding: 0;
  /* ✅ 내부 패딩 제거 */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}


.signup-wrapper {
  background-color: #fff;
  padding: 40px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  width: 100%;
}

.signup-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #111;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-field {
  display: flex;
  flex-direction: column;
}

.signup-field label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.signup-field input {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  background-color: #f9f9f9;
  transition: border-color 0.2s;
}

.signup-field input:focus {
  outline: none;
  border-color: #111;
  background-color: #fff;
}

.signup-button {
  padding: 14px;
  background-color: #111;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.signup-button:hover {
  background-color: #000;
}

.policy-dropdown {
  list-style: none;
  padding-left: 25px;
  font-size: 14px;
  color: #444;
}

.policy-dropdown.hidden {
  display: none;
}

.policy-dropdown li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.file-upload-btn {
  background-color: #4a4a4a;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px;
  transition: background-color 0.2s ease;
}

.file-upload-btn:hover {
  background-color: #333;
}

.file-name {
  font-size: 0.9em;
  color: #555;
  margin-top: 5px;
}

/* 모바일 (화면 너비 480px 이하)일 때 300px로 설정 */
@media (max-width: 480px) {
    #confirmModal {
        width: 300px !important;
    }
}

/* ===== BIDS PAGE ONLY (scoped by .bids) ===== */
.bids {
  --bd:#eee; --bd2:#ddd; --txt:#222; --muted:#666; --bg:#fff; --chip:#f3f4f6;
  --ok:#d1fae5; --warn:#fff3cd; --err:#fde2e2; --info:#e7f1ff; --gray:#e8e8e8;
}

.bids * { box-sizing: border-box; }

/* 전역 body 대신 스코프 내부에만 적용 */
.bids .bids-page {
  margin:0; padding:24px;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  color: var(--txt);
  background: var(--bg);
}

/* 기존 .wrap 을 그대로 써도 .bids 하위에서만 적용됨 */
.bids .wrap { max-width:1200px; margin:0 auto; }

/* 전역 h1 대신 */
.bids h1 { font-size:20px; margin:0 0 8px; }
.bids p.lead { color:var(--muted); margin:0 0 20px; }

.bids .filter {
  display:grid; grid-template-columns: repeat(6, minmax(120px,1fr));
  gap:10px; align-items:end; margin-bottom:20px;
}
.bids .filter label { display:block; font-size:12px; color:#666; margin-bottom:6px; }
.bids .filter select,
.bids .filter input[type="text"],
.bids .filter input[type="number"] {
  width:100%; padding:8px; border:1px solid var(--bd2); border-radius:8px; background:#fff;
}

.bids .btn-primary {
  width:100%; padding:10px 14px; border:1px solid #111; border-radius:10px;
  background:#111; color:#fff; cursor:pointer;
}

.bids .card { border:1px solid var(--bd); border-radius:12px; overflow:hidden; background:#fff; }
.bids .card__hd { display:flex; gap:12px; align-items:center; padding:14px; }
.bids .thumb { width:68px; height:68px; object-fit:cover; border-radius:10px; border:1px solid var(--bd); }
.bids .meta { flex:1; min-width:0; }
.bids .title { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.bids .title b { font-size:16px; }
.bids .chip { display:inline-block; font-size:12px; padding:3px 8px; border-radius:999px; background:var(--chip); }
.bids .sub { color:#666; font-size:12px; margin-top:4px; white-space:normal; }
.bids .sub span + span::before { content:" · "; color:#bbb; }

.bids .table-wrap { overflow-x:auto; border-top:1px solid #f2f2f2; }
/* 전역 table 스타일 오염 방지 */
.bids table { width:100%; border-collapse:collapse; min-width:800px; }
.bids thead tr { background:#fafafa; }
.bids th, .bids td { padding:10px; text-align:left; border-top:1px solid var(--bd); }
.bids td.num { text-align:right; font-variant-numeric: tabular-nums; }
.bids td.center { text-align:center; }
.bids .partner { display:flex; gap:8px; align-items:center; }
.bids .avatar { width:32px; height:32px; border-radius:50%; object-fit:cover; border:1px solid var(--bd); }

/* 상태 배경도 스코프 */
.bids .badge { padding:4px 8px; border-radius:999px; display:inline-block; }
.bids .is-estimating { background: var(--info); }
.bids .is-selling    { background: var(--warn); }
.bids .is-ended      { background: var(--err); }
.bids .is-done       { background: var(--ok); }
.bids .is-gray       { background: var(--gray); }

.bids .empty {
  padding:24px; border:1px solid var(--bd); border-radius:12px; text-align:center; color:#777; background:#fff;
}

@media (max-width: 760px) {
  .bids .filter { grid-template-columns: 1fr 1fr; }
  .bids .filter .wide { grid-column: span 2; }
}
/* ===== END BIDS PAGE ===== */
