/* ConocoPhillips  - Premium registration & auth flow */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #040816;
  --card: #09111f;
  --card-2: #0d1729;
  --border: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --muted: #8b98b5;
  --cyan: #22d3ee;
  --blue: #2563eb;
  --amber: #f59e0b;
  --success: #22c55e;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

body.auth-page {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.1), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.07), transparent 24%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.auth-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.auth-glow-top,
.auth-glow-bottom {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.auth-glow-top {
  top: -120px;
  left: -80px;
  background: rgba(37, 99, 235, 0.15);
}

.auth-glow-bottom {
  bottom: -120px;
  right: -80px;
  background: rgba(6, 182, 212, 0.12);
}

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(13, 23, 41, 0.98), rgba(6, 12, 24, 0.98));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem 1.75rem;
  position: relative;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  overflow: visible;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.auth-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  pointer-events: none;
}

.auth-card-sm {
  max-width: 480px;
}

.auth-content {
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .auth-card {
    padding: 2.75rem 2.5rem;
    max-width: 560px;
  }
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.auth-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.auth-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.auth-logo-img {
  width: 56px;
  max-width: none;
  height: auto;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.auth-logo-bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
}

.auth-bar {
  width: 9px;
  border-radius: 20px;
}

.auth-bar:nth-child(1) {
  height: 36px;
  background: #f59e0b;
}

.auth-bar:nth-child(2) {
  height: 24px;
  background: #3b82f6;
  margin-bottom: 10px;
}

.auth-bar:nth-child(3) {
  height: 40px;
  background: #22d3ee;
}

.auth-bar:nth-child(4) {
  height: 28px;
  background: #38bdf8;
  margin-bottom: 8px;
}

.auth-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.auth-brand span {
  color: #fbbf24;
}

.auth-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #67e8f9;
  margin-top: 2px;
}

.auth-title {
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* ---Stepper with connector line ---*/
.auth-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  position: relative;
}

.auth-steps::before {
  content: '';
  position: absolute;
  top: 2.35rem;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  z-index: 0;
}

.auth-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.auth-step-circle {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  transition: all 0.3s ease;
}

.auth-step-circle.done {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.auth-step-circle.active {
  background: linear-gradient(135deg, #2563eb, #0891b2);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 28px rgba(37, 99, 235, 0.45);
  transform: scale(1.08);
}

.auth-step-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.3;
}

.auth-step-sub {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 2px;
}

.auth-step:has(.active) .auth-step-label {
  color: #fff;
}

/* ---Form fields ---*/
.auth-field {
  margin-bottom: 1.15rem;
}

.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .field-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.95rem;
  pointer-events: none;
  transition: color 0.2s;
}

.auth-input-wrap:focus-within .field-icon {
  color: #60a5fa;
}

.auth-input,
.auth-select {
  width: 100%;
  height: 56px;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.auth-input-wrap .auth-input {
  padding-left: 2.85rem;
}

.auth-select {
  padding-right: 2.5rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.auth-input:focus,
.auth-select:focus {
  outline: none;
  border-color: #2563eb;
  background: #0f1b31;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-input::placeholder {
  color: #64748b;
}

.auth-select option {
  background: #0f172a;
  color: #fff;
}

.auth-field-country .auth-select-wrap {
  z-index: 5;
}

.auth-field-country:focus-within .auth-select-wrap {
  z-index: 30;
}

.auth-field-country .auth-select {
  position: relative;
  z-index: 2;
}

.auth-country-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.auth-country-display {
  cursor: pointer;
  width: 100%;
}

.auth-country-panel {
  margin-top: 0.5rem;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 40;
}

.auth-country-search {
  margin-bottom: 0.5rem;
}

.auth-country-list {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.auth-country-item {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #e2e8f0;
  cursor: pointer;
}

.auth-country-item:hover,
.auth-country-item:focus {
  background: rgba(37, 99, 235, 0.22);
  color: #fff;
}

.auth-country-empty {
  padding: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-grid-2 {
  display: grid;
  gap: 0.25rem 1rem;
}

@media (min-width: 640px) {
  .auth-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---Buttons ---*/
.auth-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 58px;
  margin-top: 0.75rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.auth-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.55s;
}

.auth-btn-primary:hover::before {
  transform: translateX(100%);
}

.auth-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.auth-btn-investors {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #000;
}

.auth-btn-investors:hover {
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

/* ---Info & location cards ---*/
.auth-location-card {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.2), rgba(30, 27, 75, 0.4));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}

.auth-info-box {
  background: rgba(10, 29, 57, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.auth-info-box p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.auth-security-box {
  background: rgba(11, 18, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 1.15rem;
}

.auth-security-box > label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.auth-captcha {
  height: 4.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #161f35, #2d1f4e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  font-weight: 800;
  color: #fde047;
  margin-bottom: 0.85rem;
  cursor: pointer;
  user-select: none;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s;
}

.auth-captcha:hover {
  border-color: rgba(251, 191, 36, 0.4);
}

.auth-requirements {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.15rem;
}

.auth-requirements li {
  list-style: none;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.2rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.auth-requirements li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.auth-terms {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  cursor: pointer;
}

.auth-terms input {
  margin-top: 3px;
  accent-color: #2563eb;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.auth-terms a {
  color: #60a5fa;
  text-decoration: none;
}

.auth-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-footer-text a {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}

.auth-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

.auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-trust i {
  color: var(--success);
  font-size: 0.7rem;
}

.auth-step-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
}

@media (max-width: 480px) {
  .auth-wrap {
    padding: 1.25rem 0.85rem;
    align-items: flex-start;
    padding-top: 1.5rem;
  }

  .auth-card {
    padding: 1.35rem 1.1rem;
    border-radius: 18px;
  }

  .auth-logo-row {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .auth-logo-img {
    width: 44px;
  }

  .auth-brand {
    font-size: 1.1rem;
  }

  .auth-steps {
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .auth-steps::before {
    display: none;
  }

  .auth-step {
    flex: 1;
    min-width: 0;
  }

  .auth-step-label {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .auth-step-sub {
    font-size: 0.55rem;
    display: none;
  }

  .auth-step-circle {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.75rem;
  }

  .auth-btn-primary {
    height: 52px;
    font-size: 0.9rem;
  }

  .auth-input {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

/* Password visibility toggle */
.auth-input-wrap .password-toggle-btn {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: color 0.2s;
}

.auth-input-wrap .password-toggle-btn:hover {
  color: var(--cyan);
}

.auth-input-wrap .auth-input.password-field,
.auth-input-wrap input[type="password"].auth-input,
.auth-input-wrap input[type="text"].auth-input.password-field {
  padding-right: 2.85rem;
}

.auth-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.auth-ip-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.auth-ip-banner i {
  color: #60a5fa;
}



