.delete-file {
  cursor: pointer;
  width: 15px; }

.formHint-file {
  display: flex;
  align-items: baseline; }

.file-wrapper {
  cursor: pointer;
  display: inline-block;
  overflow: visible;
  position: relative; }
  .file-wrapper input[type="file"] {
    width: 100% !important;
    height: 100% !important; }

.file-wrapper.disabled .button {
  background: #f5f5f5 !important; }

.file-wrapper.disabled input[type="file"] {
  cursor: not-allowed; }

.new_file {
  display: flex;
  background-color: #ffffff;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.625rem;
  border-radius: 1.25rem;
  box-shadow: 1px 2px 4px 0 rgba(117, 117, 117, 0.15); }
  .new_file p {
    font-size: 1rem;
    color: #151515;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 75%;
    text-align: left; }

.file-wrapper .button {
  background: #ffffff;
  color: #FF722B;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 1.25rem;
  border: 1px dashed #FF722B;
  cursor: pointer;
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  padding: 1.25rem 0.625rem;
  text-align: center; }

.file-wrapper .button:hover, .file-wrapper:hover {
  border-color: rgba(146, 168, 205, 0.8);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(146, 168, 205, 0.6);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(146, 168, 205, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(146, 168, 205, 0.6); }

.file-wrapper.file_dragover .button {
  border-color: #FF722B;
  border-style: solid;
  background: #fff3e6;
  box-shadow: 0 0 12px rgba(255, 114, 43, 0.3); }

.file-wrapper input[type="file"] {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  -moz-opacity: 0.5;
  opacity: 0;
  width: 100%;
  height: 100%; }

.upload-file-widget--multi {
  margin: 2rem 0 1rem; }

.multi-dropzone {
  width: 100%;
  margin: 1.25rem 0 1.25rem;
  position: relative; }
  .multi-dropzone.disabled {
    opacity: 0.5;
    pointer-events: none; }

.multi-dropzone__area {
  border: 2px dashed #ccc;
  border-radius: 1.25rem;
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa; }
  .multi-dropzone__area:hover {
    border-color: #aaa;
    background: #f0f0f0; }

.multi-dropzone.file_dragover .multi-dropzone__area {
  border-color: #FF722B;
  border-style: solid;
  background: #fff3e6; }

.multi-dropzone__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem; }

.multi-dropzone__text {
  color: #888;
  margin: 0 0 0.75rem;
  font-size: 1rem; }

.multi-dropzone__btn {
  margin-top: 0.25rem; }

.multi-file-list {
  margin-bottom: 0.5rem; }

.multi-file-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #eee;
  gap: 0.5rem; }

.multi-file-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0; }

.multi-file-item__name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
  color: #151515; }

.multi-file-item__size {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #999; }

.multi-file-item__remove {
  flex-shrink: 0;
  cursor: pointer;
  color: #ccc;
  font-size: 1rem;
  padding: 0 0.25rem; }
  .multi-file-item__remove:hover {
    color: #ef5350; }

.multi-file-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0; }

.multi-file-summary__count {
  font-size: 0.85rem;
  color: #666; }

.multi-file-summary__clear {
  font-size: 0.85rem;
  color: #ef5350;
  text-decoration: none; }
  .multi-file-summary__clear:hover {
    text-decoration: underline; }

.saed-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  width: 100%; }

.saed-attachment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  padding: 0.75rem 0.5rem;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 1.25rem;
  text-align: center;
  color: #151515;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
  .saed-attachment:hover {
    border-color: #FF722B;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
    color: #151515; }

.saed-attachment__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.4rem; }

.saed-attachment__name {
  font-size: 0.78rem;
  word-break: break-all;
  max-width: 100%;
  line-height: 1.3; }
