.user-apply-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.user-apply-modal.is-open {
  display: flex;
}

.user-apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

.user-apply-modal__dialog {
  position: relative;
  width: min(480px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.user-apply-modal.is-open .user-apply-modal__dialog {
  transform: translateY(0);
  opacity: 1;
}

.user-apply-modal__topline {
  height: 5px;
  background: linear-gradient(90deg, #3b82f6, #14b8a6, #f97316);
}

.user-apply-modal__body {
  padding: 26px;
}

.user-apply-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 23px;
}

.user-apply-modal--success .user-apply-modal__icon {
  background: #ecfdf5;
  color: #059669;
}

.user-apply-modal--danger .user-apply-modal__icon {
  background: #fef2f2;
  color: #dc2626;
}

.user-apply-modal--reviewer .user-apply-modal__icon {
  background: #eef2ff;
  color: #4f46e5;
}

.user-apply-modal__kicker {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.user-apply-modal__title {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: 0;
  word-break: keep-all;
}

.user-apply-modal__message {
  margin: 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

.user-apply-modal__amount {
  margin-top: 16px;
  padding: 15px 16px;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  text-align: center;
}

.user-apply-modal__amount-label {
  display: block;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.user-apply-modal__amount-value {
  display: block;
  margin-top: 5px;
  color: #059669;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.user-apply-modal__detail {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-line;
}

.user-apply-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 26px 26px;
}

.user-apply-modal__actions .btn {
  min-width: 112px;
}

@media (max-width: 520px) {
  .user-apply-modal {
    padding: 16px;
  }

  .user-apply-modal__body {
    padding: 22px;
  }

  .user-apply-modal__title {
    font-size: 21px;
  }

  .user-apply-modal__actions {
    flex-direction: column-reverse;
    padding: 0 22px 22px;
  }

  .user-apply-modal__actions .btn {
    width: 100%;
  }
}
