
.az-coating-table-wrap,
.az-coating-table-wrap * {
  box-sizing: border-box;
}

.az-coating-table-wrap {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(22, 42, 159, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(13, 22, 78, 0.11);
  font-family: Arial, Helvetica, sans-serif;
  animation: azCoatingReveal 0.75s ease both;
}

.az-coating-table-wrap::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: -45%;
  width: 30%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: skewX(-18deg);
  animation: azCoatingShine 6s ease-in-out infinite;
}

.az-coating-table {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.az-coating-table th,
.az-coating-table td {
  border: 0;
  text-align: left;
  vertical-align: middle;
}

.az-coating-table thead {
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.72),
      transparent 34%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
  background-size: 130% 130%;
  animation: azCoatingHeader 7s ease-in-out infinite alternate;
}

.az-coating-table th {
  padding: 22px 24px;
  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.05px;
  text-transform: uppercase;
}

.az-coating-table th:last-child {
  border-right: 0;
}

.az-coating-table th:nth-child(1) {
  width: 39%;
}

.az-coating-table th:nth-child(2) {
  width: 27%;
}

.az-coating-table th:nth-child(3) {
  width: 34%;
}

.az-coating-table tbody tr {
  opacity: 0;
  transform: translateX(-24px);
  animation: azCoatingRow 0.55s ease forwards;
}

.az-coating-table tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}

.az-coating-table tbody tr:nth-child(2) {
  animation-delay: 0.2s;
}

.az-coating-table tbody tr:nth-child(3) {
  animation-delay: 0.3s;
}

.az-coating-table tbody tr:nth-child(4) {
  animation-delay: 0.4s;
}

.az-coating-table td {
  position: relative;
  padding: 23px 24px;
  color: #53607d;
  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,
    padding-left 0.3s ease;
}

.az-coating-table td:first-child {
  color: #0d164e;
  font-size: 15px;
  font-weight: 800;
}

.az-coating-table td:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #4d6dff, #162a9f);
  border-radius: 0 999px 999px 0;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

.az-coating-table td:nth-child(2) {
  color: #162a9f;
  font-weight: 800;
}

.az-coating-table td:last-child {
  border-right: 0;
}

.az-coating-table tbody tr:last-child td {
  border-bottom: 0;
}

.az-coating-table tbody tr:hover td {
  background: #f3f7ff;
}

.az-coating-table tbody tr:hover td:first-child {
  padding-left: 32px;
  color: #162a9f;
}

.az-coating-table tbody tr:hover td:first-child::before {
  height: 58%;
}

.az-coating-table tbody tr:hover td:nth-child(2) {
  color: #4d6dff;
}

@keyframes azCoatingReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    box-shadow: 0 8px 20px rgba(13, 22, 78, 0.05);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 22px 50px rgba(13, 22, 78, 0.11);
  }
}

@keyframes azCoatingRow {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes azCoatingShine {
  0%,
  68% {
    left: -45%;
  }

  88%,
  100% {
    left: 125%;
  }
}

@keyframes azCoatingHeader {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 680px) {
  .az-coating-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .az-coating-table-wrap::before {
    display: none;
  }

  .az-coating-table,
  .az-coating-table tbody,
  .az-coating-table tr,
  .az-coating-table td {
    display: block;
    width: 100%;
  }

  .az-coating-table thead {
    display: none;
  }

  .az-coating-table tbody {
    display: grid;
    gap: 15px;
  }

  .az-coating-table tbody tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(22, 42, 159, 0.16);
    border-radius: 17px;
    box-shadow: 0 12px 27px rgba(13, 22, 78, 0.08);
  }

  .az-coating-table td {
    position: relative;
    padding: 18px;
    background: #fff;
    border-right: 0;
    border-bottom: 1px solid #e4eaf2;
  }

  .az-coating-table td:last-child {
    border-bottom: 0;
  }

  .az-coating-table td::before {
    content: attr(data-label);
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin-bottom: 9px;
    color: #162a9f;
    background: transparent;
    border-radius: 0;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: none;
  }

  .az-coating-table tbody tr:hover td:first-child {
    padding-left: 18px;
  }

  .az-coating-table tbody tr:hover td:first-child::before {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-coating-table-wrap,
  .az-coating-table-wrap::before,
  .az-coating-table thead,
  .az-coating-table tbody tr {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .az-coating-table td {
    transition: none;
  }
}
