/* General layout */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fb;
    color: #333;
}

header {
    background: #222;
    color: white;
    padding: 1em;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    font-size: 1.2em;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1em;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* View area */
#view-pane {
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
}

/* Auth forms */
.auth-form {
    display: none;
    background: white;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 300px;
}

.auth-form.active {
    display: block;
}

.auth-form input {
    width: 100%;
    padding: 0.8em;
    margin: 0.5em 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.auth-form button {
    width: 100%;
    padding: 0.8em;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-form button:hover {
    background: #005fcc;
}

.toggle-text {
    text-align: center;
    margin-top: 1em;
}

.toggle-text a {
    color: #0078ff;
    text-decoration: none;
    font-weight: 600;
}
/* keep everything in one centered column */
#auth-container {
  max-width: 420px;        /* match your form width */
  margin: 2rem auto;       /* center horizontally */
  display: grid;
  gap: 1rem;               /* consistent spacing between cards */
}

/* ensure forms are full width within the container */
.auth-form {
  width: 100%;
  box-sizing: border-box;
}

/* make the branding block look/size like a form card */
#branding.auth-form.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* tweak visuals for the branding content */
.branding-logo {
  max-width: 96px;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}

.branding-text {
  margin: 0;
  line-height: 1.4;
}

/* optional: give credentials a similar card look (comment out if not desired) */
#demo-credentials {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
}
