@font-face {
  font-family: "72";
  src: url("https://ui5.sap.com/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "72";
  src: url("https://ui5.sap.com/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2")
    format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
[hidden] {
  display: none !important;
}
:root {
  font-family: "72", "Segoe UI", Arial, sans-serif;
  --nav: #071d2b;
  --blue: #006f86;
  --ocean: #00aeb8;
  --ocean-dark: #006f86;
  --magellano: #b60000;
  --line: #d9e3e7;
  --muted: #647582;
}
body,
button,
input,
select,
textarea {
  font-family: "72", "Segoe UI", Arial, sans-serif;
}
.login-shell {
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(0, 174, 184, 0.42),
      transparent 30%
    ),
    radial-gradient(circle at 90% 92%, rgba(182, 0, 0, 0.2), transparent 28%),
    linear-gradient(135deg, #061923, #10384a);
}
.login-card {
  border-radius: 18px;
  border-top: 5px solid var(--magellano);
  box-shadow: 0 24px 80px #00131e99;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-name {
  display: grid;
  gap: 2px;
}
.brand-name strong {
  font-size: 17px;
  letter-spacing: 0.035em;
}
.brand-name span {
  color: var(--ocean-dark);
  font-size: 13px;
  font-weight: 700;
}
.login-card h1 {
  margin-top: 30px;
  font-size: 30px;
}
.brand-mark {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  border-radius: 14px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}
.login-card input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 174, 184, 0.14);
}
button {
  background: var(--ocean-dark);
  border-radius: 9px;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  background: #00586b;
}
.error {
  color: var(--magellano);
  font-weight: 700;
  min-height: 18px;
}
.powered-by {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.powered-by strong,
.sidebar-credit strong {
  color: var(--magellano);
}
#app {
  grid-template-columns: 270px 1fr;
}
aside {
  background: var(--nav);
  border-right: 4px solid var(--ocean);
}
.brand strong {
  font-size: 14px;
  letter-spacing: 0.025em;
}
.brand small {
  color: #86a6b2;
}
.nav-item {
  color: #abc2ca;
}
.nav-item.active,
.nav-item:hover {
  background: rgba(0, 174, 184, 0.16);
}
.nav-item.active {
  box-shadow: inset 3px 0 0 var(--ocean);
}
.sidebar-credit {
  padding: 2px 10px 8px;
  color: #7895a0;
  font-size: 11px;
}
header {
  border-top: 4px solid var(--magellano);
}
.stat {
  border-top: 3px solid var(--ocean);
}
.badge {
  background: #e5f7f8;
  color: #006577;
}
.danger {
  color: var(--magellano);
}
.modal-head {
  border-top: 4px solid var(--magellano);
}
#toast {
  border-left: 4px solid var(--ocean);
}
.wizard-step.active {
  background: var(--ocean);
}
.choice-card {
  background: #f3fafb;
}
.choice-card input {
  accent-color: var(--ocean-dark);
}
.summary {
  background: #f0f7f8;
}
@media (max-width: 900px) {
  aside {
    width: 270px;
  }
}
.search-field {
  overflow: visible;
}
.search-picker {
  position: relative;
}
.search-input {
  text-transform: uppercase;
  width: 100%;
  padding-left: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23647582' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 13px center !important;
}
.search-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 310px;
  overflow: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: 0 18px 45px rgba(7, 29, 43, 0.22);
}
.search-result {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  background: #fff;
  color: #152536;
  text-align: left;
  border-radius: 7px;
}
.search-result:hover,
.search-result.active {
  background: #e5f7f8;
  color: #00586b;
}
.search-result strong {
  font-size: 14px;
}
.search-result small {
  color: var(--muted);
  font-size: 11px;
}
.search-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}
.date-time-card {
  align-self: start;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbfc;
}
.date-time-card > strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ocean-dark);
}
.date-time-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.6fr);
  gap: 10px;
}
.date-time-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.date-time-fields input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 12px;
  color: #152536;
  font-weight: 700;
}
.duration-shortcuts {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}
.period-error {
  grid-column: 1/-1;
  padding: 11px 13px;
  border-radius: 9px;
  background: #fff0f1;
  color: var(--magellano);
  font-size: 13px;
  font-weight: 700;
}
.date-time-fields input.invalid {
  border-color: var(--magellano);
  box-shadow: 0 0 0 3px rgba(182, 0, 0, 0.1);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.field > small {
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.money-control {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}

.unit-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.unit-control:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(0 174 187 / 14%);
}

.unit-control input {
  border: 0;
  border-radius: 0;
  text-align: right;
  font-weight: 700;
  box-shadow: none !important;
}

.unit-control span {
  display: grid;
  place-items: center;
  padding: 0 16px;
  background: #eef7f8;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

.delivery-fields {
  padding: 14px 16px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #eef7f8;
}

.delivery-fields strong,
.delivery-fields span {
  display: block;
}

.fixed-delivery-value {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fafb;
}

.fixed-delivery-value span,
.fixed-delivery-value strong {
  display: block;
}

.fixed-delivery-value span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.delivery-fields span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}
.money-control:focus-within {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 174, 184, 0.14);
}
.money-control > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  background: #edf6f7;
  color: var(--ocean-dark);
  font-size: 18px;
  font-weight: 800;
}
.money-control .money-input {
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: right;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.summary .vat-row {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}
.summary .vat-row strong {
  color: #40545d;
}
.automatic-status {
  align-self: end;
  margin: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 13px 15px;
  border: 1px solid #bfe5e8;
  border-radius: 10px;
  background: #eefafa;
}
.section-help {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.contract-review {
  display: grid;
  gap: 14px;
  padding: 8px 0;
}
.review-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #f1c3c7;
  border-radius: 9px;
  background: #fff5f5;
  color: var(--magellano);
}
.review-banner span {
  color: #6c4b4e;
  font-size: 12px;
}
.contract-review dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
.contract-review dl > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.contract-review dt {
  color: var(--muted);
  font-size: 11px;
}
.contract-review dd {
  margin: 4px 0 0;
  font-weight: 700;
}
.actions #contract-yousign {
  background: #5b36cf;
}
@media (max-width: 620px) {
  .contract-review dl {
    grid-template-columns: 1fr;
  }
  .review-banner {
    display: grid;
  }
}
.automatic-status > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.automatic-status > strong {
  grid-row: 1/3;
  grid-column: 2;
  align-self: center;
  color: var(--ocean-dark);
  font-size: 13px;
}
.automatic-status > small {
  color: #40545d;
  font-size: 12px;
  line-height: 1.3;
}
.duration-shortcuts span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.duration-shortcuts button {
  padding: 8px 12px;
  background: #e5f7f8;
  color: var(--ocean-dark);
  font-size: 12px;
}
.duration-shortcuts button:hover {
  background: var(--ocean);
  color: #fff;
}
@media (max-width: 620px) {
  .date-time-card {
    grid-column: 1/-1;
  }
  .date-time-fields {
    grid-template-columns: 1fr 110px;
  }
}
