/* Fiori Horizon login page */
@font-face { font-family: '72'; src: url('../fonts/72-Regular-full.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: '72'; src: url('../fonts/72-Bold-full.woff2') format('woff2'); font-weight: 700; font-display: swap; }
:root {
  --fl-brand: #0070f2;
  --fl-brand-hover: #0064d9;
  --fl-text: #1d2d3e;
  --fl-text-secondary: #556b82;
  --fl-field-border: #556b81;
  --fl-focus: #0032a5;
  --fl-card: #ffffff;
}
html, body {
  height: 100%;
  margin: 0;
  font-size: 14px;
}
body,
body.login {
  height: auto;
  min-height: 100%;
  font-family: "72", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--fl-text);
  -webkit-font-smoothing: antialiased;
  background-color: #f5f6f7;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(27, 144, 255, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(120, 88, 255, .25), transparent 60%),
    linear-gradient(160deg, #eaf4ff 0%, #f5f6f7 55%, #eef0ff 100%);
}
.fl-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
}
.fl-card {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  padding: 36px 40px 28px;
  background: var(--fl-card);
  border-radius: 16px;
  box-shadow: 0 0 .125rem 0 rgba(34, 53, 72, .15), 0 1rem 2rem 0 rgba(34, 53, 72, .15);
}
.fl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.fl-brand img { height: 32px; width: auto; }
.fl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0070f2 0%, #1b90ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.fl-company { font-weight: 700; font-size: 1.072rem; }
body .fl-card h1 {
  color: var(--fl-text);
}
.fl-card h1 {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin: 0 0 2px;
}
.fl-sub {
  margin: 0 0 24px;
  color: var(--fl-text-secondary);
  text-transform: none;
}
.fl-label {
  display: block;
  margin: 0 0 4px;
  font-size: .929rem;
  color: var(--fl-text-secondary);
}
.fl-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  margin: 0 0 16px;
  padding: 0 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--fl-text);
  background: #fff;
  border: 1px solid var(--fl-field-border);
  border-radius: 6px;
  outline: none;
  transition: background-color .1s ease, border-color .1s ease;
}
.fl-input:hover { background: #f5f6f7; border-color: var(--fl-brand-hover); }
.fl-input:focus { background: #fff; outline: 2px solid var(--fl-focus); outline-offset: -1px; }
.fl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--fl-brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: background-color .1s ease;
}
.fl-button:hover { background: var(--fl-brand-hover); }
.fl-button:focus-visible { outline: 2px solid var(--fl-focus); outline-offset: 2px; }
.fl-button.loading { color: transparent; pointer-events: none; }
.fl-button.loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fl-spin .7s linear infinite;
}
@keyframes fl-spin { to { transform: rotate(360deg); } }
.formFooter {
  margin-top: 20px;
  text-align: center;
}
.formFooter a {
  color: #0064d9;
  cursor: pointer;
  text-decoration: none;
}
.formFooter a:hover { text-decoration: underline; }
.fl-wrap footer {
  margin-top: 24px;
  color: var(--fl-text-secondary);
  font-size: .857rem;
}
.hide-all { display: none; }
@media (max-width: 480px) {
  .fl-card { padding: 28px 22px 22px; border-radius: 12px; }
}
