/*
 * Mark Search Page Redesign Stylesheet
 * Pixel-perfect implementation from Figma
 * Scope: .mark-redesign .mark-search-page
 */

/* =====================================
   Base Layout
   ===================================== */
.mark-redesign .mark-search-page {
  min-height: 100vh;
  background-color: #f8fafc;
  margin: 0;
  padding: 0;
}

/* Container pattern */
.mark-redesign .mark-search-page .filters-container,
.mark-redesign .mark-search-page .results-container,
.mark-redesign .mark-search-page .pagination-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Search hero content - wider container */
.mark-redesign .mark-search-page .search-hero-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================
   Hero Search Section (Figma: 20:3355)
   ===================================== */
.mark-redesign .mark-search-page .search-hero {
  background: linear-gradient(180deg, #9810fa 0%, #9810fa 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 252px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* White decorative dots background */
.mark-redesign .mark-search-page .search-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 160px -36px, rgba(255,255,255,0.338) 2px, transparent 2px),
    radial-gradient(circle at 78px 2px, rgba(255,255,255,0.304) 2px, transparent 2px),
    radial-gradient(circle at 196px -20px, rgba(255,255,255,0.277) 2px, transparent 2px),
    radial-gradient(circle at 288px -51px, rgba(255,255,255,0.49) 2px, transparent 2px),
    radial-gradient(circle at 350px -59px, rgba(255,255,255,0.459) 2px, transparent 2px),
    radial-gradient(circle at 737px 112px, rgba(255,255,255,0.288) 2px, transparent 2px),
    radial-gradient(circle at 237px -39px, rgba(255,255,255,0.382) 2px, transparent 2px),
    radial-gradient(circle at 219px -9px, rgba(255,255,255,0.381) 2px, transparent 2px),
    radial-gradient(circle at 122px 195px, rgba(255,255,255,0.273) 2px, transparent 2px),
    radial-gradient(circle at 393px -54px, rgba(255,255,255,0.409) 2px, transparent 2px);
  background-size: 4px 4px;
  filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.5));
  pointer-events: none;
}

.mark-redesign .mark-search-page .search-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Title with sparkles */
.mark-redesign .mark-search-page .search-hero-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.561px;
  height: 32px;
}

.mark-redesign .mark-search-page .sparkle-left,
.mark-redesign .mark-search-page .sparkle-right {
  width: 59.57px;
  height: 59.57px;
  filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.15));
}

.mark-redesign .mark-search-page .sparkle-left {
  transform: rotate(335.185deg);
}

.mark-redesign .mark-search-page .sparkle-right {
  transform: rotate(24.815deg);
}

.mark-redesign .mark-search-page .search-hero-title {
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
  margin: 0;
  filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.15));
}

/* Subtitle */
.mark-redesign .mark-search-page .search-hero-subtitle {
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(255,255,255,0.9);
  margin: 0;
  filter: drop-shadow(0px 1px 4px rgba(0,0,0,0.1)) drop-shadow(0px 1px 2px rgba(0,0,0,0.06));
}

/* Search input wrapper */
.mark-redesign .mark-search-page .search-hero-input-wrapper {
  position: relative;
  max-width: 776px;
  width: 100%;
  height: 56px;
  display: flex;
  gap: 8px;
}

.mark-redesign .mark-search-page .search-hero-input {
  flex: 1;
  height: 56px;
  padding: 4px 56px 4px 24px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 18px;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #4a5565;
  box-shadow: 0px 25px 50px -12px rgba(0,0,0,0.25);
  outline: none;
  backdrop-filter: blur(16px);
}

.mark-redesign .mark-search-page .search-hero-input::placeholder {
  color: #4a5565;
}

.mark-redesign .mark-search-page .search-hero-button {
  width: 89.763px;
  height: 56px;
  background: #9810fa;
  border: none;
  border-radius: 18px;
  box-shadow: 0px 25px 50px -12px rgba(0,0,0,0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  transition: background 0.3s ease;
}

.mark-redesign .mark-search-page .search-hero-button:hover {
  background: linear-gradient(180deg, #8200db 0%, #9810fa 100%);
}

.mark-redesign .mark-search-page .search-hero-button .search-icon {
  width: 16px;
  height: 16px;
}

.mark-redesign .mark-search-page .search-hero-button {
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: white;
}

/* Mobile filter toggle */
.mark-redesign .mark-search-page .mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 8px 16px;
  color: white;
  font-size: 14px;
  font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease;
}

.mark-redesign .mark-search-page .mobile-filter-toggle:hover {
  background: rgba(255,255,255,0.25);
}

.mark-redesign .mark-search-page .mobile-filter-toggle .filter-icon {
  width: 20px;
  height: 20px;
}

.mark-redesign .mark-search-page .mobile-filter-toggle .arrow-icon {
  width: 16px;
  height: 16px;
}

/* =====================================
   Filter Section (Figma: 20:3420)
   ===================================== */
.mark-redesign .mark-search-page .search-filters {
  background: white;
  border-bottom: 0.8px solid #f3e8ff;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
  padding: 0;
  overflow: visible;
  height: auto;
}

.mark-redesign .mark-search-page .filters-container {
  padding: 32px 96px;
  position: relative;
  overflow: visible;
  height: auto;
}

/* Filter section title */
.mark-redesign .mark-search-page .filter-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px 0;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #0a0a0a;
}

.mark-redesign .mark-search-page .filter-section-title .filter-icon {
  width: 20px;
  height: 20px;
}

/* Filters grid - Figma 74:77 PC Layout */
.mark-redesign .mark-search-page .filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 357.333px);
  gap: 24px;
  margin-bottom: 32px;
  justify-content: center;
}

/* Filter group */
.mark-redesign .mark-search-page .filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Filter label */
.mark-redesign .mark-search-page .filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0;
}

.mark-redesign .mark-search-page .filter-label .document-icon {
  width: 16px;
  height: 16px;
}

/* Filter dropdown */
.mark-redesign .mark-search-page .filter-dropdown {
  position: relative;
}

/* Filter button - Figma 74:77 */
.mark-redesign .mark-search-page .filter-button {
  width: 100%;
  height: 57.333px;
  background: white;
  border: 2px solid #f3e8ff;
  border-radius: 18px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mark-redesign .mark-search-page .filter-button:hover {
  border-color: #e9d4ff;
  box-shadow: 0px 2px 8px rgba(152,16,250,0.08);
}

/* Filter value badge - Figma 74:77 */
.mark-redesign .mark-search-page .filter-value-badge {
  width: 47.417px;
  height: 25.333px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 25.333px;
  color: #9810fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mark-redesign .mark-search-page .filter-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Filter dropdown menu - Static position to push content down */
.mark-redesign .mark-search-page .filter-menu {
  display: none;
  position: static;
  width: 100%;
  margin-top: 8px;
  background: white;
  border: 2px solid #f3e8ff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1), 0px 4px 6px -4px rgba(0,0,0,0.1);
  max-height: 434px;
  overflow-y: auto;
  box-sizing: border-box;
}

.mark-redesign .mark-search-page .filter-dropdown.active .filter-menu {
  display: flex;
  flex-direction: column;
}

.mark-redesign .mark-search-page .filter-notice {
  font-size: 12px;
  color: #9810fa;
  margin-bottom: 12px;
  font-family: 'Noto Sans KR', sans-serif;
}

/* Filter options - Figma 74:77 */
.mark-redesign .mark-search-page .filter-options {
  display: grid;
  grid-template-columns: repeat(2, 154.667px);
  gap: 8px;
  row-gap: 8px;
}

.mark-redesign .mark-search-page .filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  color: #0a0a0a;
  min-height: 32px;
}

.mark-redesign .mark-search-page .filter-options label:hover {
  background: #f5ebff;
}

/* Custom checkbox styling - Figma 74:77 */
.mark-redesign .mark-search-page .filter-options input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  background: white;
  border: 0.667px solid #f3e8ff;
  border-radius: 4px;
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.mark-redesign .mark-search-page .filter-options input[type="checkbox"]:checked {
  background: #9810fa;
  border-color: #9810fa;
}

.mark-redesign .mark-search-page .filter-options input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4L5.5 9.5L3 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Filter actions */
.mark-redesign .mark-search-page .filters-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.mark-redesign .mark-search-page .filter-search-btn {
  width: 89.763px;
  height: 40px;
  background: #9810fa;
  border: none;
  border-radius: 12px;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1), 0px 4px 6px -4px rgba(0,0,0,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  transition: background 0.3s ease;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: white;
}

.mark-redesign .mark-search-page .filter-search-btn:hover {
  background: #7a0bd9;
}

.mark-redesign .mark-search-page .filter-search-btn .search-icon {
  width: 16px;
  height: 16px;
}

/* =====================================
   Results Section (Figma: 20:3481)
   ===================================== */
.mark-redesign .mark-search-page .search-results {
  padding: 24px 0;
}

.mark-redesign .mark-search-page .results-container {
  padding-top: 0;
}

/* Results header */
.mark-redesign .mark-search-page .results-header {
  display: flex;
  align-items: center;
  justify-content: center;  /* Center alignment */
  gap: 12px;
  padding: 0 32px 24px;
  border-bottom: 0.8px solid #f3e8ff;
  height: 41.6px;
}

.mark-redesign .mark-search-page .results-keyword-badge {
  height: 41.6px;
  padding: 8.8px 16.8px;
  background: transparent;
  border: 0.8px solid #f3e8ff;
  border-radius: 12px;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #9810fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mark-redesign .mark-search-page .results-label {
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #0a0a0a;
}

.mark-redesign .mark-search-page .results-count-badge {
  height: 41.6px;
  padding: 8.8px 16.8px;
  background: #9810fa;
  border: 0.8px solid transparent;
  border-radius: 12px;
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mark-redesign .mark-search-page .results-page-info {
  font-family: 'Arimo', 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #4a5565;
}

/* Results grid */
.mark-redesign .mark-search-page .results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0;
}

/* Result card */
.mark-redesign .mark-search-page .result-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mark-redesign .mark-search-page .result-card:hover {
  box-shadow: 0px 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: #9810fa;
}

.mark-redesign .mark-search-page .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.mark-redesign .mark-search-page .card-title {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #101828;
  flex: 1;
}

.mark-redesign .mark-search-page .card-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Noto Sans KR', sans-serif;
}

.mark-redesign .mark-search-page .card-status.registered {
  background: rgba(152,16,250,0.1);
  color: #9810fa;
}

.mark-redesign .mark-search-page .card-status.refused {
  background: rgba(230,0,115,0.1);
  color: #e60073;
}

.mark-redesign .mark-search-page .card-body {
  display: flex;
  gap: 16px;
  min-width: 0;
}

.mark-redesign .mark-search-page .card-image {
  width: 120px;
  height: 120px;
  background-color: #f3f4f6;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  flex-shrink: 0;
}

.mark-redesign .mark-search-page .card-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mark-redesign .mark-search-page .card-detail-item {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #4b5563;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

.mark-redesign .mark-search-page .card-detail-item strong {
  font-weight: 600;
  color: #374151;
}

.mark-redesign .mark-search-page .card-detail-item .highlight {
  color: #9810fa;
  font-weight: 600;
}

/* No results */
.mark-redesign .mark-search-page .no-results {
  text-align: center;
  padding: 80px 20px;
  font-size: 16px;
  color: #6b7280;
  font-family: 'Noto Sans KR', sans-serif;
}

/* =====================================
   Pagination
   ===================================== */
.mark-redesign .mark-search-page .search-pagination {
  padding: 40px 0 80px;
}

.mark-redesign .mark-search-page .pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.mark-redesign .mark-search-page .pagination-btn {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mark-redesign .mark-search-page .pagination-btn:hover {
  border-color: #9810fa;
  color: #9810fa;
  background: #f5ebff;
}

.mark-redesign .mark-search-page .pagination-btn.active {
  background: #9810fa;
  border-color: #9810fa;
  color: white;
}

.mark-redesign .mark-search-page .pagination-btn.arrow {
  font-size: 18px;
}

.mark-redesign .mark-search-page .pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* =====================================
   Responsive (Tablet < 1024px)
   ===================================== */
@media (max-width: 1024px) {
  .mark-redesign .mark-search-page .filters-container {
    padding: 32px;
  }

  .mark-redesign .mark-search-page .filters-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .mark-redesign .mark-search-page .filter-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .mark-redesign .mark-search-page .results-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================
   Responsive (Mobile < 768px)
   Figma: 20:4241, 20:4313, 20:4442
   ===================================== */
@media (max-width: 768px) {
  /* ===== HERO SECTION MOBILE (Figma: 20:4241) ===== */
  .mark-redesign .mark-search-page .search-hero {
    height: 315.885px;
    padding: 50px 24px 40px;
  }

  .mark-redesign .mark-search-page .search-hero-content {
    max-width: 100%;
    padding: 0;
  }

  /* Sparkles - Mobile specific rotations */
  .mark-redesign .mark-search-page .sparkle-left {
    width: 36.343px;
    height: 36.343px;
    transform: rotate(302.858deg);
    margin-right: 8px;
  }

  .mark-redesign .mark-search-page .sparkle-right {
    width: 36.343px;
    height: 36.343px;
    transform: rotate(57.142deg);
    margin-left: 8px;
  }

  /* Title Mobile */
  .mark-redesign .mark-search-page .search-hero-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.02em;
  }

  /* Subtitle Mobile */
  .mark-redesign .mark-search-page .search-hero-subtitle {
    font-size: 14px;
    line-height: 20px;
    margin-top: 8px;
    margin-bottom: 24px;
  }

  /* Search Input Mobile */
  .mark-redesign .mark-search-page .search-hero-input-wrapper {
    width: 100%;
    max-width: 343px;
    height: 48px;
    gap: 8px;
    flex-direction: row;
  }

  .mark-redesign .mark-search-page .search-hero-input {
    width: 239.465px;
    height: 48px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .mark-redesign .mark-search-page .search-hero-input::placeholder {
    font-size: 14px;
    line-height: 20px;
  }

  .mark-redesign .mark-search-page .search-hero-button {
    width: 89.71px;
    height: 48px;
    padding: 12px 16px;
    gap: 4px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .mark-redesign .mark-search-page .search-hero-button .search-icon {
    width: 16px;
    height: 16px;
  }

  /* Mobile Filter Toggle Button (Figma: 20:4306) */
  .mark-redesign .mark-search-page .mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7.986px;
    width: 123.43px;
    height: 35.981px;
    margin: 16px auto 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 12px;
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #9810fa;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mark-redesign .mark-search-page .mobile-filter-toggle:hover {
    background: rgba(255, 255, 255, 1);
  }

  .mark-redesign .mark-search-page .mobile-filter-toggle .filter-icon {
    width: 15.994px;
    height: 15.994px;
  }

  .mark-redesign .mark-search-page .mobile-filter-toggle .arrow-icon {
    width: 15.994px;
    height: 15.994px;
    transition: transform 0.2s ease;
  }

  .mark-redesign .mark-search-page .mobile-filter-toggle.active .arrow-icon {
    transform: rotate(180deg);
  }

  /* ===== FILTER SECTION MOBILE (Figma: 20:4313) ===== */
  .mark-redesign .mark-search-page .search-filters {
    display: none !important;
    padding: 0;
  }

  .mark-redesign .mark-search-page .search-filters {
    display: none !important;
    padding: 0;
    width: 100%;
    overflow: visible;
    min-height: 0;
    height: auto;
  }

  .mark-redesign .mark-search-page .search-filters.active {
    display: block !important;
    padding: 20px 16px;
  }

  .mark-redesign .mark-search-page .filters-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
    min-height: 0;
    height: auto;
  }

  /* Hide section title on mobile */
  .mark-redesign .mark-search-page .filter-section-title {
    display: none;
  }

  .mark-redesign .mark-search-page .filters-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: visible;
    position: relative;
  }

  /* Filter Group - Full Width Container (Figma: 20:4321) */
  .mark-redesign .mark-search-page .filter-group {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 11.98px;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
  }

  /* Filter Label (Figma: 20:4322) */
  .mark-redesign .mark-search-page .filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 23.98px;
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #0a0a0a;
    margin-bottom: 0;
  }

  .mark-redesign .mark-search-page .filter-label .document-icon {
    width: 15.994px;
    height: 15.994px;
  }

  /* Filter Dropdown Container */
  .mark-redesign .mark-search-page .filter-dropdown {
    position: relative;
    width: 100%;
    overflow: visible;
  }

  /* Filter Button - Collapsed State (Figma: 20:4414, 20:4415) */
  .mark-redesign .mark-search-page .filter-button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 61.377px;
    padding: 0 15.994px;
    background: white;
    border: 1.352px solid #f3e8ff;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .mark-redesign .mark-search-page .filter-button:hover {
    background: #f9f5ff;
  }

  /* Filter Value Badge (Figma: 20:4416) */
  .mark-redesign .mark-search-page .filter-value-badge {
    height: 26.685px;
    padding: 5px 10px;
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #9810fa;
    background: transparent;
    border: 1.352px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Filter Arrow (Figma: 20:4419) */
  .mark-redesign .mark-search-page .filter-arrow {
    width: 19.987px;
    height: 19.987px;
    transition: transform 0.2s ease;
  }

  .mark-redesign .mark-search-page .filter-dropdown.active .filter-arrow {
    transform: rotate(180deg);
  }

  /* Filter Menu - Expanded State (Figma: 20:4330) */
  .mark-redesign .mark-search-page .filter-menu {
    display: none;
    position: static;
    width: 100%;
    max-height: 434.371px;
    margin-top: 8px;
    padding: 15.994px;
    background: white;
    border: 1.352px solid #f3e8ff;
    border-radius: 18px;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    box-sizing: border-box;
  }

  .mark-redesign .mark-search-page .filter-dropdown.active .filter-menu {
    display: flex;
    flex-direction: column;
  }

  /* Filter Notice with Icon (Figma: 20:4339) */
  .mark-redesign .mark-search-page .filter-notice {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 20.008px;
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #4a5565;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0 0 11.98px 0;
    flex-shrink: 0;
  }

  .mark-redesign .mark-search-page .filter-notice::before {
    content: '';
    display: inline-block;
    width: 13.987px;
    height: 13.987px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='6' stroke='%234a5565' stroke-width='1.5'/%3E%3Cpath d='M7 4v3M7 10h.01' stroke='%234a5565' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }

  /* Checkbox Options Container (Figma: 20:4345) */
  .mark-redesign .mark-search-page .filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 11.976px;
    row-gap: 7.986px;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    padding: 0;
    box-sizing: border-box;
  }

  /* Checkbox Label Items (Figma: 20:4346) */
  .mark-redesign .mark-search-page .filter-options label {
    display: flex;
    align-items: center;
    gap: 7.986px;
    min-height: 31.967px;
    padding: 0 7.986px;
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    color: #0a0a0a;
    background: transparent;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: normal;
    word-break: keep-all;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mark-redesign .mark-search-page .filter-options label:hover {
    background: rgba(152, 16, 250, 0.05);
  }

  /* Checkbox Styling (Figma: 20:4347) */
  .mark-redesign .mark-search-page .filter-options input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15.994px;
    height: 15.994px;
    margin: 0;
    flex-shrink: 0;
    background: white;
    border: 1.352px solid #f3e8ff;
    border-radius: 4px;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
  }

  .mark-redesign .mark-search-page .filter-options input[type="checkbox"]:checked {
    background: #9810fa;
    border-color: #9810fa;
  }

  .mark-redesign .mark-search-page .filter-options input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 13.29px;
    height: 13.29px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 4L5.5 9.5L3 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Long text labels (Figma: 20:4397, 20:4401) */
  .mark-redesign .mark-search-page .filter-options label:nth-last-child(-n+2) {
    min-height: 43.989px;
  }

  /* Filter Actions Mobile */
  .mark-redesign .mark-search-page .filters-actions {
    margin-top: 20px;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .mark-redesign .mark-search-page .filter-search-btn {
    width: 100%;
    max-width: 343px;
    height: 55.989px;
    padding: 12px 20px;
    font-family: 'Arimo', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    border-radius: 18px;
    gap: 6px;
    background: #9810fa;
    color: white;
    border: none;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .mark-redesign .mark-search-page .filter-search-btn:hover {
    background: #7a0bd9;
  }

  .mark-redesign .mark-search-page .filter-search-btn .search-icon {
    width: 15.994px;
    height: 15.994px;
  }

  /* ===== RESULTS SECTION MOBILE (Figma: 20:4442) ===== */
  .mark-redesign .mark-search-page .results-container {
    padding: 24px 16px;
  }

  .mark-redesign .mark-search-page .results-header {
    flex-wrap: wrap;
    justify-content: center;  /* Center alignment for mobile */
    gap: 8px;
    padding: 0 16px 24px;  /* Adjust padding for mobile */
    margin-bottom: 20px;
    height: auto;
  }

  .mark-redesign .mark-search-page .results-keyword-badge {
    height: 42.657px;
    padding: 11.429px 17.143px;
    border-radius: 12.571px;
    border-width: 0.857px;
    font-size: 16px;
    line-height: 20px;
  }

  .mark-redesign .mark-search-page .results-label {
    font-size: 16px;
    line-height: 20px;
  }

  .mark-redesign .mark-search-page .results-count-badge {
    height: 42.657px;
    padding: 11.429px 17.143px;
    border-radius: 12.571px;
    font-size: 16px;
    line-height: 20px;
  }

  .mark-redesign .mark-search-page .results-page-info {
    width: 100%;
    font-size: 13px;
    line-height: 18px;
    text-align: center;  /* Center alignment for mobile */
    margin-top: 4px;
  }

  /* Results Grid Mobile */
  .mark-redesign .mark-search-page .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  /* Card Body Mobile - Vertical Layout */
  .mark-redesign .mark-search-page .card-body {
    flex-direction: column;
  }

  .mark-redesign .mark-search-page .card-image {
    width: 100%;
    height: 180px;
  }

  /* ===== PAGINATION MOBILE ===== */
  .mark-redesign .mark-search-page .search-pagination {
    padding: 24px 16px;
  }

  .mark-redesign .mark-search-page .pagination-container {
    gap: 6px;
  }

  .mark-redesign .mark-search-page .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    line-height: 18px;
    border-radius: 8px;
  }

  .mark-redesign .mark-search-page .pagination-btn.arrow {
    width: 36px;
  }
}
