.login-register-widget {
  position: relative;
}

.login-register-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-register-toggle i {
  font-size: 1.2em;
  line-height: 1;
}

.login-register-toggle a {
  color: inherit;
  text-decoration: none;
}

.login-register-popup {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 350px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border-radius: 0;
}

.login-register-widget:hover .login-register-popup {
  display: block;
}

.login-form {
  margin-top: 15px;
  margin-bottom: 0;
}

.form-row {
  margin-bottom: 15px;
}

.form-row label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-row input[type="text"],
.form-row input[type="password"] {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
  transition: border-color 0.3s ease;
}

.form-row input[type="text"]:focus,
.form-row input[type="password"]:focus {
  outline: none;
  border-bottom-color: #333;
}

.password-field {
  position: relative;
}

.password-field input[type="password"],
.password-field input[type="text"] {
  width: 100%;
  padding-right: 35px;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent;
  transition: border-color 0.3s ease;
}

.toggle-password {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.toggle-password:hover {
  opacity: 1;
}

.eye-icon {
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: #333;
}

.form-row.remember {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.lost-password {
  margin-top: 0;
  font-size: 0.9rem;
  color: #333;
}

.required {
  color: #ff0000;
}

.register-link {
  padding-top: 0;
  padding-bottom: 10px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.register-link a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}

button.woocommerce-button {
  width: 100%;
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

button.woocommerce-button:hover {
  background: #555;
}
