* {
  font: 13px/1.15 Neutral Std, Helvetica Neue, Arial, Helvetica, sans-serif;
}

label {
  display: block;
  margin-bottom: 4px;
  margin-top: 8px;
  line-height: 1.4;
  color: var(--text-primary);
}

label:first-of-type {
  margin-top: 0;
}

input,
select,
textarea {
  margin: 0 0 4px;
  width: 100%;
  background: white;
  color: var(--text-primary);
  background-color: var(--background-primary-color);
  border: 1px solid var(--form-border);
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

option {
  background: white;
  font-size: 14px;
}

option[disabled] {
  color: gray;
}

button {
  margin-top: 16px;
  background: var(--button-primary-background);
  color: var(--button-primary-text);
  height: 36px;
  padding-left: 15px;
  padding-right: 15px;
  cursor: pointer;
  transition:  200ms ease;
}

button[disabled] {
  background: var(--button-primary-background-disabled);
  color: var(--button-primary-text-disabled);
}

button:hover:not(:disabled) {
  background: var(--button-primary-background-hover);
  color: var(--button-primary-text);
}

button:hover:disabled {
  cursor: default;
}

.photo-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.photo-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--background-primary-color);
}

.photo-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-primary);
  gap: 6px;
}

.progress-bar {
  width: 60px;
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--button-primary-background);
  transition: width 0.2s ease;
}

.progress-text {
  font-size: 11px;
  font-weight: 500;
}

.photo-error {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 0, 0, 0.05);
}

.error-icon {
  font-size: 20px;
  color: #d32f2f;
}

.error-text {
  font-size: 10px;
  color: #d32f2f;
  font-weight: 500;
}

.photo-preview-item.error {
  border-color: #d32f2f;
}

.remove-photo {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-photo:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.8);
}

.remove-photo:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

