:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #172033;
  background: #f5f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f7fb;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: #5b6475;
}

form {
  max-width: 420px;
  margin-top: 32px;
}

label {
  display: block;
  margin: 18px 0 6px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd2df;
  border-radius: 8px;
  font: inherit;
  background: white;
}

button {
  margin-top: 20px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

#sign-in-button {
  width: 100%;
}

#login-status {
  min-height: 24px;
  margin-top: 16px;
}


/* Developer Console */

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dce1ea;
}

.developer-session {
  display: flex;
  align-items: center;
  gap: 12px;
}

#developer-role {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8edf5;
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}

#logout-button {
  margin-top: 0;
}

.console-content {
  padding-top: 32px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(220px, 1fr)
  );
  gap: 18px;
  margin-top: 24px;
}

.console-card {
  padding: 20px;
  background: white;
  border: 1px solid #dce1ea;
  border-radius: 12px;
}

.console-card button {
  margin-top: 8px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 700px) {

  main {
    padding: 32px 16px;
  }

  .console-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .developer-session {
    width: 100%;
    justify-content: space-between;
  }

}
