/* ========================================
   Master Splinter POS - Auth Pages Styles
   ======================================== */

.auth-container {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: var(--color-surface);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.auth-logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--color-text-muted);
  margin: 0;
}

.auth-form {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-icon {
  position: relative;
}

.input-icon > i:first-child {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.input-icon input,
.input-icon select {
  padding-right: 2.75rem;
}

.toggle-password {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0;
}

.toggle-password:hover {
  color: var(--color-primary);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.checkbox-label a {
  color: var(--color-primary);
}

.form-options a {
  font-size: 0.9rem;
  color: var(--color-primary);
}

.trial-note {
  text-align: center;
  margin-top: 1rem;
  color: var(--color-success);
  font-size: 0.9rem;
}

.trial-note i {
  margin-left: 0.5rem;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.auth-footer p {
  margin: 0;
  color: var(--color-text-muted);
}

.auth-footer a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Auth Side */
.auth-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #000;
}

.auth-side-content {
  max-width: 400px;
  text-align: center;
}

.auth-side h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.auth-side p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
}

.auth-features {
  list-style: none;
  text-align: right;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 1rem;
}

.auth-features i {
  color: #000;
}

/* Responsive */
@media (max-width: 968px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  
  .auth-side {
    display: none;
  }
  
  .auth-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .form-options {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
