:root {
  --primary-color: #8b5e3c;
  --secondary-color: #3b241b;
  --accent-color: #d4a574;
  --light-bg: #faf8f6;
  --white: #ffffff;
  --text-dark: #2d241e;
  --text-light: #6b4f3a;
  --border-color: #e6dbd1;
  --shadow: 0 2px 12px rgba(48, 47, 47, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", Arial, sans-serif;
  background: var(--light-bg);
}

.container {
  display: flex;
  min-height: 100vh;
}

/* LEFT SIDE - HERO */
.left {
  flex: 1;
  background: url("./Images/logInImage.png") center/cover no-repeat;
  position: relative;
  color: white;
  min-height: 600px;
  display: none;
}

.left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
}

.left-content {
  position: relative;
  z-index: 2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
}

.brand img {
  width: 50px;
  height: 50px;
}

.brand h1 {
  font-size: 24px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
}

.footer {
  font-size: 13px;
  opacity: 0.6;
}

/* RIGHT SIDE - FORM */
.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: var(--light-bg);
}

.form-box {
  width: 100%;
  max-width: 420px;
}

.form-box h2 {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.sub {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

input {
  height: 50px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  padding: 0 14px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.row a {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

button {
  height: 52px;
  border: none;
  border-radius: 10px;
  background: var(--secondary-color);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

button:active {
  transform: translateY(0);
}

.msg {
  min-height: 18px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.msg.error {
  background-color: #f8d7da;
  color: #721c24;
}

.msg.success {
  background-color: #d4edda;
  color: #155724;
}

.bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-light);
}

.bottom a {
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .left {
    display: none;
  }

  .container {
    flex-direction: column;
  }

  .right {
    flex: 1;
    min-height: 100vh;
  }
}

@media (max-width: 768px) {
  .right {
    padding: 15px;
  }

  .form-box {
    max-width: 100%;
  }

  .form-box h2 {
    font-size: 28px;
  }

  input {
    height: 45px;
    font-size: 16px;
  }

  button {
    height: 48px;
    font-size: 14px;
  }

  .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .right {
    padding: 20px 15px;
    justify-content: flex-start;
  }

  .form-box {
    margin-top: 40px;
  }

  .form-box h2 {
    font-size: 24px;
  }

  .sub {
    font-size: 13px;
  }

  input {
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  label {
    font-size: 13px;
  }

  button {
    height: 44px;
    font-size: 13px;
  }

  form {
    gap: 12px;
  }

  .row {
    gap: 8px;
  }

  .check {
    gap: 6px;
    font-size: 13px;
  }

  .bottom {
    font-size: 12px;
    margin-top: 15px;
  }
}
