* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: #f7fbfd;
  color: #243447;
}

.uo-page {
  width: 100%;
  overflow: hidden;
  direction: rtl;
}

.uo-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 60px auto 30px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(77, 169, 227, 0.18),
      transparent 34%
    ),
    linear-gradient(135deg, #ffffff, #eef8fe);
  border: 1px solid rgba(77, 169, 227, 0.16);
  border-radius: 34px;
  box-shadow: 0 18px 45px rgba(33, 73, 105, 0.08);
}

.uo-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(77, 169, 227, 0.13);
  color: #2177ad;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.uo-hero-content h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.5;
  color: #18344f;
}

.uo-hero-content p {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 2.1;
  color: #607080;
}

.uo-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.uo-primary-link,
.uo-secondary-link {
  min-width: 145px;
  padding: 13px 22px;
  border-radius: 16px;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.uo-primary-link {
  background: #4da9e3;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(77, 169, 227, 0.28);
}

.uo-primary-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(77, 169, 227, 0.36);
}

.uo-secondary-link {
  background: #ffffff;
  color: #2b4360;
  border: 1px solid #e3eef5;
}

.uo-secondary-link:hover {
  border-color: #4da9e3;
  color: #4da9e3;
}

.uo-hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(77, 169, 227, 0.14);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(32, 78, 110, 0.08);
}

.uo-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: linear-gradient(135deg, #4da9e3, #1f6f9d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.uo-card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uo-hero-card h3 {
  margin: 0 0 14px;
  color: #18344f;
  font-size: 18px;
}

.uo-hero-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.uo-hero-card li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 12px;
  color: #5a6b7b;
  font-size: 14px;
  line-height: 1.9;
}

.uo-hero-card li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: #4da9e3;
  border-radius: 50%;
}

.uo-steps {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.uo-step {
  background: #ffffff;
  border: 1px solid #edf3f7;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(33, 73, 105, 0.05);
  transition: all 0.25s ease;
}

.uo-step:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 169, 227, 0.42);
}

.uo-step span {
  display: inline-flex;
  color: #4da9e3;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
}

.uo-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #18344f;
}

.uo-step p {
  margin: 0;
  color: #72808e;
  font-size: 13px;
  line-height: 1.9;
}

.uo-form-section {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 70px;
  background: #ffffff;
  border: 1px solid #eaf1f6;
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 18px 45px rgba(33, 73, 105, 0.08);
}

.uo-form-header {
  text-align: center;
  margin-bottom: 28px;
}

.uo-form-header h2 {
  margin: 0 0 10px;
  color: #18344f;
  font-size: 24px;
}

.uo-form-header p {
  margin: 0;
  color: #738392;
  font-size: 14px;
  line-height: 1.9;
}

.uo-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.uo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.uo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.uo-field label {
  color: #34485d;
  font-size: 13px;
  font-weight: 700;
}

.uo-field input,
.uo-field textarea {
  width: 100%;
  border: 1.5px solid #dceaf2;
  background: #fbfdff;
  border-radius: 16px;
  padding: 14px 15px;
  font-family: inherit;
  font-size: 14px;
  color: #243447;
  outline: none;
  transition: all 0.2s ease;
}

.uo-field input:focus,
.uo-field textarea:focus {
  border-color: #4da9e3;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(77, 169, 227, 0.1);
}

.uo-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 2;
}

.uo-error {
  min-height: 18px;
  color: #e74c3c;
  font-size: 12px;
}

.uo-products-box {
  border: 1px solid #e7f0f6;
  background: #f8fcff;
  border-radius: 24px;
  padding: 22px;
}

.uo-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.uo-products-head h3 {
  margin: 0 0 6px;
  color: #18344f;
  font-size: 17px;
}

.uo-products-head p {
  margin: 0;
  color: #7a8997;
  font-size: 13px;
}

.uo-add-product {
  border: none;
  background: #4da9e3;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(77, 169, 227, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.uo-add-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(77, 169, 227, 0.32);
}

.uo-products-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uo-product-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 120px 42px;
  gap: 12px;
  align-items: end;
  background: #ffffff;
  border: 1px solid #edf3f7;
  border-radius: 20px;
  padding: 16px;
}

.uo-small-field input {
  text-align: center;
}

.uo-remove-product {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: #fff1f1;
  color: #e74c3c;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uo-remove-product:hover {
  background: #e74c3c;
  color: #ffffff;
}

.uo-note {
  background: rgba(77, 169, 227, 0.08);
  border: 1px solid rgba(77, 169, 227, 0.18);
  border-radius: 18px;
  padding: 15px 18px;
  color: #5d6e7e;
  font-size: 13px;
  line-height: 1.9;
}

.uo-note span {
  color: #2177ad;
  font-weight: 800;
}

.uo-submit-btn {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #4da9e3, #2479ad);
  color: #ffffff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(77, 169, 227, 0.32);
  transition: all 0.25s ease;
}

.uo-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(77, 169, 227, 0.4);
}

.uo-success-message {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: #eafaf0;
  color: #239653;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.uo-success-message.show {
  display: block;
}

@media (max-width: 900px) {
  .uo-hero {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .uo-steps {
    grid-template-columns: 1fr;
  }

  .uo-grid {
    grid-template-columns: 1fr;
  }

  .uo-product-row {
    grid-template-columns: 1fr;
  }

  .uo-remove-product {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .uo-hero {
    margin-top: 30px;
    padding: 24px;
    border-radius: 24px;
  }

  .uo-hero-actions {
    flex-direction: column;
  }

  .uo-primary-link,
  .uo-secondary-link {
    width: 100%;
  }

  .uo-form-section {
    padding: 22px;
    border-radius: 24px;
  }

  .uo-products-head {
    flex-direction: column;
    align-items: stretch;
  }

  .uo-add-product {
    width: 100%;
  }
}
.uo-product-row {
  position: relative;
  padding: 24px;
}

.uo-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  width: 100%;
}

.uo-row-grid .uo-field {
  width: 100%;
  min-width: 0;
}

.uo-row-grid .uo-field input {
  width: 100%;
  box-sizing: border-box;
}

.uo-product-row .uo-small-field {
  width: 100%;
  max-width: none;
}

.uo-file-input {
  background: #fff;
  cursor: pointer;
}

.uo-remove-product {
  position: absolute;
  left: 18px;
  bottom: 18px;
}

@media (max-width: 768px) {
  .uo-row-grid {
    grid-template-columns: 1fr;
  }

  .uo-product-row {
    padding-bottom: 70px;
  }
}
.uo-products-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.uo-product-row {
  position: relative;
  display: block !important;
  width: 100%;
  background: #ffffff;
  border: 1px solid #edf3f7;
  border-radius: 22px;
  padding: 22px 22px 72px;
}

.uo-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  width: 100%;
}

.uo-row-grid .uo-field {
  width: 100%;
  min-width: 0;
}

.uo-row-grid .uo-field input {
  width: 100%;
  min-width: 0;
}

.uo-file-input {
  width: 100%;
  background: #fbfdff;
  cursor: pointer;
}

.uo-remove-product {
  position: absolute;
  left: 22px;
  bottom: 18px;
  width: 44px !important;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: #fff1f1;
  color: #e74c3c;
  font-size: 25px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .uo-row-grid {
    grid-template-columns: 1fr;
  }

  .uo-product-row {
    padding: 18px 18px 72px;
  }

  .uo-remove-product {
    width: 44px !important;
  }
}