﻿.a3sc {
  --a3-navy: #002955;
  --a3-navy-2: #0a3a6e;
  --a3-red: #d0202f;
  --a3-line: #d9dfe8;
  background: #fff;
  border: 1px solid var(--a3-line);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 41, 85, 0.08);
  padding: 1.4rem 1.5rem 1.5rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
  color: #1c2733;
  position: relative;
  overflow: hidden;
}
.a3sc::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--a3-navy) 0%, var(--a3-navy) 70%, var(--a3-red) 70%, var(--a3-red) 100%);
}
.a3sc[hidden] {
  display: none !important;
}
.a3sc__title {
  margin: 0.2rem 0 1rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--a3-navy);
}
.a3sc__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.a3sc [hidden] {
  display: none !important;
}
.a3sc__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 8rem;
  min-width: 7rem;
}
.a3sc__field > span:first-child {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5a6b7e;
}
.a3sc input,
.a3sc select {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--a3-line);
  border-radius: 9px;
  font: inherit;
  width: 100%;
  background: #f7f9fb;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.a3sc input::placeholder {
  color: #b3bdc9;
  opacity: 1;
  font-style: italic;
  font-weight: 400;
}
.a3sc input:focus,
.a3sc select:focus {
  outline: none;
  background: #fff;
  border-color: var(--a3-navy);
  box-shadow: 0 0 0 3px rgba(0, 41, 85, 0.14);
}
.a3sc__ftin {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.a3sc__ftin input {
  width: 4rem;
}
.a3sc__ftin i {
  font-style: normal;
  font-size: 0.78rem;
  color: #5a6b7e;
}
.a3sc__units {
  display: flex;
  gap: 0.8rem;
  border: 0;
  padding: 0 0 0.35rem;
  margin: 0;
  flex: 0 0 auto;
}
.a3sc__units label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: #43536a;
  cursor: pointer;
}
.a3sc__units input {
  width: auto;
  accent-color: var(--a3-navy);
}
.a3sc__btn {
  padding: 0.8rem 1.9rem;
  border: 0;
  border-radius: 9px;
  background: var(--a3-navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 3px 10px rgba(0, 41, 85, 0.25);
}
.a3sc__btn:hover {
  background: var(--a3-navy-2);
  box-shadow: 0 5px 14px rgba(0, 41, 85, 0.3);
}
.a3sc__btn:active {
  transform: translateY(1px);
}
.a3sc__result {
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--a3-navy) 0%, #073563 100%);
  color: #fff;
}
.a3sc__result--error {
  background: #fdf1f2;
  border: 1px solid rgba(208, 32, 47, 0.35);
  border-left: 4px solid var(--a3-red);
  color: #7a1520;
  font-weight: 600;
}
.a3sc__size-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}
.a3sc__size {
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-top: 0.1rem;
}
.a3sc__alt {
  font-size: 0.9rem;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
}
.a3sc__support {
  display: inline-block;
  font-size: 0.83rem;
  margin-top: 0.65rem;
  font-weight: 600;
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
}
.a3sc__note {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
}
.a3sc__disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.62);
}