* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f2f5;
  color: #1c1e21;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1877f2;
}

.switch-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
}

.container {
  max-width: 1100px;
  margin: 40px auto 24px;
  padding: 0 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  color: #1877f2;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.demo-note {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 14px;
  background: #fff3cd;
  color: #7a5d00;
  border: 1px solid #ffe69c;
  border-radius: 10px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 24px;
}

.login-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.login-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.input-group input {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ccd0d5;
  border-radius: 10px;
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
  border-color: #1877f2;
  box-shadow: 0 0 0 3px rgba(24,119,242,0.15);
}

.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 12px 16px;
  font-size: 1rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  width: 100%;
  background: #1877f2;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-secondary {
  background: #e4e6eb;
  color: #111;
}

.sub-warning {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #666;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.console-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.console-box {
  background: #10151c;
  color: #d7e1ea;
  border-radius: 14px;
  padding: 18px;
  min-height: 180px;
  overflow-x: auto;
  margin-top: 12px;
  font-family: Consolas, monospace;
}

.log-card {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}

.log-card:last-child {
  border-bottom: none;
}

.warning-page {
  background: #f7f7f7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-shell {
  max-width: 760px;
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}

.warning-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d93025;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.warning-shell h1 {
  margin: 0 0 10px;
  color: #202124;
}

.warning-sub {
  color: #5f6368;
}

.warning-card {
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}

.warning-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.warning-reasons ul {
  margin-top: 8px;
  padding-left: 20px;
}

@media (max-width: 820px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .console-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
/* ===== LOGO ===== */
.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ===== BRAND (logo + text) ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== HERO IMAGE ===== */
.hero-img {
  display: block;
  width: 70%;
  max-width: 260px;
  height: auto;
  margin: 20px auto;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}