.nx9-erp-wrapper {
  max-width: 1040px;
  margin: 32px auto;
  padding: 0 16px;
}

.nx9-erp-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(23, 92, 230, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.08);
}

.nx9-erp-card::before,
.nx9-erp-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.nx9-erp-card::before {
  width: 220px;
  height: 220px;
  top: -110px;
  right: -80px;
  background: radial-gradient(circle, rgba(23, 92, 230, 0.16) 0%, rgba(23, 92, 230, 0) 72%);
}

.nx9-erp-card::after {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: -50px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.14) 0%, rgba(0, 191, 255, 0) 72%);
}

.nx9-erp-card > * {
  position: relative;
  z-index: 1;
}

.nx9-erp-card h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.nx9-erp-card > p {
  margin: 0;
  max-width: 760px;
  color: #475467;
  font-size: 16px;
  line-height: 1.65;
}

.nx9-erp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin: 28px 0 22px;
}

.nx9-erp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nx9-erp-field label {
  font-size: 14px;
  font-weight: 700;
  color: #243b53;
}

.nx9-erp-field input,
.nx9-erp-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  color: #101828;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.nx9-erp-field input::placeholder,
.nx9-erp-field select::placeholder {
  color: #98a2b3;
}

.nx9-erp-field input:hover,
.nx9-erp-field select:hover {
  border-color: #b7c4d6;
}

.nx9-erp-field input:focus,
.nx9-erp-field select:focus {
  outline: none;
  border-color: #175ce6;
  box-shadow: 0 0 0 4px rgba(23, 92, 230, 0.12);
  transform: translateY(-1px);
}

.nx9-erp-field select:disabled,
.nx9-erp-field input:disabled {
  background: #f8fafc;
  color: #98a2b3;
  cursor: not-allowed;
}

.nx9-erp-summary {
  margin: 8px 0 26px;
  padding: 22px;
  border: 1px solid rgba(23, 92, 230, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.nx9-erp-summary p {
  margin: 0 0 12px;
  color: #344054;
  line-height: 1.6;
}

.nx9-erp-summary p:last-child {
  margin-bottom: 0;
}

.nx9-erp-summary strong {
  color: #0f172a;
}

#nx9_estimated_minutes,
#nx9_reserved_hours {
  display: inline-block;
  min-width: 44px;
  color: #175ce6;
  font-weight: 700;
}

.nx9-erp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #175ce6 0%, #0b72ff 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 30px rgba(23, 92, 230, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.nx9-erp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(23, 92, 230, 0.34);
  filter: brightness(1.02);
}

.nx9-erp-button:active {
  transform: translateY(0);
}

.nx9-erp-alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.nx9-erp-alert.success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #a6f4c5;
}

.nx9-erp-alert.error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

@media (max-width: 900px) {
  .nx9-erp-card {
    padding: 26px 22px;
    border-radius: 20px;
  }

  .nx9-erp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nx9-erp-wrapper {
    margin: 18px auto;
    padding: 0 10px;
  }

  .nx9-erp-card {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .nx9-erp-card h2 {
    font-size: 32px;
  }

  .nx9-erp-card > p {
    font-size: 15px;
  }

  .nx9-erp-button {
    width: 100%;
  }
}

.nx9-erp-field textarea{width:100%;min-height:120px;padding:14px 16px;border:1px solid #d0d5dd;border-radius:14px;box-sizing:border-box;background:rgba(255,255,255,0.92);color:#101828;font-size:15px;transition:border-color .2s ease, box-shadow .2s ease, transform .15s ease;}
