/* ConocoPhillips  - Secure Access (premium login) */

* {
  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;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --amber: #f59e0b;
  --success: #22c55e;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

body.login-page {
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.08), transparent 25%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.06), transparent 22%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-x: hidden;
}

.login-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  pointer-events: none;
}

.login-back {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.login-back:hover {
  color: #fff;
}

.login-card {
  width: 100%;
  max-width: 470px;
  background: linear-gradient(180deg, rgba(13, 23, 41, 0.98), rgba(6, 12, 24, 0.98));
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 44px;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), 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;
}

.login-card::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
}

.login-content {
  position: relative;
  z-index: 2;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.login-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);
}

.login-logo-icon {
  display: flex;
  gap: 5px;
}

.login-bar {
  width: 10px;
  border-radius: 30px;
}

.login-bar:nth-child(1) {
  height: 42px;
  background: #f59e0b;
}

.login-bar:nth-child(2) {
  height: 28px;
  background: #3b82f6;
  margin-top: 14px;
}

.login-bar:nth-child(3) {
  height: 48px;
  background: #22d3ee;
}

.login-bar:nth-child(4) {
  height: 34px;
  background: #38bdf8;
  margin-top: 14px;
}

.login-logo-text h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.login-logo-text span {
  color: #fbbf24;
}

.login-logo-text p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.login-header {
  margin-bottom: 36px;
}

.login-header h1 {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
  font-weight: 800;
}

.login-header p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
  max-width: 340px;
}

.login-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.login-status-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.login-status-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.login-status-item i {
  color: var(--success);
  margin-bottom: 10px;
  font-size: 13px;
}

.login-status-item h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.login-status-item p {
  color: var(--muted);
  font-size: 12px;
}

.login-form-group {
  margin-bottom: 22px;
}

.login-form-group label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap .login-left-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.login-input-wrap .password-toggle-btn,
.login-input-wrap button.login-right-icon.password-toggle-btn {
  position: absolute;
  left: auto;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
}

.login-input-wrap .password-toggle-btn:hover {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
}

button.login-right-icon:hover {
  color: #94a3b8;
}

.login-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;
}

.login-input {
  width: 100%;
  height: 60px;
  background: var(--card-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 0 56px;
  color: white;
  font-size: 15px;
  transition: 0.25s;
}

.login-input::placeholder {
  color: #64748b;
}

.login-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #0f1b31;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.login-remember input {
  accent-color: #2563eb;
}

.login-options a {
  color: #60a5fa;
  text-decoration: none;
  font-size: 14px;
}

.login-options a:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  height: 62px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(90deg, #2563eb, #0891b2);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.login-btn-investors {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #000;
}

.login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.login-btn:hover::before {
  transform: translateX(100%);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.login-btn-investors:hover {
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 34px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.login-divider span {
  color: var(--muted);
  font-size: 13px;
}

.login-quick {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.login-quick-btn {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #0d1728;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s;
  text-decoration: none;
}

.login-quick-btn:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  background: #12203a;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.12);
}

.login-quick-btn.gold {
  color: #fbbf24;
}

.login-quick-btn.gold:hover {
  border-color: #f59e0b;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

.login-footer {
  margin-top: 38px;
  text-align: center;
}

.login-footer-top {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.login-footer-top a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.login-footer-top a:hover {
  text-decoration: underline;
}

.login-security {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.login-security span {
  color: #94a3b8;
  font-size: 12px;
}

.login-security i {
  color: #22c55e;
  margin-right: 6px;
}

.login-copy {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 520px) {
  body.login-page {
    padding: 18px;
  }

  .login-card {
    padding: 30px;
    border-radius: 24px;
  }

  .login-header h1 {
    font-size: 34px;
  }

  .login-back {
    position: absolute;
    top: 1rem;
    left: 1rem;
  }
}


