#mo-excel-import-modal {
  position: fixed;
  inset: 0;
  z-index: 1000001;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(9px);
}

.mo-excel-import-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  box-sizing: border-box;
  padding: 22px;

  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(20, 25, 39, 0.99),
      rgba(9, 13, 24, 0.99)
    );

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.mo-excel-import-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 18px;
}

.mo-excel-import-title {
  margin: 0 0 5px;

  color: #f8fafc;
  font-size: 20px;
  font-weight: 800;
}

.mo-excel-import-description {
  margin: 0;

  color: rgba(226, 232, 240, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

.mo-excel-import-close {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 11px;

  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;

  font-size: 20px;
  cursor: pointer;
}

.mo-excel-import-close:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fecaca;
}

.mo-excel-import-file {
  display: flex;
  align-items: center;
  gap: 13px;

  width: 100%;
  box-sizing: border-box;
  padding: 15px;

  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 15px;

  background: rgba(99, 102, 241, 0.085);
  color: #e2e8f0;

  text-align: left;
  cursor: pointer;
}

.mo-excel-import-file:hover {
  border-color: rgba(129, 140, 248, 0.52);
  background: rgba(99, 102, 241, 0.15);
}

.mo-excel-import-file-icon {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 12px;

  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;

  font-size: 20px;
  font-weight: 800;
}

.mo-excel-import-file strong,
.mo-excel-import-file small {
  display: block;
}

.mo-excel-import-file strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.mo-excel-import-file small {
  color: rgba(226, 232, 240, 0.58);
  font-size: 12px;
}

.mo-excel-import-divider {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 18px 0;

  color: rgba(226, 232, 240, 0.42);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mo-excel-import-divider::before,
.mo-excel-import-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;

  background: rgba(148, 163, 184, 0.16);
}

.mo-excel-paste-label {
  display: block;
  margin-bottom: 8px;

  color: #e2e8f0;
  font-size: 13px;
  font-weight: 750;
}

.mo-excel-paste-area {
  display: block;

  width: 100%;
  min-height: 190px;
  resize: vertical;

  box-sizing: border-box;
  padding: 13px 14px;

  border: 1px solid rgba(148, 163, 184, 0.21);
  border-radius: 14px;
  outline: none;

  background: rgba(2, 6, 23, 0.58);
  color: #f8fafc;

  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;

  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.mo-excel-paste-area:focus {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.13);
}

.mo-excel-paste-area::placeholder {
  color: rgba(148, 163, 184, 0.52);
}

.mo-excel-paste-help {
  margin: 8px 0 17px;

  color: rgba(226, 232, 240, 0.5);
  font-size: 12px;
  line-height: 1.45;
}

.mo-excel-import-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.mo-excel-import-cancel,
.mo-excel-import-paste {
  min-height: 39px;
  box-sizing: border-box;
  padding: 8px 15px;

  border-radius: 11px;

  font: inherit;
  font-size: 13px;
  font-weight: 750;

  cursor: pointer;
}

.mo-excel-import-cancel {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: #cbd5e1;
}

.mo-excel-import-paste {
  border: 1px solid rgba(129, 140, 248, 0.4);

  background:
    linear-gradient(
      135deg,
      rgba(99, 102, 241, 0.95),
      rgba(124, 58, 237, 0.95)
    );

  color: #ffffff;
}

.mo-excel-import-paste:hover {
  filter: brightness(1.08);
}

.mo-excel-import-paste:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
