/* Card Forms (New/Edit) Styles */

.card-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.url-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.url-prefix {
  color: #4b5563;
  font-weight: 500;
}

.form-help-text {
  color: #4b5563;
  font-size: 0.875rem;
  font-weight: 500;
}

.font-preview {
  font-family: inherit;
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0.1px;
  height: 0.1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.preview-card {
  border: none;
  border-radius: 8px;
}

/* Checkbox Styles */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  line-height: 1.5;
  position: relative;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(67, 56, 202, 0.3);
  border-radius: 6px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background-color: #4338ca;
  border-color: #4338ca;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container:hover .checkmark {
  border-color: #4338ca;
  background-color: rgba(67, 56, 202, 0.05);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.08);
}

.checkbox-label {
  font-weight: 600;
  color: #1f2937;
}