  * { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --color-background-primary: #ffffff;
  --color-background-secondary: #f7f8fa;

  --color-text-primary: #1f2937;
  --color-text-secondary: #6b7280;
  --color-text-tertiary: #9ca3af;

  --color-border-secondary: #e5e7eb;
  --color-border-tertiary: #f0f1f3;

  --border-radius-md: 10px;
  --border-radius-lg: 16px;
}
  html, body {
  height: 100%;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-sans);

  background: #0f172a;

  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);

  background-size: 40px 40px;
}
.form-container {
  width: 100%;
  max-width: 260px;
}
  .wrap {
  display: flex;
  width: 880px;
  max-width: 95%;
  min-height: 520px;

  border-radius: 20px;
  overflow: hidden;

  background: var(--color-background-primary);
  border: 1px solid var(--color-border-tertiary);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.05),
    0 20px 50px rgba(0,0,0,0.08);

  transition: all 0.25s ease;
}

  @media (max-width: 768px) {
  .wrap {
    flex-direction: column;
    width: 95%;
  }
}
  .panel-left {
  flex: 1;
  padding: 40px;

  background: linear-gradient(145deg, #6b4226, #b88a2e);

  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.18);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .brand-icon img {
  width: 100%;   /* hoặc 100% nếu muốn full */
  height: 100%;
  object-fit: contain;
}
  .brand-name { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.95); letter-spacing: 0.3px; }
  .brand-sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 1px; }
  .hero-text { }
  .hero-text h2 { font-size: 22px; font-weight: 500; color: #fff; line-height: 1.4; margin-bottom: 10px; }
  .hero-text p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; }
  .stats { display: flex; flex-direction: column; gap: 10px; }
  .stat-item {
    background: rgba(255,255,255,0.10);
    border: 0.5px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .stat-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); flex-shrink: 0; }
  .stat-dot.green { background: #86efac; }
  .stat-label { font-size: 12px; color: rgba(255,255,255,0.7); }
  .stat-val { font-size: 13px; font-weight: 500; color: #fff; margin-left: auto; }

  .panel-right {
    flex: 1;
    padding: 40px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--color-background-primary);
  }
  .form-header { margin-bottom: 28px; }
  .form-header h1 { font-size: 20px; font-weight: 500; color: var(--color-text-primary); }
  .form-header p { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; }
  .field { margin-bottom: 14px; }
  .field label { font-size: 12px; color: var(--color-text-secondary); display: block; margin-bottom: 5px; letter-spacing: 0.3px; text-transform: uppercase; font-weight: 500; }
  .field input {
  width: 100%;
  height: 40px;

  border: 1px solid var(--color-border-secondary);
  border-radius: 12px;

  padding: 0 14px;

  font-size: 14px;
  color: var(--color-text-primary);

  background: var(--color-background-secondary);

  transition: all 0.2s ease;
}

.field input:focus {
  border-color: #b88a2e;
  background: #fff;

  box-shadow: 0 0 0 3px rgba(184,138,46,0.15);
}

  .input-with-icon { position: relative; }
  .input-with-icon input { padding-right: 36px; }
  .input-icon {
    position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
    font-size: 13px; color: var(--color-text-tertiary); cursor: pointer;
  }
  .row-opts {
    display: flex; align-items: center; justify-content: space-between;
    margin: 12px 0 18px;
  }
  .check-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--color-text-secondary); cursor: pointer; }
  .check-label input { accent-color: #b88a2e; width: 14px; height: 14px; }
  .forgot { font-size: 13px; color: #9a6b2f; text-decoration: none; }
  .forgot:hover { text-decoration: underline; }
  .btn-sign {
  width: 100%;
  height: 42px;

  border: none;
  border-radius: 12px;

  background: linear-gradient(135deg, #9a6b2f, #c89b3c);

  color: #fff;
  font-size: 14px;
  font-weight: 500;

  cursor: pointer;

  transition: all 0.2s ease;
}

.btn-sign:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(154,107,47,0.25);
}
  .divider {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0; color: var(--color-text-tertiary); font-size: 12px;
  }
  .divider::before, .divider::after {
    content: ''; flex: 1; height: 0.5px; background: var(--color-border-tertiary);
    background: var(--color-border-secondary);
  }
  .sso-btn {
    width: 100%; height: 38px;
    border: 0.5px solid var(--color-border-secondary);
    border-radius: var(--border-radius-md);
    background: transparent;
    color: var(--color-text-primary); font-size: 13px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.15s;
  }
  .sso-btn:hover { background: var(--color-background-secondary); }
  .footer { margin-top: 22px; font-size: 11px; color: var(--color-text-tertiary); text-align: center; }
  input[type="password"]::-ms-reveal,
  input[type="password"]::-ms-clear {
    display: none;
  }

