
.az-coatingstage-table-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 42, 159, 0.16);
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(13, 22, 78, 0.1);
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-coatingstage-table-wrap *,
.az-coatingstage-table-wrap *::before,
.az-coatingstage-table-wrap *::after {
  box-sizing: border-box;
}

.az-coatingstage-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.az-coatingstage-table th,
.az-coatingstage-table td {
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.az-coatingstage-table thead {
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.62),
      transparent 36%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
}

.az-coatingstage-table th {
  padding: 22px 25px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.az-coatingstage-table th:nth-child(1) {
  width: 40%;
}

.az-coatingstage-table th:nth-child(2) {
  width: 25%;
}

.az-coatingstage-table th:nth-child(3) {
  width: 35%;
  border-right: 0;
}

.az-coatingstage-table td {
  position: relative;
  padding: 20px 25px;
  color: #53607c;
  background: #fff;
  border-right: 1px solid #e4eaf2;
  border-bottom: 1px solid #e4eaf2;
  font-size: 14px;
  line-height: 1.6;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.az-coatingstage-table td:last-child {
  border-right: 0;
}

.az-coatingstage-table tbody tr:last-child td {
  border-bottom: 0;
}

.az-coatingstage-table tbody tr:hover td {
  color: #263451;
  background: #f6f9ff;
}

.az-coatingstage-table tbody tr td:first-child::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 4px;
  background: linear-gradient(to bottom, #4d6dff, #162a9f);
  border-radius: 0 5px 5px 0;
  opacity: 0;
  transform: scaleY(0.35);
  transition:
 ballot opacity 0.3s ease,
    transform 0.3s ease;
}

.az-coatingstage-table tbody tr:hover td:first-child::before {
  opacity: 1;
  transform: scaleY(1);
}

.az-coatingstage-name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.az-coatingstage-name span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  color: #fff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  border-radius: 12px;
  box-shadow: 0 7px 16px rgba(22, 42, 159, 0.2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.3s ease,
    border-radius 0.3s ease;
}

.az-coatingstage-name strong {
  color: #0d164e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.az-coatingstage-table tbody tr:hover .az-coatingstage-name span {
  border-radius: 50%;
  transform: rotate(-7deg) scale(1.07);
}

.az-coatingstage-grit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  min-height: 38px;
  padding: 8px 16px;
  color: #162a9f;
  background: #edf3ff;
  border: 1px solid #cbd7ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.az-coatingstage-table tbody tr:hover .az-coatingstage-grit {
  color: #fff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  transform: translateX(4px);
}

@media (max-width: 720px) {
  .az-coatingstage-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .az-coatingstage-table,
  .az-coatingstage-table tbody,
  .az-coatingstage-table tr,
  .az-coatingstage-table td {
    display: block;
    width: 100%;
  }

  .az-coatingstage-table thead {
    display: none;
  }

  .az-coatingstage-table tbody {
    display: grid;
    gap: 15px;
  }

  .az-coatingstage-table tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(22, 42, 159, 0.16);
    border-radius: 17px;
    box-shadow: 0 12px 28px rgba(13, 22, 78, 0.08);
  }

  .az-coatingstage-table td {
    padding: 18px;
    background: #fff;
    border-right: 0;
    border-bottom: 1px solid #e4eaf2;
  }

  .az-coatingstage-table td:last-child {
    border-bottom: 0;
  }

  .az-coatingstage-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 12px;
    color: #162a9f;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .az-coatingstage-table tbody tr td:first-child::before {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-coatingstage-table td,
  .az-coatingstage-table tbody tr td:first-child::before,
  .az-coatingstage-name span,
  .az-coatingstage-grit {
    transition: none;
  }
}
