/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[13].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[13].use[5]!./src/styles/cards.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 54, 133, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.collection-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #315fa8;
}
.collection-card:hover {
  box-shadow: 0 12px 36px rgba(15, 54, 133, 0.12);
  transform: translateY(-2px);
}
.collection-card-body {
  padding: 1.25rem;
  flex: 1 1;
  display: flex;
  flex-direction: column;
}
.collection-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #eaf0fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.collection-card-icon svg {
  width: 20px;
  height: 20px;
  color: #315fa8;
}
.collection-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f3685;
  margin-bottom: 0.375rem;
  line-height: 1.3;
}
.collection-card-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  flex: 1 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.collection-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: #eaf0fc;
  color: #0f3685;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  line-height: 1.4;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f3685;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #eaf0fc;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  background: white;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 54, 133, 0.06);
  text-align: center;
}
.metric-card-number {
  font-size: 2rem;
  font-weight: 800;
  color: #315fa8;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.metric-card-label {
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[13].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[13].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[13].use[5]!./src/styles/search.scss ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.search-page {
  padding: 2rem 0;
}
.search-page .section-heading {
  margin-bottom: 1rem;
}

.search-filters {
  background: white;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(15, 54, 133, 0.06);
}
.search-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}
.search-filters-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.search-filters label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1f2937;
}
.search-filters input,
.search-filters select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid #d7dfec;
  border-radius: 6px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-filters input:focus,
.search-filters select:focus {
  border-color: #315fa8;
}
.search-filters-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #d7dfec;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-results .result-info {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.item-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #d7dfec;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 54, 133, 0.06);
  transition: box-shadow 0.2s;
}
.item-card:hover {
  box-shadow: 0 8px 28px rgba(15, 54, 133, 0.08);
}
.item-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.item-card-id {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f3685;
  word-break: break-all;
  line-height: 1.3;
}
.item-card-collection {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
}
.item-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.item-card-meta strong {
  color: #1f2937;
  font-weight: 600;
}
.item-card-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d7dfec;
}
