/** @format */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  height: 100vh;
  overflow: hidden;
}

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

/* Left Column - Form */
.left-column {
  height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #ffffff;
  transition: all 0.5s ease;
  overflow-y: auto;
}

.left-column.register-mode {
  background-color: #076b0b;
  color: white;
}

.form-container {
  width: 100%;
  max-width: 400px;
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo h1 {
  font-size: 1rem;
  font-weight: 600;
  background: #076b0b;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#loginForm .logo h1 {
  color: #076b0b;
}
#registerForm .logo h1 {
  color: #fff;
}
.logo img {
  width: auto;
  height: 140px;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #0c1e62;
  box-shadow: 0 0 0 2px rgba(12, 30, 98, 0.2);
}

.btn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: #076b0b;
  color: white;
}
.form-register .btn-primary {
  background-color: #f1bb00;
  color: #0c1e62;
  box-shadow: 0 4px 12px rgba(12, 30, 98, 0.2);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #055508;
  color: white;
  transform: translateY(-2px);
}
.form-register .btn-primary:hover {
  background-color: #f1bb00;
  color: #0c1e62;
  translate: translateY(-2px);
}
.btn-secondary {
  background-color: #f1bb00;
  color: #0c1e62;
}

.btn-secondary:hover {
  background-color: #d9a800;
  transform: translateY(-2px);
}

.form-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.form-footer a {
  color: #0c1e62;
  text-decoration: none;
  font-weight: 500;
}

.left-column.register-mode .form-footer a {
  color: #f1bb00;
}

/* Right Column - Image & Toggle */
.right-column {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.right-column.login-mode {
  background-color: #f5f5f5;
}

.toggle-container {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  background-color: white;
  border-radius: 30px;
  padding: 0.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.toggle-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  border-radius: 30px;
}

.toggle-btn.active {
  background-color: #076b0b;
  color: white;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.form-register {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .right-column {
    display: none;
  }

  .right-column.active {
    display: block;
    height: 300px;
  }

  .left-column.register-mode {
    display: none;
  }
}
@media (min-width: 769px) {
  .left-column {
    max-width: 40%;
  }
}
input[type="number"] {
  -moz-appearance: textfield;
}
