:root{
  --font-family: "Urbanist", system-ui, sans-serif;

  --text-color: #002059;
  --headline-color: #0097d7;

  --page-bg: #f3f5f7;
  --card-bg: #ffffff;

  --card-max: 420px;

  --shadow: 0 8px 24px rgba(0,0,0,.18);
  --radius: 10px;

  --button-hover-bg: #002059;
  --button-hover-text: #ffffff;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background: var(--page-bg);
  color: var(--text-color);
}

/* ---------- Loading ---------- */

.is-loading #cardRoot{
  visibility: hidden;
}

.loading{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(243,245,247,.92);
  z-index: 999;
}

.is-loading .loading{
  display: flex;
}

.loading-box{
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.loading-title{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.loading-bar{
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.10);
  overflow: hidden;
}

.loading-bar-fill{
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: var(--headline-color);
  animation: loadingMove 1s ease-in-out infinite;
}

@keyframes loadingMove{
  0%   { transform: translateX(-120%); }
  50%  { transform: translateX(60%); }
  100% { transform: translateX(240%); }
}

/* ---------- Layout ---------- */

.page{
  min-height: 100vh;
  padding: 24px 12px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card{
  width: 100%;
  max-width: var(--card-max);
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ---------- HERO ---------- */

.hero{
  position: relative;
}

.avatar{
  width: 100%;
  display: block;
}

.hero-title{
  position: absolute;
  left: 14px;
  bottom: 10px;
  right: 14px;
  text-shadow: 0 0 10px rgba(255,255,255,.9);
}

.hero-title h1{
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0.6px;
  font-weight: 500;
  color: var(--headline-color);
  text-transform: uppercase;
}

/* ---------- LOGOS (Anker 0x0 + Offset) ---------- */

.logo{
  position: absolute;
  top: 10px;
  z-index: 3;

  --logo-base-size: 60px;
  --logo-scale: 1;
  --logo-offset-x: 0px;
  --logo-offset-y: 0px;

  width: 0;
  height: 0;
  overflow: visible;
}

.logo img{
  position: absolute;
  top: 0;
  width: var(--logo-base-size);
  height: var(--logo-base-size);
  object-fit: contain;
  display: block;
}

/* Linkes Logo */
.logo-left{ left: 10px; }

.logo-left img{
  left: 0;
  transform-origin: top left;
  transform:
    translate(var(--logo-offset-x), var(--logo-offset-y))
    scale(var(--logo-scale));
}

/* Rechtes Logo */
.logo-right{ right: 10px; }

.logo-right img{
  right: 0;
  transform-origin: top right;
  transform:
    translate(var(--logo-offset-x), var(--logo-offset-y))
    scale(var(--logo-scale));
}

/* ---------- BODY ---------- */

.card-body{ padding: 16px; }

.rows{
  display: grid;
  gap: 10px;
}

.row{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.row i{
  font-size: 16px;
  margin-top: 2px;
}

.row-strong{ font-weight: 600; }

.sep{
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(0,0,0,.12);
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

/* ---------- Button ---------- */

.card-actions{
  padding: 0 16px 18px;
}

.btn{
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 2px solid var(--text-color);
  background: #ffffff;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .25s ease,
              color .25s ease,
              border-color .25s ease;
}

.btn:hover{
  background: var(--button-hover-bg);
  color: var(--button-hover-text);
  border-color: var(--button-hover-bg);
}

.btn:active{
  transform: translateY(1px);
}