:root {
  --ro-blue:   #002B7F;
  --ro-yellow: #FCD116;
  --ro-red:    #CE1126;
}


:root {
  --bg:           #ffffff;
  --bg-card:      #f8f8f8;
  --fg:           #111111;
  --fg-muted:     #555555;
  --fg-faint:     #999999;
  --accent:       #1a9e8f;
  --border:       #e2e2e2;
  --nav-bg:       rgba(255, 255, 255, 0.93);
  --shadow:       0 2px 16px rgba(0, 0, 0, 0.06);
  --badge-bg:     #111111;
  --badge-fg:     #ffffff;
  --badge-m-bg:   #e5e5e5;
  --badge-m-fg:   #777777;
  --uptime-bg:    #22c55e;
  --uptime-fg:    #ffffff;
  --pill-os-bg:   #111111;
  --pill-os-fg:   #ffffff;
  --pill-c-bg:    #eeeeee;
  --pill-c-fg:    #555555;
  --motif-color:  rgba(0, 0, 0, 0.18);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
}

html body #matrixchat .mx_AuthPage {
  background: var(--bg) !important;
}

a { color: inherit; }
ul { list-style: none; }

.mx_AuthPage {
  background: var(--bg);
}

.ro-tricolor {
  display: flex;
  height: 4px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
}

.ro-tricolor span {
  flex: 1;
}

.ro-blue   { background: var(--ro-blue); }
.ro-yellow { background: var(--ro-yellow); }
.ro-red    { background: var(--ro-red); }


.lro-button {
  display: inline-block;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 210px;
  height: 1rem;
  margin: 4px;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--ro-blue);
  border-bottom: 4px solid var(--ro-blue);
  border-radius: 6px;
  color: var(--ro-blue);
}

.lro-button:hover {
  border-color: var(--ro-yellow);
  border-bottom: 4px solid var(--ro-yellow);
  background: var(--ro-red);
  color: #ffffff;
}

.mx_Logo {
  display: block;
  margin: auto;
  width: 50%;
}

.mx_Welcome {
   background: var(--bg);
   border-top: 12px solid var(--ro-red);
   border-bottom: 4px solid var(--ro-blue);
   border-bottom-left-radius: 100%;
   border-bottom-right-radius: 100%;
   padding: 12px;
}
.mx_AuthPage_modalContent {
	background: none !important;
	box-shadow: none !important;
}
