/*------------------------*/
/* Color Picker
/*------------------------*/

.color-picker-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
  margin-top: 5px;
}

.color-select {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background-color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

/* Active Color Card Styles */
.color-preview-card {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.preview-swatch {
  min-height: 120px;
  background-color: #f0f0f0; /* Fallback */
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* No Preview State */
.preview-swatch.no-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.8rem;
  text-align: center;
  padding: 10px;
  background-color: #f5f5f5;
  border-right: 1px solid rgba(0,0,0,0.05);
}

.preview-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-title {
  padding: 0;
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--textDark);
}

.preview-description {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .preview-swatch {
    width: 100%;
    height: 150px;
  }
  .preview-swatch.no-preview {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
