.attachments-by-object-type .attachment-scroll {
  max-height: 530px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.attachments-by-object-type .options-header {
  display: flex;
  width: 100%;
  gap: 8px;
  justify-content: end;
  align-items: center;
}.empty-get-attachment {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 50px;
}
.empty-get-attachment .title {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  color: #3f4254;
}
.empty-get-attachment .description {
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #3f4254;
}.attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(231px, 1fr));
  gap: 8px;
  justify-content: start;
  max-width: 1187px;
  overflow-x: hidden;
}
.attachment-grid .attachment-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 240px;
  opacity: 1;
  gap: 12px;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
}
.attachment-grid .attachment-card .hover-will-show {
  opacity: 0;
  transition: all 0.15s linear;
  outline: none;
}
.attachment-grid .attachment-card:hover .hover-will-show {
  opacity: 1;
}
.attachment-grid .attachment-card .download-placeholder {
  background: #f4f4f4;
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 100%;
  color: #989898;
  display: flex;
  align-items: center;
  justify-content: center;
}
.attachment-grid .attachment-card .attachment-preview {
  height: 159px;
  width: 100%;
  border: 1px solid #f3f3f3;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
}
.attachment-grid .attachment-card .attachment-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.attachment-grid .attachment-card .attachment-preview img.loaded {
  opacity: 1;
}
.attachment-grid .attachment-card .attachment-footer .attachment-info {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.attachment-grid .attachment-card .attachment-footer .attachment-info .file-name {
  font-weight: bold;
  font-size: 12px;
  line-height: 100%;
  color: #181c32;
  max-width: 20ch;
}
.attachment-grid .attachment-card .upload-date {
  font-size: 12px;
  color: #7e8299;
  padding-top: 8px;
  padding-left: 28px;
}
.attachment-grid .attachment-card.placeholder {
  background-color: white !important;
}
.attachment-grid .attachment-card.placeholder .skeleton, .attachment-grid .attachment-card.placeholder .skeleton-circle {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 8px;
}
.attachment-grid .attachment-card.placeholder .skeleton-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.attachment-grid .attachment-card.placeholder .file-name {
  width: 120px;
  height: 12px;
}
.attachment-grid .attachment-card.placeholder .upload-date {
  width: 140px;
  height: 10px;
}
.attachment-grid .attachment-card.placeholder .upload-date.small {
  margin-top: 8px;
}
.attachment-grid .attachment-card.placeholder .attachment-preview {
  height: 159px;
}
@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}.upload-panel {
  position: fixed;
  bottom: 0;
  right: 16px;
  max-height: 320px;
  width: 380px;
  background-color: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.1019607843);
  z-index: 1;
}
.upload-panel.collapse {
  max-height: 50px;
}
.upload-panel.collapse .upload-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.upload-panel .hide-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-panel .hide-btn:hover svg path {
  fill: #1877f2 !important;
}
.upload-panel .hide-btn .arrow-icon {
  transition: all 0.3s ease;
}
.upload-panel .hide-btn .arrow-icon.rotate {
  transform: rotate(180deg);
}
.upload-panel.show {
  transform: translateY(0);
  opacity: 1;
}
.upload-panel .upload-header {
  gap: 10px;
  display: flex;
  justify-content: space-between;
  padding: 14px 12px;
  border-bottom: 1px solid #e4e6ef;
}
.upload-panel .upload-header .title {
  font-weight: 600;
  font-size: 14px;
  color: #181c32;
}
.upload-panel .upload-header .close-btn {
  cursor: pointer;
}
.upload-panel .upload-header .close-btn:hover svg path {
  stroke: #1877f2 !important;
}
.upload-panel .upload-list {
  max-height: 270px;
  overflow-y: auto;
  transition: all 1s ease;
}
.upload-panel .upload-list .upload-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  align-items: center;
  transition: all 0.1s linear;
  cursor: pointer;
  justify-content: space-between;
}
.upload-panel .upload-list .upload-row:hover {
  background-color: #e6f0ff;
}
.upload-panel .upload-list .upload-row.error {
  background-color: #faecec !important;
}
.upload-panel .upload-list .upload-row.error .retry-btn {
  width: 50px;
  height: 24px;
  border-radius: 4px;
  padding: 4px 8px;
  border: 0.5px solid #e4e6ef;
  color: #3f4254;
  font-size: 12px;
  background-color: white;
  transition: all 0.1s linear;
  opacity: 0.85;
}
.upload-panel .upload-list .upload-row.error .retry-btn:hover, .upload-panel .upload-list .upload-row.error .retry-btn:active {
  opacity: 1;
}
.upload-panel .upload-list .upload-row .upload-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.upload-panel .upload-list .upload-row .upload-progress-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: conic-gradient(#206bc4 calc(var(--progress) * 1%), #b5b5c3 0);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-panel .upload-list .upload-row .upload-progress-circle::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #fff;
  border-radius: 50%;
}
.upload-panel .upload-list .upload-row .upload-progress-text {
  position: relative;
  font-size: 6px;
  font-weight: 500;
  color: #206bc4;
  line-height: 1;
}
.upload-panel .upload-list .upload-row .file-name {
  max-width: 27ch;
  font-size: 14px;
  line-height: 100%;
}
.upload-panel .upload-list .upload-row .error-text {
  color: #f3002f;
  font-size: 12px;
  max-width: 27ch;
}