/**
 * Custom Upload Styles
 * Styles for the custom file upload component
 */

.cda-file-label {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0;
  color: #333;
}

.cda-dropzone {
  border: 2px dashed #ddd;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
  border-radius: 4px;
  background-color: #f9f9f9;
  transition: all 0.3s;
  min-height: 120px;
}

.cda-dropzone.drag-over {
  background-color: #f0f0f0;
  border-color: #aaa;
}

.cda-dropzone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.drop-text {
  margin-bottom: 8px !important;
  font-size: 20px;
  color: #3a3a3a;
}

.cda-upload-button {
}

.cda-upload-button:hover {
}

.cda-file-types {
  font-size: 15px;
  color: #3a3a3a;
  margin-top: 8px;
  padding-top: 13px;
  padding-bottom: 16px;
}

.cda-error-container {
  margin-top: 10px;
}

.cda-error-message {
  clear: both;
  font-family: inherit;
  font-size: 14.992px;
  letter-spacing: normal;
  line-height: inherit;
  width: 100%;
  background: #fff9f9;
  border: 1px solid #c02b0a;
  margin-block-start: 8px;
  padding: 12.992px 24px;
  color: #c02b0a;
  margin-bottom: 10px;
}

.cda-uploaded-files {
  margin-top: 15px;
  text-align: left;
}

.cda-file-item {
  margin-block: 16px;
  padding: 0;
  font-size: 16px;
}

.cda-file-name {
  word-break: break-all;
  padding-right: 6px;
}

.cda-file-size {
  padding-right: 6px;
}

.cda-file-progress {
  padding-right: 6px;
}

.cda-file-status {
  display: inline-block;
  padding-right: 6px;
}

.cda-file-status-uploading {
}

.cda-file-status-complete {
}

.cda-file-status-error {
  color: #e74c3c;
}

.cda-file-remove {
  color: #e74c3c;
  cursor: pointer;
  font-weight: bold;
}

.cda-file-remove:hover {
  text-decoration: underline;
}
