@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;800&display=swap');

/* Reset & global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #FFF8F2 0%, #FFEAE0 100%);
}

/* TWO-COLUMN LAYOUT */
.login-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

/* LEFT PANEL */
.left-panel {
  background-color: #E26312;
  display: flex;
  align-items: center;
  justify-content: center;
}
.left-logo {
  max-width: 70%;
  height: auto;
}

/* RIGHT PANEL */
.right-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* CARD */
.login-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

/* BACK ARROW */
.back-arrow {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.back-arrow:hover {
  color: #E26312;
}

/* ICON + TITLE */
.login-icon {
  width: 32px;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.login-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #333;
}

/* INPUTS */
.input-group {
  margin-bottom: 1.5rem;
  width: 100%;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: #E26312;
  box-shadow: 0 0 0 3px rgba(226,99,18,0.2);
  outline: none;
}

/* PASSWORD-EYE */
.input-group.position-relative {
  position: relative;
}
.input-group.position-relative .form-input {
  padding-right: 2.5rem;
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  color: #888;
}
.toggle-password:hover {
  color: #555;
}

/* BUTTON */
.btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #E26312;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-primary:hover {
  background-color: #c14e0f;
}

/* INLINE ERROR TEXT */
.error-text {
  color: #E26312;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  text-align: left;
}
