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

body, html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #f9fbf9;
  color: #1a1a1a;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

header {
  padding: 20px;
  background: white;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: bold;
  font-size: 16px;
  color: #1a1a1a;
}

.logo img { max-height: 24px; }

main {
  max-width: 400px;
  margin: 60px auto;
  padding: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
  padding: 12px;
  border: 1px solid #d0e0d0;
  border-radius: 10px;
  background: #f6fbf6;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.login-btn {
  padding: 12px;
  background-color: #e6f3e6;
  color: #1a1a1a;
  border: 1px solid #d0e0d0;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  display: block;
  width: 100%;
}

.login-btn:hover {
  background-color: #c4efc4;
}

.forgot {
  text-align: right;
  font-size: 13px;
  color: #6a9d7e;
  text-decoration: none;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #e6efe6;
  border-radius: 34px;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: 0.2s;
}

input:checked + .slider {
  background-color: #c4e8c4;
}

input:checked + .slider:before {
  transform: translateX(18px);
}
