.wallpaper-avatar {
  align-items: center;
  background-color: #2e2e38;
  color: #ffffff;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
}

.wallpaper-search-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wallpaper-label {
  color: #747480;
  font-size: 13px;
  font-weight: 600;
}

.wallpaper-search-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.wallpaper-input {
  padding-left: 16px;
}

.wallpaper-status {
  color: #747480;
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
}

.wallpaper-results-section {
  margin-top: 24px;
}

.wallpaper-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 16px;
}

.wallpaper-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  padding: 0 0 12px;
  text-align: left;
}

.wallpaper-card:hover {
  border-color: #2e2e38;
}

.wallpaper-card.selected {
  border-color: #2e2e38;
  box-shadow: 0 0 0 2px rgba(46, 46, 56, 0.15);
}

.wallpaper-card img {
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  width: 100%;
}

.wallpaper-card-title {
  color: #2e2e38;
  font-size: 13px;
  line-height: 1.4;
  padding: 0 12px;
  word-break: break-word;
}

.wallpaper-preview-section {
  margin-top: 24px;
}

.wallpaper-preview-image {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  display: none;
  margin-top: 16px;
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.wallpaper-preview-image.ready {
  display: block;
}

.wallpaper-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.wallpaper-link {
  text-decoration: none;
}

.disabled-link {
  opacity: 0.6;
  pointer-events: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
}

.footer-logo {
  height: auto;
  width: 70px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 8px;
  text-align: right;
}

.footer-link-row {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .wallpaper-search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .wallpaper-search-row .btn {
    width: 100%;
  }

  .wallpaper-actions {
    flex-direction: column;
  }
}
