/* app/assets/stylesheets/application.css */
/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/* Rodeo control-plane gateway */

body.control-plane {
  color-scheme: dark;
  font-family: var(--rodeo-font-sans);
  background: var(--rodeo-color-canvas);
  color: var(--rodeo-color-text);
  margin: 0;
}

.control-plane__gateway {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.control-plane__card {
  background: var(--rodeo-color-surface);
  border: var(--rodeo-border-width) solid var(--rodeo-color-border);
  border-radius: var(--rodeo-radius-panel);
  box-shadow: var(--rodeo-shadow-overlay);
  box-sizing: border-box;
  max-width: 30rem;
  padding: 3rem;
  width: 100%;
}

.control-plane__brand {
  align-items: center;
  background: var(--rodeo-color-action);
  border-radius: var(--rodeo-radius-control);
  color: var(--rodeo-color-on-action);
  display: flex;
  font-family: var(--rodeo-font-sans);
  font-size: 2rem;
  font-weight: 700;
  height: 3.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 3.5rem;
}

.control-plane__eyebrow {
  color: var(--rodeo-color-link);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}

.control-plane__card h1 {
  font-family: var(--rodeo-font-sans);
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  line-height: 1;
  margin: 0;
}

.control-plane__description {
  color: var(--rodeo-color-text-muted);
  margin: 1rem 0 2rem;
}

.control-plane__action {
  background: var(--rodeo-color-action);
  border-radius: var(--rodeo-radius-control);
  color: var(--rodeo-color-on-action);
  display: block;
  font-weight: 700;
  padding: 0.9rem 1rem;
  text-align: center;
  text-decoration: none;
}

.control-plane__action:focus-visible,
.control-plane__action:hover {
  filter: brightness(1.08);
  outline: var(--rodeo-focus-width) solid var(--rodeo-color-focus);
  outline-offset: var(--rodeo-focus-offset);
}

.control-plane__status {
  align-items: center;
  color: var(--rodeo-color-text-muted);
  display: flex;
  font-family: var(--rodeo-font-mono);
  font-size: 0.7rem;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.control-plane__environment {
  border: var(--rodeo-border-width) solid var(--rodeo-color-border);
  border-radius: var(--rodeo-radius-pill);
  color: var(--rodeo-color-text);
  letter-spacing: 0.12em;
  padding: 0.3rem 0.6rem;
}
