.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  justify-items: center;
}
.filter-grid:has(.filter-card:nth-child(7):last-child) {
  grid-template-columns: repeat(4, 1fr);
}
.filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(-n+3) {
  grid-column: span 1;
  justify-self: center;
}
.filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(1) {
  grid-column: 2;
}
.filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(2) {
  grid-column: 3;
}
.filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(3) {
  grid-column: 4;
}

.filter-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.filter-card {
  background: #fff;
  border: 3px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.filter-card:hover {
  border-color: #1e40af;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
}

.filter-card-icon {
  width: 100%;
  height: 120px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.filter-images-container {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: stretch;
  justify-content: stretch;
  flex-direction: row;
}

.original-image,
.filter-image {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.original-image img,
.filter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}

.filter-card h4 {
  max-width: 90%;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
  color: #1a1d23;
}

.filter-card p {
  max-width: 90%;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

.filter-card-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #1e40af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-card-arrow .arrow-icon {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.filter-card:hover .filter-card-arrow {
  opacity: 1;
}

@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .filter-grid:has(.filter-card:nth-child(7):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(1), .filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(2), .filter-grid:has(.filter-card:nth-child(7):last-child) .filter-card:nth-child(3) {
    grid-column: auto;
  }
  .filter-card {
    padding: 15px 10px;
  }
  .filter-card-icon {
    width: 100%;
    height: 80px;
  }
  .filter-card h4 {
    font-size: 13px;
  }
  .filter-card p {
    font-size: 11px;
  }
}
.style-questionnaire {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
@media (max-width: 767px) {
  .style-questionnaire {
    padding: 0;
    align-items: stretch;
  }
}

.questionnaire-container {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
  .questionnaire-container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
  }
}

.questionnaire-header {
  text-align: center;
  margin-bottom: 30px;
}
.questionnaire-header h3 {
  color: #1a1d23;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 600;
}
.questionnaire-header p {
  color: #1a1d23;
  font-size: 16px;
  margin: 0;
}

.question-group {
  margin-bottom: 30px;
}

.question-label {
  display: block;
  font-weight: 600;
  color: #1a1d23;
  font-size: 16px;
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(26, 29, 35, 0.2);
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  color: #1a1d23;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}
.form-select:hover {
  border-color: #1e40af;
  background-color: #fff;
}
.form-select:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-select option {
  padding: 8px 12px;
  color: #1a1d23;
}

.questionnaire-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.questionnaire-actions .btn {
  min-width: 140px;
}

@media (max-width: 768px) {
  .questionnaire-header h3 {
    font-size: 20px;
  }
  .questionnaire-header p {
    font-size: 14px;
  }
  .form-select {
    font-size: 16px;
    padding: 14px 16px;
    padding-right: 40px;
  }
  .questionnaire-actions {
    flex-direction: column;
  }
  .questionnaire-actions .btn {
    width: 100%;
  }
}

/*# sourceMappingURL=ai-filters.css.map */
