:root {
  color-scheme: light;
  --rh-primary: #DE2910;
  --rh-primary-hover: #B91C1C;
  --rh-background: #F8F9FB;
  --rh-surface: #FFFFFF;
  --rh-text: #1F2937;
  --rh-muted: #667085;
  --rh-border: #E5E7EB;
  --rh-success: #15803D;
  --rh-error: #B91C1C;
  --rh-radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--rh-background);
  color: var(--rh-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.rh-header {
  padding: 22px 16px;
  text-align: center;
  background: var(--rh-surface);
  border-bottom: 1px solid var(--rh-border);
}

.rh-logo {
  color: var(--rh-primary);
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.rh-main {
  width: 100%;
  max-width: 520px;
  margin: 36px auto;
  padding: 0 18px;
}

.rh-card {
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(31,41,55,.04);
}

.rh-title {
  margin: 0 0 12px;
  font-size: 29px;
  line-height: 1.2;
}

.rh-text {
  color: var(--rh-muted);
  font-size: 15px;
  line-height: 1.65;
}

.rh-label {
  display: block;
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 600;
}

.rh-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px;
  border: 1px solid #CBD5E1;
  border-radius: 9px;
  background: #FFFFFF;
  color: var(--rh-text);
  font: inherit;
  font-size: 16px;
}

.rh-input:focus-visible {
  outline: 3px solid rgba(222,41,16,.2);
  border-color: var(--rh-primary);
}

.rh-input:disabled {
  background: #F1F5F9;
  opacity: .75;
}

.rh-button {
  display: inline-block;
  width: 100%;
  min-height: 52px;
  margin-top: 26px;
  padding: 15px 20px;
  border: 0;
  border-radius: 9px;
  background: var(--rh-primary);
  color: #FFFFFF;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.rh-button:hover { background: var(--rh-primary-hover); }

.rh-button:focus-visible,
.rh-link:focus-visible {
  outline: 3px solid #F59E0B;
  outline-offset: 3px;
}

.rh-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.rh-link { color: var(--rh-primary-hover); }

.rh-notice {
  margin-top: 22px;
  padding: 15px;
  border-radius: 9px;
  background: #F1F5F9;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.rh-alert-error {
  background: #FEF2F2;
  color: #991B1B;
}

.rh-alert-success {
  background: #F0FDF4;
  color: #166534;
}

.rh-bottom {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 520px) {
  .rh-main { margin: 20px auto; padding: 0 14px; }
  .rh-card { padding: 26px 20px; }
  .rh-title { font-size: 26px; }
}

/* ReloadingHub homepage */
.rh-home {
  background: #F8F9FB;
  color: var(--rh-text);
}

.rh-home header {
  max-width: 1120px;
  margin: auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rh-home .brand {
  font-size: 25px;
  font-weight: 800;
  color: var(--rh-text);
  letter-spacing: -0.7px;
}

.rh-home .brand span {
  color: var(--rh-primary);
}

.rh-home nav a {
  color: var(--rh-primary-hover);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.rh-home main {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 20px;
}

.rh-home .hero {
  width: 100%;
  max-width: 900px;
  text-align: center;
  padding: 68px 48px;
  background: #FFFFFF;
  border: 1px solid var(--rh-border);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(31,41,55,.05);
}

.rh-home .eyebrow {
  color: var(--rh-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.rh-home h1 {
  font-size: clamp(40px, 6.5vw, 74px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 25px 0;
}

.rh-home h1 span {
  color: var(--rh-primary);
}

.rh-home .description {
  max-width: 620px;
  margin: 0 auto;
  color: var(--rh-muted);
  font-size: 17px;
  line-height: 1.8;
}

.rh-home .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.rh-home .btn {
  display: inline-block;
  padding: 17px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.rh-home .primary {
  background: var(--rh-primary);
  color: #FFFFFF;
}

.rh-home .primary:hover {
  background: var(--rh-primary-hover);
}

.rh-home .secondary {
  background: #FFFFFF;
  border: 1px solid var(--rh-primary);
  color: var(--rh-primary-hover);
}

.rh-home .secondary:hover {
  background: #FFF1EF;
}

.rh-home .features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
}

.rh-home .features span {
  padding: 10px 15px;
  border: 1px solid #F5C7C1;
  border-radius: 30px;
  background: #FFF7F6;
  color: #932217;
  font-size: 12px;
}

.rh-home footer {
  text-align: center;
  padding: 25px;
  color: var(--rh-muted);
  font-size: 12px;
}

@media (max-width: 520px) {
  .rh-home header { padding: 20px; }
  .rh-home main { padding: 16px; }
  .rh-home .hero { padding: 42px 20px; }
  .rh-home h1 { letter-spacing: -1px; }
  .rh-home .description { font-size: 15px; }
  .rh-home .actions { flex-direction: column; }
  .rh-home .btn { width: 100%; }
}


/* RELOADINGHUB_LOGO_HUB_BLACK_V181 */
.rh-logo .rh-logo-hub,
.rh-home .brand > .rh-logo-hub {
    color: #000000 !important;
}
