/* === RECONNECT main.css === */

:root {
  --navy:    #0e2c4a;
  --teal:    #007d91;
  --teal-lt: #00a3bb;
  --sky:     #e8f6f9;
  --accent:  #f0a500;
  --text:    #1e2d3d;
  --muted:   #5a7282;
  --white:   #ffffff;
  --line-h:  3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── LINKS ── */
a { text-decoration: none; transition: color 0.25s; }
a:hover { text-decoration: none; }

/* ── HEADER ── */
.rc-header {
  background: var(--white);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-bottom: 1px solid #d8e8ed;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo {
  height: 52px;
  width: auto;
  display: block;
  /* the PNG has a black background: render it correctly on white header */
  mix-blend-mode: multiply;
}

.rc-header .login-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.rc-header .login-link:hover { color: var(--teal); }

/* ── TEAL LINE ── */
.rc-line {
  height: var(--line-h);
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-lt) 60%, var(--accent) 100%);
  width: 100%;
}

/* ── HERO ── */
.rc-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a4a68 55%, #0e6b86 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 110%, rgba(0, 163, 187, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% -10%, rgba(240, 165, 0, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.rc-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 52px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.rc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.rc-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rc-hero h1 .re { color: var(--teal-lt); }

.rc-hero .tagline {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.rc-hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CONTENT SECTIONS ── */
.rc-section {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 2.4rem 1.5rem;
}

.rc-section h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--teal-lt);
  display: inline-block;
}

.rc-section p { color: var(--text); }

/* ── FEATURE LIST ── */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: var(--sky);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  color: var(--text);
}

.feature-list li::before {
  content: '›';
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 1.02rem;
  color: var(--text);
  border-bottom: 1px solid #ddedf0;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '✓';
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CARD STRIP ── */
.card-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.rc-card {
  background: var(--white);
  border: 1.5px solid #c8dde4;
  border-radius: 8px;
  padding: 1.2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 100, 130, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.rc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 100, 130, 0.12);
}

.rc-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.rc-card h4 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0;
}

/* ── DIVIDER ── */
.rc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8d8e2, transparent);
  margin: 0 1.5rem;
}

/* ── ACCESS BLOCK ── */
.rc-access {
  background: var(--sky);
  padding: 2.4rem 1.5rem;
}

.rc-access-inner {
  max-width: 920px;
  margin: 0 auto;
}

.rc-access h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--teal-lt);
  display: inline-block;
}

/* ── LOGIN FORM ── */
.rc-login-wrap {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
}

.rc-login-card {
  background: var(--white);
  border: 1.5px solid #c8dde4;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 70, 100, 0.10);
  padding: 2.2rem 2rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.rc-login-card h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
}

.rc-login-card .form-control {
  border-color: #b8d8e2;
  border-radius: 6px;
  font-size: 0.97rem;
  padding: 0.55rem 0.9rem;
}

.rc-login-card .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 125, 145, 0.18);
}

.btn-rc {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  width: 100%;
  transition: background 0.25s, transform 0.15s;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.btn-rc:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.rc-login-card .links {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.rc-login-card .links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.rc-login-card .links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ── PRIVACY SECTION ── */
.rc-section.privacy h2 {
  font-size: 1.1rem;
}

.rc-section.privacy p {
  font-size: 0.93rem;
}

.rc-section.privacy a {
  color: var(--teal);
  font-weight: 600;
}

.rc-section.privacy a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ── FOOTER ── */
.rc-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.87rem;
  padding: 1.2rem 1.5rem;
  text-align: center;
}

.rc-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.rc-footer a:hover { color: var(--white); }

/* ── PAGE CONTAINER (error/info pages) ── */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.center-vertical {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 1rem;
  min-height: 60vh;
}

.center-vertical h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.4rem;
}

.center-vertical a {
  color: var(--teal);
  font-weight: 600;
}

.center-vertical a:hover { color: var(--navy); }

/* ── FORM WRAP (register / forgot / reset pages) ── */
.rc-form-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem 2rem;
  flex: 1;
  width: 100%;
}

.rc-form-card {
  background: var(--white);
  border: 1.5px solid #c8dde4;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 70, 100, 0.10);
  padding: 2.2rem 2rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.rc-form-card--wide { max-width: 540px; }

.rc-form-card h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.rc-form-desc {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.rc-form-card .form-control {
  border-color: #b8d8e2;
  border-radius: 6px;
  font-size: 0.97rem;
  padding: 0.55rem 0.9rem;
  text-align: left;
}

.rc-form-card .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(0, 125, 145, 0.18);
}

.rc-form-card select.form-control { color: var(--text); }

.rc-form-card .links {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.rc-form-card .links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.rc-form-card .links a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* ── OUTLINE BUTTON (status pages) ── */
.btn-rc-outline {
  display: inline-block;
  padding: 0.55rem 1.8rem;
  border: 2px solid var(--teal);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--teal);
  text-decoration: none;
  transition: background 0.22s, color 0.22s, transform 0.15s;
  letter-spacing: 0.02em;
}

.btn-rc-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── TEXT LINK (secondary action) ── */
.rc-text-link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.rc-text-link:hover { color: var(--navy); }

/* ── STATUS ICONS ── */
.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
  flex-shrink: 0;
  margin-bottom: 0.2rem;
}

.status-icon--success { background: #d4f0e0; color: #1a7a46; border: 2px solid #a8dfc0; }
.status-icon--error   { background: #fde8e8; color: #b52222; border: 2px solid #f5b8b8; }
.status-icon--warning { background: #fff4d6; color: #a06200; border: 2px solid #ffd980; }
.status-icon--muted   { background: var(--sky); color: var(--navy); border: 2px solid #c8dde4; font-size: 1.1rem; }

/* ── center-vertical typography ── */
.center-vertical p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .rc-section, .rc-access-inner { padding: 2rem 1.2rem; }
}

@media (max-width: 768px) {
  .rc-hero { padding: 3.5rem 1rem 3rem; }
  .rc-section, .rc-access-inner { padding: 1.8rem 1rem; }
  .rc-login-card { padding: 1.6rem 1.2rem; }
  .rc-header { padding: 0.6rem 1rem; }
  .header-logo { height: 40px; }
}

@media (max-width: 480px) {
  .rc-header { padding: 0.6rem 1rem; }
  .header-logo { height: 32px; }
  .feature-list { grid-template-columns: 1fr; }
  .card-strip { grid-template-columns: 1fr 1fr; }
  .rc-hero h1 { font-size: 1.7rem; }
  .rc-login-card { padding: 1.4rem 1rem; }
}

@media (max-width: 360px) {
  .card-strip { grid-template-columns: 1fr; }
  .rc-hero .tagline { font-size: 0.85rem; letter-spacing: 0.03em; }
}

/* ── LOGIN ALERT ── */
.rc-alert {
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.4;
}

.rc-alert--error {
  background: #fde8e8;
  color: #b52222;
  border: 1.5px solid #f5b8b8;
}

.rc-alert--success {
  background: #d4f0e0;
  color: #1a7a46;
  border: 1.5px solid #a8dfc0;
}
