:root {
  --bg: transparent;
  --card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db; /* optional */
  --text-light: #9ca3af;
  --text: #111827;
  --muted: #6b7280;
  --brand-soft: #eaf3ff;        /* Soft, light blue */
  --brand: #3f9cff;             /* Main brand color */
  --brand-strong: #0b3a82;      /* Strong blue for contrast */
  --brand-hover: #1e6fd0;       /* Slightly darker hover state */
  --brand-active: #1666c1;      /* Active state */
  --brand-button: #1d72d2;      /* Darker shade of the brand color */
  --shadow-form: 0 3px 8px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
}

header {
  position: absolute;
  top: 0;
  left: 0;
  height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 16px;
  background:#fff;
}

header img { 
  height:34px; 
  cursor: pointer;
}

/* ===== CARD ===== */

.form-card {
  width: 100%;
  max-width: 720px;
  padding: 28px 26px 30px;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  /*box-shadow: var(--shadow-form);*/
}

.form-icon {
  text-align: center;
  margin: 32px 0 32px 0;
}

.form-icon img {
  width: 144px;
}

.form-info {
    font-size: 0.85rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 20px;
}
/* ===== LOGO ===== */

.form-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
  cursor: pointer;
}

.form-logo img {
  width: 96px;
  height: auto;
}

/* ===== TITLE ===== */

h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
}

/* ===== FIELDS ===== */

.form-group,
.password-group {
  margin-bottom: 16px;
}

.form-required {
   color: #ef4444;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.9rem;
}

input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}

/* ===== PASSWORD ===== */

.password-wrap {
  position: relative;
}

.password-wrap .material-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}

/* ===== BUTTON ===== */

.form-actions {
  margin-top: 32px;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: var(--brand-button);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background: var(--brand-hover);
}

/* ===== OR DIVIDER ===== */

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: #6b7280; /* neutral gray */
  font-size: 0.85rem;
  font-weight: 500;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb; /* light divider */
}

.or-divider::before {
  margin-right: 12px;
}

.or-divider::after {
  margin-left: 12px;
}

/* ===== SPLIT LAYOUT ===== */

.form-card.split {
  display: grid;
  grid-template-columns: 1fr 1px 1.2fr;
  padding: 0;
}

.split-left,
.split-right {
  padding: 28px 26px;
}

/* LEFT */

.split-left {
  text-align: center;
  padding-top: 16px;
}

.split-left h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.split-left .form-info {
  margin-bottom: 24px;
}

/* DIVIDER */

.split-divider {
  width: 1px;
  background: var(--border);
}

/* ===== LEFT FEATURES ===== */

.feature-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: left;
}

.feature {
display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature .material-icons {
  font-size: 22px;
  color: var(--brand);
  margin-top: 2px;
}

.feature-icon img {
  width: 64px;
  margin-bottom: 14px;
}

.feature h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.feature a {
  color: var(--brand);
  text-decoration: none;
}

.feature a:hover {
  text-decoration: underline;
}

footer {
  text-align:center;
  font-size:13px;
  color:var(--text-light);
  margin-top: 19px;
  margin-bottom: 19px;
}

footer a {
  text-align:center;
  font-size:13px;
  color:var(--text-light);
  text-decoration: underline;
}

footer a:hover {
  color:var(--text);
  cursor: pointer;
}

.mobile-br {
  display: none;
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
  body {
    background: var(--bg);
    place-items: start;
    padding: 0;
  }

  .form-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 20px;
    border-radius: 0;
   /* max-width: 100%;*/
  }

  .form-logo img {
    width: 96px;
  }

  input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.15rem;
  }

  button {
    font-size: 1.1rem;
  }

  .form-card.split {
    grid-template-columns: 1fr;
  }

  .split-divider {
    display: none;
  }

  .split-left {
    padding-bottom: 0;
  }

  .mobile-br {
    display: inline;
  }

  footer {
    margin-top: 0;
    margin-bottom: 26px;
  }
}

@media (max-width: 600px) {
  
}

@media (max-width: 420px) {
  .form-card {
    padding: 24px 20px;
    border-radius: 14px;
  }
}
