body {
  margin: 0;
  font-family: sans-serif;
  background-color: #fff;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  flex-wrap: wrap;
}

.left-panel,
.right-panel {
  width: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.left-panel {
  flex-direction: column;
  background-color: #fff;
}

.right-panel {
  background: ##f0f0f0;
}

.right-panel img {
  max-width: 80%;
  height: auto;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tabs button {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #f0f0f0;
  transition: background 0.3s;
  color: #333;
  border-radius: 5px;
}

.tabs button:hover {
  background: #ddd;
}

.tabs .active {
  background: #800080;
  color: #fff;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

.form input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form button {
  padding: 10px;
  font-size: 16px;
  background: #800080;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.form button:hover {
  background: #a64ca6;
}

.hidden {
  display: none;
}

.captcha {
  font-size: 14px;
  color: #666;
}
.password-box {
  position: relative;
}

.password-box input {
  width: 97%;
  padding-right: 0px;
}

.toggle-password {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

.strength-bar {
  width: 100%;
  height: 6px;
  background: #ccc;
  margin-top: 4px;
  border-radius: 4px;
  overflow: hidden;
}
#strengthFill {
  height: 100%;
  width: 0%;
  background: red;
  transition: width 0.3s, background 0.3s;
}


/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .right-panel img {
    max-width: 60%;
  }
}
