/* LOGIN.CSS & REGISTER.CSS - CoreLink Enterprises */
body { background: var(--bg-light); }

.auth-container {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 20px 60px;
}
.auth-box {
  background: var(--bg-white); width: 100%; max-width: 480px;
  padding: 50px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent);
}
.auth-header { text-align: center; margin-bottom: 40px; }
.auth-header h1 { font-size: 2rem; margin-bottom: 10px; }
.auth-header p { font-size: 0.95rem; color: var(--text-muted); }

.auth-form .form-group { margin-bottom: 20px; position: relative; }
.auth-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--primary); }
.auth-form .form-control {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); font-size: 1rem; background: var(--bg-light);
}
.auth-form .form-control:focus { outline: none; border-color: var(--accent); background: #fff; }

.password-toggle {
  position: absolute; right: 16px; top: 38px; font-size: 0.85rem; font-weight: 600;
  color: var(--accent); cursor: pointer;
}

.auth-options { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 30px; font-size: 0.9rem; }
.auth-options label { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-weight: 400; cursor: pointer; }
.auth-options a { color: var(--accent); font-weight: 600; }
.auth-options a:hover { text-decoration: underline; }

.auth-divider {
  display: flex; align-items: center; text-align: center; margin: 30px 0; color: var(--text-muted); font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border-light); }
.auth-divider::before { margin-right: 15px; }
.auth-divider::after { margin-left: 15px; }

.auth-footer { text-align: center; font-size: 0.95rem; color: var(--text-muted); }
.auth-footer a { color: var(--accent); font-weight: 600; }

.strength-meter { height: 4px; background: var(--border-light); margin-top: 8px; border-radius: 2px; overflow: hidden; }
.strength-fill { height: 100%; width: 0; transition: 0.3s; }
.strength-text { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; text-align: right; }

/* For register page making it slightly wider */
.auth-box.register-box { max-width: 600px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

@media (max-width: 600px) {
  .auth-box { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
