/* Custom ADU Calculator – base layout */

.custom-adu {
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  max-width: 1200px;
  margin: 0 auto;
}

.custom-adu-inner {
  width: 100%;
}

/* Header */

.custom-adu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.custom-adu-heading-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-adu-eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #777;
}

.custom-adu-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.custom-adu-title span {
  color: #b7202e; /* red accent */
}

.custom-adu-top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #b7202e;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #FFFFFF !important; 
}

.custom-adu-top-button:hover {
  color: #fff;
}

/* Grid */

.custom-adu-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

/* Columns */

.custom-adu-col {
  box-sizing: border-box;
}

.custom-adu-col-left {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-adu-col-center {
  flex: 1 1 360px;
}

.custom-adu-col-right {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Metric cards */

.custom-adu-metric-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 16px 20px;
}

.custom-adu-metric-label {
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-adu-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #aaa;
  font-size: 11px;
  line-height: 1;
}

.custom-adu-metric-value {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 700;
}

/* Image */

.custom-adu-image-wrap {
  border-radius: 20px;
  overflow: hidden;
}

.custom-adu-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Fields */

.custom-adu-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.custom-adu-field-label {
  font-size: 14px;
  font-weight: 500;
}

.custom-adu-select-wrap {
  position: relative;
}

.custom-adu-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid #b7202e;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  font-size: 14px;
}

/* CTA button */

.custom-adu-actions {
  margin-top: 8px;
}

.custom-adu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  background: #b7202e;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.custom-adu-cta:hover {
  color: #fff;
}

/* Responsive */

@media (max-width: 900px) {
  .custom-adu {
    padding: 24px 16px;
  }

  .custom-adu-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-adu-grid {
    flex-direction: column;
  }

  .custom-adu-col-left,
  .custom-adu-col-center,
  .custom-adu-col-right {
    flex: 1 1 100%;
  }
}
