@charset "utf-8";

/* ======================================
   DARK MODE FOUC PREVENTION
   ====================================== */

/* 다크모드 FOUC 방지 */
html.dark-mode {
  background-color: #0f0f0f !important;
}

html.dark-mode body {
  background-color: #0f0f0f !important;
  color: #e5e5e5 !important;
}

/* 다크모드 전환 시 부드러운 애니메이션 */
html {
  transition: background-color 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 다크모드 클래스가 적용되기 전까지 기본 스타일 숨김 */
html:not(.dark-mode) body.dark-mode,
html.dark-mode body:not(.dark-mode) {
  opacity: 0;
  transition: opacity 0.1s ease;
}

html body {
  opacity: 1;
  transition: opacity 0.1s ease;
}

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard-dynamic-subset.css");

@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);

/* Custom styles for a refined light theme */
body {
  font-family: "Inter", sans-serif;
  background-color: #f8fafc; /* Light background, slate-50 */
  color: #1e293b; /* Dark text for contrast, slate-800 */
}
/* Custom scrollbar for a cleaner look (optional, but cool) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e2e8f0; /* slate-200 */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8; /* slate-400 */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b; /* slate-500 */
}

*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}
::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
} /* ! tailwindcss v3.4.16 | MIT License | https://tailwindcss.com */
*,
::after,
::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
::after,
::before {
  --tw-content: "";
}
:host,
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button,
select {
  text-transform: none;
}
button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
[role="button"],
button {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}
img,
video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 1rem;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.h-56 {
  height: 14rem;
}
.min-h-screen {
  min-height: 100vh;
}
.w-full {
  width: 100%;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.flex-grow {
  flex-grow: 1;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.cursor-pointer {
  cursor: pointer;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-8 {
  gap: 2rem;
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.overflow-hidden {
  overflow: hidden;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-indigo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}
.bg-indigo-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(99 102 241 / var(--tw-bg-opacity, 1));
}
.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}
.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}
.object-cover {
  object-fit: cover;
}
.p-3 {
  padding: 0.75rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.text-center {
  text-align: center;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.text-blue-800 {
  --tw-text-opacity: 1;
  color: rgb(30 64 175 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.text-indigo-800 {
  --tw-text-opacity: 1;
  color: rgb(55 48 163 / var(--tw-text-opacity, 1));
}
.text-orange-800 {
  --tw-text-opacity: 1;
  color: rgb(154 52 18 / var(--tw-text-opacity, 1));
}
.text-purple-800 {
  --tw-text-opacity: 1;
  color: rgb(107 33 168 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),
    0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke,
    -webkit-text-decoration-color;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:bg-indigo-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.hover\:bg-indigo-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / var(--tw-bg-opacity, 1));
}
.hover\:text-indigo-700:hover {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}
.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.focus\:border-transparent:focus {
  border-color: transparent;
}
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.focus\:ring-indigo-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity, 1));
}
.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}
.group:hover .group-hover\:text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:opacity-90 {
  opacity: 0.9;
}
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .xl\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 누락된 필수 클래스들 추가 */
.sticky {
  position: sticky;
}
.top-0 {
  top: 0px;
}
.top-24 {
  top: 6rem;
}
.top-3 {
  top: 0.75rem;
}
.left-3 {
  left: 0.75rem;
}
.right-3 {
  right: 0.75rem;
}
.z-50 {
  z-index: 50;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-y-0 {
  top: 0px;
  bottom: 0px;
}
.left-0 {
  left: 0px;
}
.pointer-events-none {
  pointer-events: none;
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.space-x-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.25rem * var(--tw-space-x-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-1 {
  flex: 1 1 0%;
}
.border-t {
  border-top-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-dashed {
  border-style: dashed;
}
.border-transparent {
  border-color: transparent;
}
.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-indigo-600 {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
}
.border-indigo-300 {
  --tw-border-opacity: 1;
  border-color: rgb(165 180 252 / var(--tw-border-opacity, 1));
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-indigo-600 {
  --tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-purple-600 {
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
}
.from-indigo-700 {
  --tw-gradient-from: #4338ca var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(67 56 202 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-purple-700 {
  --tw-gradient-to: #7c3aed var(--tw-gradient-to-position);
}
.cursor-default {
  cursor: default;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-4 {
  width: 1rem;
}
.w-16 {
  width: 4rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-16 {
  height: 4rem;
}
.h-48 {
  height: 12rem;
}
.w-80 {
  width: 20rem;
}
.min-w-0 {
  min-width: 0px;
}
.pl-12 {
  padding-left: 3rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pl-4 {
  padding-left: 1rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-8 {
  padding: 2rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.text-indigo-200 {
  --tw-text-opacity: 1;
  color: rgb(199 210 254 / var(--tw-text-opacity, 1));
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hover\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.hover\:bg-gray-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.hover\:from-indigo-700:hover {
  --tw-gradient-from: #4338ca var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(67 56 202 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.hover\:to-purple-700:hover {
  --tw-gradient-to: #7c3aed var(--tw-gradient-to-position);
}
.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:text-indigo-200:hover {
  --tw-text-opacity: 1;
  color: rgb(199 210 254 / var(--tw-text-opacity, 1));
}
.hover\:border-indigo-600:hover {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
}
.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-indigo-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1));
}
.focus\:border-indigo-300:focus {
  --tw-border-opacity: 1;
  border-color: rgb(165 180 252 / var(--tw-border-opacity, 1));
}
.focus\:ring:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-indigo-200:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity, 1));
}
.focus\:ring-opacity-50:focus {
  --tw-ring-opacity: 0.5;
}
.rounded {
  border-radius: 0.25rem;
}
.group-hover\:opacity-95:hover {
  opacity: 0.95;
}


/* ======================================
   HOTDEAL LAYOUT STYLES
   ====================================== */

/* 검색 영역 스타일 */
.desktop-search {
  display: none;
  flex: 1;
  max-width: 24rem;
  margin: 0 1rem;
}

.mobile-search {
  display: none;
  margin-top: 1rem;
}

.mobile-search.show {
  display: block;
}

.search-form {
  width: 100%;
}

.search-input-container {
  position: relative;
}

.search-input {
  width: 100%;
  font-size: 0.875rem;
  border: 1px solid #d1d5db;
  outline: none;
  transition: all 0.2s;
}

.desktop-search-input {
  padding: 0.625rem 3rem 0.625rem 1rem;
  border-radius: 9999px;
  background-color: #f9fafb;
}

.mobile-search-input {
  padding: 0.75rem 3rem 0.75rem 1rem;
  border-radius: 0.5rem;
}

.search-input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #4f46e5;
  color: white;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.desktop-search-button {
  right: 0.25rem;
  border-radius: 9999px;
}

.mobile-search-button {
  right: 0.5rem;
  border-radius: 0.5rem;
}

.search-button:hover {
  background-color: #4338ca;
}

.search-icon {
  width: 1rem;
  height: 1rem;
}

/* 메인 레이아웃 */
#contents {
  background-color: #f9fafb;
  min-height: calc(100vh - 200px);
  overflow-x: hidden; /* 좌우 스크롤 방지 */
}

.container-wrapper {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

#main-content {
  min-width: 0; /* 그리드 오버플로우 방지 */
  width: 100%;
}

#sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

/* 사이드바 스타일 */
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

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

.ad-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.ad-placeholder {
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  border: 2px dashed #d1d5db;
}

.ad-300x250 {
  padding: 2rem;
  min-height: 250px;
}

.ad-300x600 {
  padding: 4rem 2rem;
  min-height: 600px;
}

.ad-placeholder-content {
  color: #9ca3af;
  text-align: center;
}

.ad-icon {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.ad-title {
  font-size: 0.875rem;
  margin: 0;
}

.ad-size {
  font-size: 0.75rem;
  margin: 0;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.widget-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.widget-content {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

.stat-item {
  margin-bottom: 0.5rem;
}

.stat-item-last {
  margin-bottom: 0;
}

/* 애드센스 스타일 */
.adsbygoogle {
  display: block;
}

/* 데스크톱 검색바 표시 */
@media (min-width: 768px) {
  #desktop-search {
      display: flex !important;
  }
}

/* 태블릿 및 작은 데스크톱 */
@media (max-width: 1024px) {
  .container-wrapper {
      max-width: 100%;
      padding: 1.5rem 1rem;
  }
  
  .main-grid {
      display: block; /* 태블릿에서 그리드 비활성화 */
      grid-template-columns: 1fr;
      gap: 1.5rem;
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
  }
  
  #sidebar {
      order: -1; /* 모바일에서 사이드바를 위로 */
      position: static;
      margin-bottom: 2rem;
  }
  
  .sidebar-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
  }
}

/* 모바일 */
@media (max-width: 768px) {
  .container-wrapper {
      padding: 1rem 0.75rem;
      max-width: 100%;
  }
  
  .main-grid {
      display: block; /* 모바일에서 그리드 비활성화 */
      grid-template-columns: 1fr;
      gap: 1rem;
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
  }
  
  #main-content {
      width: 100%;
      box-sizing: border-box;
      overflow-x: hidden;
  }
  
  #sidebar {
      order: -1;
      position: static;
      margin-bottom: 1rem;
  }
  
  .sidebar-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
  }
  
  /* 메인 콘텐츠 내부 요소들 모바일 최적화 */
  #main-content [style*="grid-template-columns"] {
      grid-template-columns: 1fr !important;
      gap: 1rem !important;
  }
  
  #main-content [style*="display: grid"] {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  }
  
  /* 필터 영역 모바일 최적화 */
  #main-content form[style*="grid-template-columns"] {
      grid-template-columns: 1fr !important;
      gap: 1rem !important;
  }
  
  /* 상품 카드 모바일 최적화 */
  #main-content [style*="grid-template-columns: repeat(auto-fill"] {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
      gap: 1rem !important;
  }
  
  /* 상품 이미지 컨테이너 모바일 최적화 */
  #main-content [style*="height: 200px"] {
      height: 180px !important; /* 모바일에서 약간 더 작게 */
  }
  
  /* 광고 영역 모바일 최적화 */
  .ad-300x600 {
      padding: 2rem 1rem;
      min-height: 300px;
  }
  
  .sidebar-widget {
      padding: 1rem;
  }
}

/* 작은 모바일 - 첫 번째 미디어 쿼리 제거하고 두 번째와 통합 */

/* 첫 번째 320px 미디어 쿼리 제거 - 두 번째와 통합 */

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:hidden {
    display: none;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .lg\:w-80 {
    width: 20rem;
  }
  .lg\:flex-row {
    flex-direction: row;
  }
}

/* ======================================
   INDEX PAGE STYLES - HOTDEAL PRODUCTS
   ====================================== */

/* 필터 섹션 */
.filter-section {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.filter-select,
.filter-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.shipping-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.shipping-checkbox input[type="checkbox"] {
    margin: 0;
}

.filter-apply-btn {
    background-color: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}

.filter-apply-btn:hover {
    background-color: #4338ca;
}

/* 상품 정보 섹션 */
.product-info-section {
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.product-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-info-text {
    color: #6b7280;
    margin: 0;
}

.product-count {
    color: #4f46e5;
}

/* 상품 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0; /* 추가 패딩 제거 */
}

/* 상품 카드 */
.product-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 상품 이미지 */
.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* 상품 배지 */
.product-badge-left {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.product-badge-right {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

.shipping-badge {
    background-color: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.hotdeal-badge {
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

/* 상품 콘텐츠 */
.product-content {
    padding: 1.25rem;
}

.product-tags {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.channel-tag {
    background-color: #e0e7ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.seller-tag {
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4rem;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.price-container {
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4f46e5;
    margin: 0;
}

.rating-container {
    display: flex;
    align-items: center;
    color: #eab308;
    font-size: 0.875rem;
}

.rating-star {
    margin-right: 0.25rem;
}

.rating-score {
    font-weight: 500;
}

.product-button {
    width: 100%;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    font-size: 0.875rem;
}

.product-button:hover {
    background: linear-gradient(to right, #4338ca, #7c2d92);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.15);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .filter-form {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .filter-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-apply-btn {
        width: 100%;
        padding: 0.75rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
        height: 2.4rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container-wrapper {
        padding: 1rem;
    }
    
    .main-grid {
        display: block; /* 작은 모바일에서 그리드 비활성화 */
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    #main-content {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .filter-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .filter-title {
        font-size: 1.125rem;
    }
    
    .product-info-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .product-info-title {
        font-size: 1.25rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .product-content {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 0.875rem;
        height: 2.1rem;
    }
    
    .product-price {
        font-size: 1.125rem;
    }
    
    .product-button {
        padding: 0.625rem;
        font-size: 0.75rem;
    }
    
    .channel-tag,
    .seller-tag {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }
    
    .shipping-badge,
    .hotdeal-badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }
}

/* 매우 작은 화면 (320px 이하) */
@media (max-width: 320px) {
    .container-wrapper {
        padding: 0.75rem;
    }
    
    .main-grid {
        display: block; /* 매우 작은 화면에서 그리드 비활성화 */
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    #main-content {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .filter-section,
    .product-info-section {
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
        gap: 0.75rem;
    }
    
    .product-content {
        padding: 0.5rem;
    }
    
    .product-title {
        font-size: 0.75rem;
        height: 1.8rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

/* ======================================
   DARK MODE STYLES
   ====================================== */

/* 다크모드 토글 버튼 */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark-mode-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    transition: all 0.3s;
}

.mobile-dark-mode-toggle .dark-mode-icon {
    width: 1.125rem;
    height: 1.125rem;
}

/* 라이트모드에서 달 아이콘 숨김 */
.dark-mode-toggle .moon-icon {
    display: none;
}

/* 다크모드에서 태양 아이콘 숨김 */
body.dark-mode .dark-mode-toggle .sun-icon {
    display: none;
}

body.dark-mode .dark-mode-toggle .moon-icon {
    display: block;
}

/* 다크모드 기본 스타일 */
body.dark-mode {
    background-color: #0f0f0f !important;
    color: #e5e5e5;
}

/* 다크모드 전체 배경 */
body.dark-mode,
body.dark-mode html {
    background-color: #0f0f0f !important;
}

/* 다크모드 헤더 */
body.dark-mode header {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid #404040;
}

body.dark-mode .bg-white {
    background-color: #1a1a1a !important;
}

/* 다크모드 메인 콘텐츠 영역 */
body.dark-mode #contents {
    background-color: #0f0f0f !important;
}

body.dark-mode .container-wrapper {
    background-color: #0f0f0f !important;
}

body.dark-mode .bg-gray-50 {
    background-color: #333333 !important;
}

body.dark-mode .bg-gray-100 {
    background-color: #404040 !important;
}

/* 다크모드 텍스트 */
body.dark-mode .text-gray-700 {
    color: #e5e5e5 !important;
}

body.dark-mode .text-gray-800 {
    color: #f3f4f6 !important;
}

body.dark-mode .text-gray-900 {
    color: #ffffff !important;
}

body.dark-mode .text-gray-600 {
    color: #d1d5db !important;
}

body.dark-mode .text-gray-500 {
    color: #9ca3af !important;
}

/* 다크모드 모든 텍스트 기본 색상 */
body.dark-mode p,
body.dark-mode span,
body.dark-mode div,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #e5e5e5 !important;
}

/* 다크모드 카드 및 위젯 */
body.dark-mode .today-product-widget,
body.dark-mode .sidebar-widget,
body.dark-mode .product-card,
body.dark-mode .filter-section,
body.dark-mode .product-info-section {
    background-color: #1a1a1a !important;
    border: 1px solid #404040;
}

/* 다크모드 호버 효과 */
body.dark-mode .product-card:hover {
    background-color: #2d2d2d !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-mode .today-product-item:hover {
    background-color: #2d2d2d !important;
}

/* 다크모드 입력 필드 */
body.dark-mode .search-input,
body.dark-mode .filter-select,
body.dark-mode .filter-input {
    background-color: #333333 !important;
    border-color: #404040 !important;
    color: #e5e5e5 !important;
}

/* 다크모드 필터 라벨 */
body.dark-mode .filter-label {
    color: #d1d5db !important;
}

/* 다크모드 체크박스 라벨 */
body.dark-mode .shipping-checkbox {
    color: #d1d5db !important;
}

/* 다크모드 평점 */
body.dark-mode .rating-score {
    color: #fbbf24 !important;
}

body.dark-mode .search-input:focus,
body.dark-mode .filter-select:focus,
body.dark-mode .filter-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

body.dark-mode .search-input::placeholder {
    color: #9ca3af !important;
}

/* 다크모드 버튼 */
body.dark-mode .search-button,
body.dark-mode .filter-apply-btn,
body.dark-mode .product-button {
    background-color: #6366f1 !important;
    color: white !important;
}

body.dark-mode .search-button:hover,
body.dark-mode .filter-apply-btn:hover,
body.dark-mode .product-button:hover {
    background-color: #5855eb !important;
}

/* 다크모드 배지 */
body.dark-mode .shipping-badge {
    background-color: #059669 !important;
    color: white !important;
}

body.dark-mode .hotdeal-badge {
    background-color: #dc2626 !important;
    color: white !important;
}

body.dark-mode .channel-tag,
body.dark-mode .seller-tag {
    background-color: #404040 !important;
    color: #e5e5e5 !important;
}

/* 다크모드 가격 */
body.dark-mode .product-price,
body.dark-mode .today-product-price {
    color: #6366f1 !important;
}

/* 다크모드 제목과 라벨 */
body.dark-mode .filter-title,
body.dark-mode .product-info-title,
body.dark-mode .widget-title,
body.dark-mode .today-product-title {
    color: #ffffff !important;
}

/* 다크모드 상품 제목 */
body.dark-mode .product-title {
    color: #f3f4f6 !important;
}

/* 다크모드 상품 정보 텍스트 */
body.dark-mode .product-info-text {
    color: #d1d5db !important;
}

/* 다크모드 상품 개수 */
body.dark-mode .product-count {
    color: #6366f1 !important;
}

/* 다크모드 스크롤바 */
body.dark-mode ::-webkit-scrollbar {
    width: 8px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #2d2d2d;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background: #525252;
}

/* 다크모드 네비게이션 */
body.dark-mode nav {
    background-color: #1a1a1a !important;
    border-color: #404040 !important;
}

body.dark-mode nav a {
    color: #d1d5db !important;
}

body.dark-mode nav a:hover {
    color: #6366f1 !important;
}

/* 다크모드 사이드바 */
body.dark-mode #sidebar {
    background-color: #1a1a1a !important;
}

body.dark-mode .sidebar-content {
    background-color: transparent !important;
}

/* 다크모드 애드센스 플레이스홀더 */
body.dark-mode .ad-placeholder {
    background-color: #1a1a1a !important;
    border: 1px solid #404040 !important;
}

body.dark-mode .ad-placeholder-content {
    color: #9ca3af !important;
}

/* 다크모드 체크박스 */
body.dark-mode input[type="checkbox"] {
    accent-color: #6366f1;
}

/* 다크모드 footer */
body.dark-mode footer {
    background-color: #1a1a1a !important;
    color: #e5e5e5 !important;
}

body.dark-mode footer a {
    color: #9ca3af !important;
}

body.dark-mode footer a:hover {
    color: #e5e5e5 !important;
}

/* 다크모드 포커스 효과 */
body.dark-mode *:focus {
    outline-color: #6366f1 !important;
}

/* 다크모드 트랜지션 */
body.dark-mode * {
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

/* 다크모드 반응형 개선 */
@media (max-width: 768px) {
    body.dark-mode .dark-mode-toggle {
        padding: 0.375rem;
    }
    
    body.dark-mode .mobile-dark-mode-toggle .dark-mode-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* ======================================
   PAGINATION STYLES
   ====================================== */

/* 페이징 컨테이너 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* 페이징 네비게이션 */
.pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* 페이징 버튼 기본 스타일 */
.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

/* 페이징 버튼 호버 효과 */
.pagination-btn:hover {
    background-color: #f3f4f6;
    color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* 페이징 페이지 버튼 호버 효과 */
.pagination-page:hover {
    color: #4f46e5;
    border-color: #a5b4fc;
}

/* 현재 페이지 */
.pagination-current {
    font-weight: 600;
    color: white !important;
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
    cursor: default;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination-current:hover {
    background-color: #4f46e5 !important;
    color: white !important;
    border-color: #4f46e5 !important;
}

/* 다크모드 페이징 */
body.dark-mode .pagination-btn {
    background-color: #1a1a1a !important;
    border-color: #404040 !important;
    color: #d1d5db !important;
}

body.dark-mode .pagination-btn:hover {
    background-color: #2d2d2d !important;
    color: #e5e5e5 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

body.dark-mode .pagination-page:hover {
    color: #6366f1 !important;
    border-color: #6366f1 !important;
}

body.dark-mode .pagination-current {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    color: white !important;
}

body.dark-mode .pagination-current:hover {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    color: white !important;
}

/* 페이징 반응형 */
@media (max-width: 768px) {
    .pagination-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .pagination-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }
    
    .pagination-nav {
        gap: 0.125rem;
    }
}

@media (max-width: 320px) {
    .pagination-btn {
        width: 1.875rem;
        height: 1.875rem;
        font-size: 0.6875rem;
    }
}

body.dark-mode nav a:hover {
  color: #dbeafe !important;
}

/* 다크모드 모바일 메뉴 */
body.dark-mode #mobile-menu {
  background-color: #1a1a1a !important;
  border-top: 1px solid #404040 !important;
}

body.dark-mode #mobile-menu .border-b {
  border-color: #404040 !important;
}

body.dark-mode #mobile-menu a {
  color: #e5e5e5 !important;
}

body.dark-mode #mobile-menu a:hover {
  background-color: #333333 !important;
  color: #ffffff !important;
}

body.dark-mode #mobile-menu .text-indigo-600 {
  color: #93c5fd !important;
}

body.dark-mode #mobile-menu .text-indigo-600:hover {
  color: #dbeafe !important;
}

body.dark-mode #mobile-menu .text-red-600 {
  color: #fca5a5 !important;
}

body.dark-mode #mobile-menu .text-red-600:hover {
  color: #fecaca !important;
}

body.dark-mode #mobile-menu .text-purple-600 {
  color: #c4b5fd !important;
}

body.dark-mode #mobile-menu .text-purple-600:hover {
  color: #ddd6fe !important;
}

body.dark-mode #sidebar {
  background-color: #1a1a1a !important;
}

body.dark-mode .sidebar-content {
  background-color: transparent !important;
}

/* 웹훅 로그 섹션 스타일 */
.webhook-log-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.log-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #3b82f6;
}

.log-info-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.log-info-header .info-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.log-info-header .info-title {
  font-weight: 600;
  color: #1e293b;
  font-size: 1.1rem;
}

.log-info .info-description {
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 로그 컨트롤 */
.log-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.log-search {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 250px;
}

.log-search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: white;
}

.log-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-search {
  padding: 0.75rem 1.25rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-search:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* PC에서 검색 버튼 크기 조절 */
@media (min-width: 768px) {
  .btn-search {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
}

.log-filter {
  min-width: 150px;
}

.log-filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.875rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.log-filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 로그 리스트 컨테이너 */
.log-list-container {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.log-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.log-list-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
}

.log-list-title .list-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.btn-refresh {
  padding: 0.5rem 1rem;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* PC에서 새로고침 버튼 크기 조절 */
@media (min-width: 768px) {
  .btn-refresh {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* 로그 리스트 */
.log-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.log-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.log-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #3b82f6;
}

.log-product-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mypage-product-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-details {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.product-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-link:hover {
  color: #3b82f6;
}

.product-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-price {
  font-weight: 600;
  color: #dc2626;
  font-size: 0.95rem;
}

.product-site {
  color: #64748b;
  font-size: 0.875rem;
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* 로그 상세 정보 */
.log-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.log-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.log-keyword,
.log-channel,
.log-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.meta-label {
  color: #64748b;
  font-weight: 500;
  min-width: 80px;
}

.keyword-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.channel-name {
  color: #1e293b;
  font-weight: 500;
}

.time-text {
  color: #64748b;
}

.log-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-view,
.btn-resend {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-view {
  background: #3b82f6;
  color: white;
}

.btn-view:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-resend {
  background: #f59e0b;
  color: white;
}

.btn-resend:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* 로딩 상태 */
.log-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  color: #64748b;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* 빈 상태 */
.log-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.log-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.log-empty .empty-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 0.5rem 0;
}

.log-empty .empty-description {
  color: #94a3b8;
  margin: 0;
}

/* 에러 상태 */
.log-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.log-error .error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ef4444;
}

.log-error p {
  color: #64748b;
  margin: 0 0 1rem 0;
}

/* 페이지네이션 */
.log-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-page {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  border-radius: 6px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 40px;
  text-align: center;
}

.btn-page:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #3b82f6;
}

.btn-page.btn-prev,
.btn-page.btn-next {
  font-weight: 500;
}

.page-number.current {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  min-width: 40px;
  text-align: center;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .webhook-log-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .log-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .log-search {
    min-width: auto;
  }
  
  .log-list-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .log-product-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .mypage-product-image {
    width: 120px;
    height: 120px;
  }
  
  .log-details {
    flex-direction: column;
    align-items: stretch;
  }
  
  .log-actions {
    justify-content: center;
  }
  
  .product-meta {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .webhook-log-section {
    padding: 1rem;
  }
  
  .log-item {
    padding: 1rem;
  }
  
  .mypage-product-image {
    width: 100px;
    height: 100px;
  }
  
  .log-actions {
    flex-direction: column;
  }
  
  .btn-view,
  .btn-resend {
    width: 100%;
    justify-content: center;
  }
}

/* 다크모드 지원 */
body.dark-mode .webhook-log-section {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .log-info {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  border-left-color: #60a5fa;
}

body.dark-mode .log-info-header .info-title {
  color: #f1f5f9;
}

body.dark-mode .log-info .info-description {
  color: #cbd5e1;
}

body.dark-mode .log-list-container {
  background: #334155;
  border-color: #475569;
}

body.dark-mode .log-list-title {
  color: #f1f5f9;
}

body.dark-mode .log-item {
  background: #475569;
  border-color: #64748b;
}

body.dark-mode .log-item:hover {
  border-color: #60a5fa;
}

body.dark-mode .product-name {
  color: #f1f5f9;
}

body.dark-mode .product-link:hover {
  color: #60a5fa;
}

body.dark-mode .product-price {
  color: #fca5a5;
}

body.dark-mode .product-site {
  color: #cbd5e1;
  background: #64748b;
}

body.dark-mode .meta-label {
  color: #94a3b8;
}

body.dark-mode .channel-name {
  color: #f1f5f9;
}

body.dark-mode .time-text {
  color: #94a3b8;
}

body.dark-mode .log-search-input,
body.dark-mode .log-filter-select {
  background: #475569;
  border-color: #64748b;
  color: #f1f5f9;
}

body.dark-mode .log-search-input:focus,
body.dark-mode .log-filter-select:focus {
  border-color: #60a5fa;
}

body.dark-mode .log-loading,
body.dark-mode .log-empty,
body.dark-mode .log-error {
  color: #94a3b8;
}

body.dark-mode .btn-page {
  background: #475569;
  border-color: #64748b;
  color: #cbd5e1;
}

body.dark-mode .btn-page:hover {
  background: #64748b;
  border-color: #60a5fa;
  color: #60a5fa;
}

body.dark-mode .page-number.current {
  background: #60a5fa;
  border-color: #60a5fa;
  color: #1e293b;
}