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

@keyframes gradientBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 0% 50%;}
  100% { background-position: 0% 50%; }
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

body {
  /* display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; */
  min-height: 100vh;
  background: linear-gradient(to bottom right, #121212 0%, #7E66BE 60%, #D0C0F1 100%);
  background-size: 400% 400%;
  animation: gradientBg 15s ease infinite;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

.container {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: 580px;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  margin-top: 100px;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.container__form {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
  display: flex;
  width: 100%;
}

.container--signin {
  left: 0;
  z-index: 2;
}

.container--signup {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.container.right-panel-active .container--signin {
  transform: translateX(-100%);
  opacity: 0;
}

.container.right-panel-active .container--signup {
  transform: translateX(0);
  opacity: 1;
  z-index: 5;
}

.form-section {
  display: flex;
  width: 100%;
  height: 100%;
}

.image-section {
  flex: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.image-content {
  text-align: center;
  color: white;
  animation: floatAnimation 6s ease-in-out infinite;
}

.image-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.image-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.image-subtitle {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 250px;
  margin: 0 auto;
}

.form-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.form__title {
  font-weight: 600;
  margin-bottom: 25px;
  color: white;
  font-size: 26px;
  letter-spacing: 0.5px;
  text-align: center;
}

.input {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px 15px;
  margin: 10px 0;
  width: 100%;
  font-size: 16px;
  color: white!important;
  transition: all 0.3s ease;
}

.input::placeholder {
  color: rgba(255, 255, 255, 1)!important;;
}

.input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.link {
  color: white;
  margin: 15px 0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.85;
}

.link:hover {
  opacity: 1;
  text-decoration: underline;
}

.btn {
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 30px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: auto;
  min-width: 120px;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
  transition: left 0.7s ease;
}

.btn:hover:before {
  left: 100%;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin-bottom: 50px;
}

.controls .btn {
  background: rgba(255, 255, 255, 0.15);
  flex: 1;
  text-align: center;
  padding: 12px 10px;
}

.d-none {
  display: none;
}

/* Tablet styles */
@media screen and (max-width: 768px) {
  .container {
    max-width: 600px;
    min-height: 700px;
  }
  
  .image-section {
    padding: 30px 20px;
  }
  
  .image-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .image-title {
    font-size: 20px;
  }
  
  .image-subtitle {
    font-size: 14px;
    max-width: 200px;
  }
  
  .form-wrapper {
    padding: 30px 20px;
  }
  
  .form__title {
    font-size: 22px;
  }
}

/* Mobile styles */
@media screen and (max-width: 600px) {

  .container {
    max-width: 100%;
    margin: 30px 0 10px 0;
  }
  
  .form-section {
    flex-direction: column;
  }
  
  .image-section {
    flex: none;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
  }
  
  .image-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .image-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  

  
  .form-wrapper {
    flex: 1;
    padding: 20px;
  }
  
  .form__title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .input {
    padding: 10px 15px;
    font-size: 14px;
    margin: 8px 0;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .controls {
    width: calc(100% - 20px);
    max-width: none;
    margin-top: 10px;
  }
}

/* Small mobile styles */
@media screen and (max-width: 480px) {

  
  .image-section {
    padding: 15px;
  }
  
  .image-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .image-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  
  .form-wrapper {
    padding: 15px;
  }
  
  .form__title {
    font-size: 18px;
  }
  
  .controls .btn {
    padding: 10px 5px;
    min-width: 100px;
    font-size: 13px;
  }
}



.scrollup{
  display: none;
}

.form-inner {
  position: relative;
  width: 100%;
}
@media screen and (max-width: 1100px) {
  header {
      background: #121212;
  }
}
.elementor-widget-container{
  display: inline;
}