
.az-marinesurface-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(22, 42, 159, 0.16);
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(13, 22, 78, 0.09);
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.az-marinesurface-wrap *,
.az-marinesurface-wrap *::before,
.az-marinesurface-wrap *::after {
  box-sizing: border-box;
}

.az-marinesurface-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.az-marinesurface-table th:nth-child(1) {
  width: 28%;
}

.az-marinesurface-table th:nth-child(2) {
  width: 35%;
}

.az-marinesurface-table th:nth-child(3) {
  width: 37%;
}

.az-marinesurface-table thead {
  color: #ffffff;
  background:
    radial-gradient(
      circle at top right,
      rgba(77, 109, 255, 0.55),
      transparent 35%
    ),
    linear-gradient(135deg, #0d164e, #162a9f);
}

.az-marinesurface-table th {
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.9px;
  text-align: left;
  text-transform: uppercase;
}

.az-marinesurface-table th:last-child {
  border-right: 0;
}

.az-marinesurface-table td {
  padding: 20px 22px;
  color: #5b6684;
  background: #ffffff;
  border-right: 1px solid #e3e8f1;
  border-bottom: 1px solid #e3e8f1;
  font-size: 13.5px;
  line-height: 1.55;
  vertical-align: middle;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.az-marinesurface-table td:last-child {
  border-right: 0;
}

.az-marinesurface-table tbody tr:last-child td {
  border-bottom: 0;
}

.az-marinesurface-table tbody tr:hover td {
  color: #33405f;
  background: #f7f9ff;
}

.az-marinesurface-table tbody tr:hover td:first-child {
  box-shadow: inset 5px 0 0 #4d6dff;
}

.az-marinesurface-name {
  display: inline-flex;
  align-items: center;
  color: #0d164e;
  font-weight: 800;
}

.az-marinesurface-name i {
  display: inline-block;
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-right: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.az-marinesurface-name .surface-frp {
  background: #4d6dff;
  box-shadow: 0 0 0 4px rgba(77, 109, 255, 0.12);
}

.az-marinesurface-name .surface-filler {
  background: #d34848;
  box-shadow: 0 0 0 4px rgba(211, 72, 72, 0.12);
}

.az-marinesurface-name .surface-gelcoat {
  background: #00a0b8;
  box-shadow: 0 0 0 4px rgba(0, 160, 184, 0.12);
}

.az-marinesurface-name .surface-primer {
  background: #7456c8;
  box-shadow: 0 0 0 4px rgba(116, 86, 200, 0.12);
}

.az-marinesurface-name .surface-hull {
  background: #e28a00;
  box-shadow: 0 0 0 4px rgba(226, 138, 0, 0.12);
}

.az-marinesurface-name .surface-curves {
  background: #d64a99;
  box-shadow: 0 0 0 4px rgba(214, 74, 153, 0.12);
}

.az-marinesurface-name .surface-finish {
  background: #13a36d;
  box-shadow: 0 0 0 4px rgba(19, 163, 109, 0.12);
}

.az-marinesurface-table tbody tr:hover .az-marinesurface-name i {
  transform: scale(1.2);
}

.az-marinesurface-direction {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  color: #162a9f;
  background: #eef2ff;
  border: 1px solid #d8e0fa;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.az-marinesurface-table tbody tr:hover .az-marinesurface-direction {
  color: #ffffff;
  background: linear-gradient(135deg, #4d6dff, #162a9f);
  box-shadow: 0 8px 18px rgba(22, 42, 159, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .az-marinesurface-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .az-marinesurface-table,
  .az-marinesurface-table tbody,
  .az-marinesurface-table tr,
  .az-marinesurface-table td {
    display: block;
    width: 100%;
  }

  .az-marinesurface-table thead {
    display: none;
  }

  .az-marinesurface-table tbody {
    display: grid;
    gap: 15px;
  }

  .az-marinesurface-table tr {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(22, 42, 159, 0.16);
    border-radius: 17px;
    box-shadow: 0 12px 28px rgba(13, 22, 78, 0.08);
  }

  .az-marinesurface-table td {
    padding: 17px;
    background: #ffffff;
    border-right: 0;
    border-bottom: 1px solid #e3e8f1;
    font-size: 13px;
  }

  .az-marinesurface-table td:last-child {
    border-bottom: 0;
  }

  .az-marinesurface-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 11px;
    color: #162a9f;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1.1px;
    text-transform: uppercase;
  }

  .az-marinesurface-table tbody tr:hover td:first-child {
    box-shadow: inset 4px 0 0 #4d6dff;
  }

  .az-marinesurface-direction {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .az-marinesurface-table td,
  .az-marinesurface-name i,
  .az-marinesurface-direction {
    transition: none;
  }
}
