/* Reset default */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #222;
  padding: 30px;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container {
  background: #fff;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  overflow: hidden;
}

.image-side {
  flex: 1;
  min-width: 320px;
  background: #f5f7fa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.image-side img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.form-side {
  flex: 1;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  max-width: 220px;
  margin: 0 auto 15px auto;
  filter: drop-shadow(0 2px 2px rgba(118, 75, 162, 0.3));
}

.slogan {
  font-family: 'Merriweather', serif;
  font-size: 18px;
  font-weight: 600;
  color: #764ba2;
  text-align: center;
  margin-bottom: 35px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

h2 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 35px;
  text-align: center;
  color: #4a148c;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #555;
  user-select: none;
  letter-spacing: 0.04em;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
  outline-offset: 2px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #764ba2;
  box-shadow: 0 0 8px #9c47c3aa;
}

.show-password {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  font-size: 14px;
  color: #764ba2;
  font-weight: 600;
  user-select: none;
  cursor: pointer;
}

.show-password input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

button {
  display: block;
  margin: 0 auto;
  background: #764ba2;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 0.06em;
  user-select: none;
  width: 100%;
}

button:hover {
  background: #5b3683;
}

.links {
  text-align: center;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: #764ba2;
}

.links a {
  color: #4a148c;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 700;
}

.links a:hover {
  color: #6e3db7;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .main-container {
    flex-direction: column;
  }

  .image-side {
    min-height: 220px;
    padding: 20px;
  }

  .form-side {
    padding: 30px 25px;
  }
}
