* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Pretendard", sans-serif;
  background-color: #272522;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none !important;
}

.header-group {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
}

.header-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-image img {
  width: 40px;
  height: 50px;
  margin-top: 10px;
  object-fit: contain;
}

.logo-text {
  font-size: 28px;
  color: #eaeaea;
  font-weight: bold;
}

.header-nav {
  display: flex;
  gap: 30px;
  font-size: 18px;
}

.header-nav a {
  font-size: 15px;
  text-decoration: none;
  color: #eaeaea;
  transition: color 0.3s, font-weight 0.3s;
}

.header-nav a:hover {
  font-weight: bold;
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #ffc800;
  position: absolute;
  right: 20px;
  top: 25px;
  margin: 10px;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-overlay.active {
  display: flex;
}

.popup-menu {
  background: rgba(51, 51, 51, 0.8);
  color: #ffc800;
  padding: 20px;
  border-radius: 8px;
  width: 200px;
  text-align: left;
}

.popup-menu a {
  display: block;
  margin: 24px 0;
  color: #eaeaea;
  text-decoration: none;
}

.popup-menu a:hover {
  font-weight: bold;
}

@media (max-width: 768px) {
  .header-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-nav {
    display: none;
  }
  .menu-icon {
    display: block;
  }
}

/* 업로드 팝업 창 스타일 */
.upload-popup {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 930px;
  max-height: calc(100vh - 80px);
  min-height: 500px;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
}

.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-top: 20px;
}

.upload-area.has-file {
  justify-content: flex-start;
  align-items: stretch;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #495057;
  margin-bottom: 10px;
}

.upload-area p {
  color: #888;
  margin: 0;
  font-size: 1.1em;
}

.upload-options-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

#file-type-select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.upload-button {
  background-color: #ffc800;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.upload-button:hover {
  background-color: #e0b300;
}

.popup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.cancel-upload-btn,
.start-upload-btn {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cancel-upload-btn {
  background-color: #e0e0e0;
  color: #333;
}

.cancel-upload-btn:hover {
  background-color: #d1d1d1;
}

.start-upload-btn {
  background-color: #ffc800;
  color: white;
}

.start-upload-btn:hover {
  background-color: #e0b300;
}

.start-upload-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* 로그인/회원가입 팝업 오버레이 기본 스타일 수정 */
.login-modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 30px;
  width: 90%;
  max-width: 400px;
}

.tab-group {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.tab-button {
  background: none;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #555;
  border-bottom: 2px solid transparent;
}

.tab-button.active {
  color: #333;
  border-bottom-color: #ffc107;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
  width: 100%;
  padding-right: 40px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #aaa;
}

.password-toggle:hover {
  color: #ffc800;
}

.password-toggle.active {
  color: #ffc800;
}

.main-action-button {
  background-color: #ffc800;
  color: #333;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  margin-top: 15px;
}

.main-action-button:hover {
  background-color: #e0a800;
}

/* ==================== 가격 팝업 스타일 ==================== */
.pricing-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  padding: 35px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.plan-price {
  font-size: 2.5em;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.plan-price span {
  font-size: 0.5em;
  font-weight: 400;
  color: #888;
}

.plan-description {
  font-size: 0.9em;
  color: #888;
  min-height: 40px;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 30px;
  margin-left: 10px;
}

.plan-features li {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.plan-features li i.fa-check {
  color: #28a745;
  margin-right: 10px;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: 2px solid #ffc800;
}

/* Basic 버튼 스타일 */
.cta-button.basic-button {
  background-color: #ffffff;
  color: #ffc800;
}

.cta-button.basic-button:hover {
  background-color: #ffc800;
  color: #ffffff;
}

/* Pro/프리미엄 등 강조하고 싶은 버튼 스타일 */
.cta-button.pro-button {
  background-color: #ffc800;
  color: #ffffff;
}

.cta-button.pro-button:hover {
  background-color: #e0b300;
  border-color: #e0b300;
}

#payment-modal-overlay {
  display: none; /* 기본 숨김 */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===========================
   결제창 전체 박스
=========================== */
.payment-modal {
  width: 430px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.22s ease-out;
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===========================
   상단 헤더
=========================== */
.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f3f5;
}

.payment-logo {
  font-size: 13px;
  font-weight: 600;
  color: #868e96;
}

#payment-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #868e96;
  cursor: pointer;
}

/* ===========================
   본문 영역 – 좌측 상점 / 우측 입력폼
=========================== */
.payment-body {
  display: flex;
  padding: 18px 14px;
  gap: 14px;
}

/* ===========================
   좌측: 상점 정보
=========================== */
.payment-shop {
  width: 120px;
  border-right: 1px solid #f1f3f5;
  padding-right: 12px;
}

.shop-name {
  font-size: 14px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 10px;
}

.shop-price {
  font-size: 12px;
  color: #495057;
  font-weight: 500;
}

/* ===========================
   우측: 카드 입력 폼
=========================== */
.payment-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 카드 타입 탭 */
.card-type-tabs {
  display: flex;
  background: #f1f3f5;
  padding: 2px;
  border-radius: 999px;
  gap: 4px;
  margin-bottom: 4px;
}

.card-type-btn {
  flex: 1;
  padding: 6px 10px;
  font-size: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  color: #495057;
}

.card-type-btn.active {
  background: #fff;
  box-shadow: 0 0 0 1px #dee2e6;
}

/* 카드번호 필드 */
.field-label {
  font-size: 11px;
  color: #868e96;
  margin-top: 4px;
}

.card-number-group {
  display: flex;
  gap: 6px;
}

.card-input {
  width: 100%;
  padding: 8px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  outline: none;
}

.card-input:focus {
  border-color: #3182f6;
  box-shadow: 0 0 0 1px rgba(49, 130, 246, 0.3);
}

/* 유효기간 */
.field-input {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  font-size: 13px;
}

.field-input:focus {
  border-color: #3182f6;
  box-shadow: 0 0 0 1px rgba(49, 130, 246, 0.3);
}

/* 약관 체크 */
.terms {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #868e96;
}

.terms input {
  width: 14px;
  height: 14px;
}

/* 다음 버튼 */
.primary-btn {
  width: 100%;
  padding: 10px 0;
  background: #3182f6;
  border: none;
  color: white;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.primary-btn:disabled {
  background: #d0d4d9;
  cursor: not-allowed;
}

/* ==================== 가이드 팝업 스타일 ==================== */
.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.7);
}

.guide-overlay.active {
  display: block;
}

/* 강조되는 요소 */
.guide-highlight {
  position: relative;
  z-index: 1200; /* 오버레이보다 위로 */
  box-shadow: 0 0 0 2px #f6c744, 0 0 16px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
}

/* 설명 툴팁 */
.guide-tooltip {
  position: fixed;
  z-index: 1300;
  background: #ffffff;
  color: #000000;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  font-size: 14px;
  line-height: 1.4;
}

.guide-info-box {
  position: fixed;
  z-index: 1300;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 360px;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

.guide-info-row {
  display: flex;
  gap: 12px;
}

/* 개별 안내 박스 공통 스타일 */
.guide-info-content {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: #222;
  font-size: 14px;
  line-height: 1.5;
  max-width: 340px;
  animation: fadeIn 0.4s ease;
}

.guide-info-content strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== 팝업 공통 스타일 ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

.close-button:hover {
  color: #333333;
}

/* ==================== 메인 콘텐츠 영역 조정 ==================== */
main {
  margin: 0 auto;
  position: relative;
  padding: 5px;
  background-color: #272522;
  min-height: calc(100vh - 110px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 1200px;
}

/* ==================== 메인 콘텐츠 섹션 (공통) ==================== */
.main-content-section {
  display: none;
  background-color: #272522;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-height: calc(100vh - 110px - 40px);
  height: auto;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  color: #333;
}

/* 활성화된 콘텐츠 섹션 */
.main-content-section.active {
  display: flex;
}

/* 콘텐츠 섹션 헤더 (프로젝트, One Convert 등에서 사용) */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background-color: #f7f7f7;
}

.content-header h3 {
  margin: 0;
  font-size: 1.3em;
  color: #333;
}

/* 콘텐츠 섹션 본문 */
.content-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-body textarea {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5s;
  font-family: "Pretendard", sans-serif;
  font-size: 1em;
  resize: vertical;
}

.content-body .convert-button {
  background-color: #ffc800;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s;
}

.content-body .convert-button:hover {
  background-color: #e0b300;
}

.content-body .result-display {
  margin-top: 20px;
  padding: 15px;
  background-color: #f0f0f0;
  border: 1px dashed #ccc;
  border-radius: 5px;
  min-height: 100px;
  overflow-x: auto;
}

.content-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background-color: #f7f7f7;
}

.content-footer button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
  transition: background-color 0.2s, border-color 0.2s;
}

.content-footer .cancel-button {
  background-color: #f0f0f0;
  color: #555;
}

.content-footer .cancel-button:hover {
  background-color: #e0e0e0;
}

.content-footer .save-button {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.content-footer .save-button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* ==================== 채팅 관련 스타일 ==================== */
#chat-content {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
}

.conversion-type-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.conversion-type-selector label {
  font-weight: bold;
  color: #eaeaea;
  white-space: nowrap;
}

.conversion-type-selector select {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #3a3733;
  font-size: 1rem;
  color: #eaeaea;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 20px;
}

.conversion-type-selector option {
  color: #eaeaea;
}

.conversion-type-selector select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.send-button .spinner {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.message-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 20px;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 1em;
}

.message-bubble.user {
  align-self: flex-end;
  background-color: #3d3a36;
  color: #eaeaea;
  border-bottom-right-radius: 5px;
}

.message-bubble.ai {
  align-self: flex-start;
  background-color: #33302d;
  color: #eaeaea;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-width: 90%;
  padding: 12px 18px;
}

.chat-input-area {
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.input-field-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 25px;
  padding: 8px 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
}

/* 피드백 컨테이너 스타일 */
.feedback-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.9em;
  color: #555;
}

.feedback-container p {
  margin: 0;
  color: #ffc800;
}

.feedback-btn {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  cursor: pointer;
  font-size: 0.8em;
  transition: background-color 0.2s;
}

.feedback-btn:hover {
  background-color: #f0f0f0;
}

.feedback-correct {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.feedback-correct:hover {
  background-color: #c3e6cb;
}

.feedback-incorrect {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.feedback-incorrect:hover {
  background-color: #f5c6cb;
}

.feedback-thanks {
  font-weight: bold;
  color: #28a745;
}

#user-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #eaeaea;
  font-size: 1em;
  resize: none;
  overflow: hidden;
  height: 24px;
  max-height: 200px;
}

#user-input::placeholder {
  color: #9aa0a6;
}

.input-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.attach-button {
  background-color: transparent;
  border: none;
  color: #555;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  transition: opacity 0.2s ease;
}

.attach-button:hover {
  opacity: 0.7;
  color: #ffc800;
}

.send-button {
  background: #ffc800;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.send-button i {
  color: #ffffff;
}

.send-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: transparent;
}

.send-button:disabled i {
  color: #9aa0a6;
  opacity: 0.5;
}

.send-button:not(:disabled) {
  background-color: #ffc800;
  opacity: 1;
  cursor: pointer;
}

.send-button:not(:disabled) i {
  color: #ffffff;
}

.spinner {
  animation: rotate 2s linear infinite;
  margin: 0 auto;
  display: block;
}

.spinner .path {
  stroke: currentColor;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* AI 응답 내부의 코드 블록 스타일 */
.code-block {
  background-color: transparent;
  color: #333;
  border-radius: 8px;
  padding: 0;
  position: relative;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.9em;
  padding-right: 40px;
}

.code-block pre {
  margin: 0;
  color: #eaeaea;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.copy-button {
  position: absolute;
  top: 0px;
  right: -5px;
  background-color: transparent;
  color: #eaeaea;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.copy-button:hover {
  color: #333;
}

/* 피드백 폼 스타일 */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.feedback-textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

.feedback-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.feedback-submit-btn,
.feedback-cancel-btn {
  padding: 8px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: bold;
}

.feedback-submit-btn {
  background-color: #ffc800;
  color: white;
  transition: background-color 0.2s ease;
}

.feedback-submit-btn:hover {
  background-color: #e0b300;
}

.feedback-cancel-btn {
  background-color: #e0e0e0;
  color: #333;
  transition: background-color 0.2s ease;
}

.feedback-cancel-btn:hover {
  background-color: #d1d1d1;
}

@media (max-width: 768px) {
  main {
    padding: 10px;
    align-items: center;
    max-width: none;
  }
  .main-content-section {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .chat-messages {
    padding: 10px;
  }
  .chat-input-area {
    padding: 5px 10px;
  }
}

/* 파일 업로드 미리보기 관련 스타일 */
.uploaded-file-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.uploaded-file-display .file-details {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uploaded-file-display .file-name {
  flex-grow: 1;
  color: #333;
  font-weight: bold;
}

.uploaded-file-display .file-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.uploaded-file-display .file-actions {
  display: flex;
  gap: 10px;
}

.uploaded-file-display .action-icon {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1.2em;
  transition: color 0.2s;
  padding: 5px;
}

.uploaded-file-display .action-icon:hover {
  color: #333;
}

/* 구글 소셜 로그인 버튼 디자인 */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color 0.218s, border-color 0.218s,
    box-shadow 0.218s;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* --- 소셜 로그인 버튼 공통 스타일 --- */
.gsi-material-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin-top: 10px;
  box-sizing: border-box;
}

/* 푸터 */
.site-footer {
  border-top: 1px solid #2c2c2e;
  background: #000;
  color: #a0a0a0;
  padding: 24px 16px 32px;
  font-size: 12px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company span,
.footer-meta span {
  display: block;
}

.footer-logo {
  font-weight: 600;
  color: #ffc800; /* BeeBee 노랑 포인트 색으로 변경 가능 */
  margin-bottom: 4px;
}

.footer-copy {
  max-width: 1080px;
  margin: 12px auto 0;
  font-size: 11px;
  color: #707070;
}

/* 데스크톱에서 좌/우 배치 */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* 정책 페이지 공통 스타일 */
.policy-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.policy-hero h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: #ffc800;
}

.policy-hero p {
  color: #ffffff;
}

/* 본문 컨테이너 */
.policy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #ffffff;
  line-height: 1.7;
}

/* 섹션 블록 */
.policy-section {
  margin-bottom: 60px;
}

.policy-section h2 {
  margin-top: 30px;
  margin-bottom: 16px;
  font-size: 22px;
  color: #ffc800;
}

.policy-section h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 16px;
}

/* 리스트 */
.policy-section ul {
  padding-left: 20px;
}

.policy-section li {
  margin-bottom: 4px;
}

/* 링크 스타일 */
.policy-section a {
  color: #ffd84d;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.policy-section a:hover {
  color: #ffe694;
  text-decoration-color: #ffe694;
}
