

/* Start:/local/components/capital/modal/templates/auth/style.css?17917478294600*/
.upload-label {
  color: #2563eb;
  font-size: 15px;
  margin-bottom: 8px;
  display: block;
}

.upload-zone {
  border: 2px dashed #93c5fd;
  border-radius: 1.2rem;
  background: #eff6ff;
  height: 21.2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: default;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.upload-zone.dragover {
  background: #dbeafe;
  border-color: #2563eb;
}

/* === full mode (3 files) === */
.upload-zone.full {
  border-style: solid;
  border-color: #e5e7eb;
  background: #fff;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

.full-title {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  display: none;
}

.upload-zone.full .full-title {
  display: block;
}
.upload-zone.full .zone-content {
  display: none;
}

.full-list {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.upload-zone.full .full-list {
  display: flex;
}

.full-file-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: #2563eb;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  background: #f9fafb;
}

.full-file-row:last-child {
  background: #f3f4f6;
}

.full-file-row .del-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9ca3af;
  display: flex;
  align-items: center;
}

/* === zone content (default) === */
.zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zone-content svg.cloud {
  width: 64px;
  height: 64px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.zone-content p {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 14px;
}
.zone-content .hint {
  margin-bottom: 16px;
}
.zone-content .hint b {
  color: #2563eb;
  font-weight: 600;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border: 1.5px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.upload-btn:hover {
  background: #f0f4ff;
}

input[type="file"] {
  display: none;
}

/* === loading === */
.upload-zone.loading .zone-content,
.upload-zone.loading .full-title,
.upload-zone.loading .full-list {
  display: none;
}

.loader {
  display: none;
  width: 36px;
  height: 36px;
  border: 3px solid #bfdbfe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.upload-zone.loading .loader {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === error state === */
.upload-zone.error {
  border-color: #ef4444;
  background: #fff1f2;
}

.upload-zone.error .zone-content svg.cloud {
  color: #f87171;
}

.error-msg {
  margin-top: 6px;
  font-size: 13px;
  color: #ef4444;
  display: none;
}
.error-msg.visible {
  display: block;
}

/* === toast === */
.toast {
  position: fixed;
  top: 2.4rem;
  right: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #fff;
  border: 1.5px solid var(--black);;
  border-radius: 10px;
  padding: 1.2rem 1.6rem;
  font-size: 1.8rem;
  color: var(--black);;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 1000;
  max-width: 28rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* === file list below (1–2 files) === */
.file-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: #2563eb;
  padding: 0.6rem 1rem;
  border-radius: 0.8rem;
  background: #f9fafb;
}

.file-row svg,
.full-file-row svg {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.file-row span,
.full-file-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  box-orient: vertical;
}

.file-row:last-child {
  background: #f3f4f6;
}

.file-row .del-btn,
.full-file-row .del-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9ca3af;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* End */
/* /local/components/capital/modal/templates/auth/style.css?17917478294600 */
