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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100vh;
  overflow: hidden;
}

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

.image-section {
  display: none;
  position: relative;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
  padding: 3rem 1.5rem;
}

.form-wrapper {
  width: 100%;
  max-width: 42rem;
}

h1 {
  font-size: 1.875rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #111827;
  white-space: nowrap;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #d1d5db;
  margin-bottom: 2rem;
}

.tab-button {
  padding-bottom: 0.75rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  margin-right: 2rem;
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #4b5563;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.tab-button.active {
  border-bottom-color: #1e3a8a;
  color: #111827;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}

.input-wrapper {
  position: relative;
  padding-top: 1.25rem;
}

.input-icon {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  color: #4b5563;
  transition: color 0.2s;
}

.form-input {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2.5rem;
  padding-bottom: 0.5rem;
  padding-top: 0.25rem;
  border: none;
  border-bottom: 1px solid #d1d5db;
  background: transparent;
  color: #111827;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-bottom-color: #111827;
}

.form-input:focus ~ .input-icon {
  color: #111827;
}

.floating-label {
  position: absolute;
  left: 2rem;
  bottom: 0.5rem;
  color: #4b5563;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
  transform-origin: left top;
}

.floating-label.active {
  bottom: 2rem;
  font-size: 0.75rem;
  color: #111827;
}

.toggle-password {
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #4b5563;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: #111827;
}

.eye-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.forgot-password {
  text-align: right;
}

.forgot-password a {
  font-size: 0.875rem;
  color: #111827;
  text-decoration: underline;
  transition: text-decoration 0.2s;
}

.forgot-password a:hover {
  text-decoration: none;
}

.btn-primary {
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: none;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  width: 100%;
  background-color: white;
  color: #111827;
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.help-section {
  text-align: center;
  padding-top: 1rem;
}

.help-link {
  display: inline-flex;
  align-items: center;
  color: #111827;
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.help-link:hover {
  text-decoration: underline;
}

.help-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #4b5563;
  background-color: #f9fafb;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-content a {
  color: #4b5563;
  text-decoration: underline;
  transition: text-decoration 0.2s;
}

.footer-content a:hover {
  text-decoration: none;
}

@media (min-width: 1024px) {
  .image-section {
    display: flex;
    width: 50%;
  }
}
