@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

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

body,
input {
  font-family: "Poppins", sans-serif;
}

.container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  overflow: hidden;
}

/* Form Alanı - SAĞDA */
.forms-container {
  padding: 45px;
  flex: 1; /* 4 birimin 1'i */
  position: relative;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #f0f0f0; /* Opsiyonel ayraç */
}
/* Formun içindeki hizalamayı düzeltiyoruz */
.signin-signup {
  width: 100%;
  padding: 0 20px;
  position: relative;
  /* Eski transform ve left değerlerini sildik */
}

/* Form etiketindeki gereksiz absolute değerleri temizleyin */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form.sign-up-form {
  opacity: 0;
  z-index: 1;
}

form.sign-in-form {
  z-index: 2;
}

.title {
  font-size: 2.2rem;
  color: #6c63ff;
  margin-bottom: 10px;
  font-weight: 700;
}

.input-field {
  max-width: 380px;
  width: 100%;
  background-color: #f8f8ff;
  margin: 10px 0;
  height: 55px;
  border-radius: 55px;
  display: grid;
  grid-template-columns: 15% 85%;
  padding: 0 0.4rem;
  position: relative;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.input-field i {
  text-align: center;
  line-height: 55px;
  color: #a29bfe;
  transition: 0.5s;
  font-size: 1.2rem;
}

.input-field input {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.input-field input::placeholder {
  color: #aaa;
  font-weight: 500;
}

.social-text {
  padding: 0.7rem 0;
  font-size: 1rem;
}

.social-media {
  display: flex;
  justify-content: center;
}

.social-icon {
  height: 46px;
  width: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.45rem;
  color: #6c63ff;
  border-radius: 50%;
  border: 1px solid #6c63ff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #6c63ff;
  color: white;
  transform: scale(1.1);
}

.btn {
  width: 150px;
  background: linear-gradient(45deg, #6c63ff, #ff4b2b);
  border: none;
  outline: none;
  height: 49px;
  border-radius: 49px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.5s ease;
}

.btn:hover {
  background: linear-gradient(45deg, #ff4b2b, #6c63ff);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Panel (Resim Alanı) - SOLDA */
.panels-container {
  flex: 3; /* 4 birimin 3'ü */
  position: relative;
  background-image: url("~/img/login/1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container:before {
    background-image: url("~\img\login\1.jpg")
}

.image {
    height: 100%;
    width: 100%;
    transition: transform 1.1s ease-in-out;
    transition-delay: 0.4s;
  padding: 3px;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
  text-align: center;
  z-index: 6;
}

.left-panel {
  pointer-events: all;
  padding: 3rem 17% 2rem 12%; 
  background-image: url("~/img/login/1.jpg")
}

.right-panel {
  pointer-events: none;
  padding: 3rem 12% 2rem 17%;
}

.panel .content {
  color: #fff;
  transition: transform 0.9s ease-in-out;
  transition-delay: 0.6s;
}

.panel h3 {
  font-weight: 600;
  line-height: 1;
  font-size: 1.5rem;
}

.panel p {
  font-size: 0.95rem;
  padding: 0.7rem 0;
}

.btn.transparent {
  margin: 0;
  background: none;
  border: 2px solid #fff;
  width: 130px;
  height: 41px;
  font-weight: 600;
  font-size: 0.8rem;
  color: white;
}

.btn.transparent:hover {
  background-color: white;
  color: #6c63ff;
}

.right-panel .image,
.right-panel .content {
  transform: translateX(800px);
}

/* Sign-up mode animations */
.container.sign-up-mode:before {
  transform: translate(100%, -50%);
  right: 52%;
}

.container.sign-up-mode .left-panel .image,
.container.sign-up-mode .left-panel .content {
  transform: translateX(-800px);
}

.container.sign-up-mode .signin-signup {
  left: 25%;
}

.container.sign-up-mode form.sign-up-form {
  opacity: 1;
  z-index: 2;
}

.container.sign-up-mode form.sign-in-form {
  opacity: 0;
  z-index: 1;
}

.container.sign-up-mode .right-panel .image,
.container.sign-up-mode .right-panel .content {
  transform: translateX(0%);
}

.container.sign-up-mode .left-panel {
  pointer-events: none;
}

.container.sign-up-mode .right-panel {
  pointer-events: all;
}

/* Responsive tweaks remain same as original */
