@import url('../login/login_styles.css');

.auth-container {
  max-width: 440px;
}

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

.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f7f7f7;
  color: #444;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.auth-tab.active {
  background: #ff4d4d;
  border-color: #ff4d4d;
  color: #fff;
}

.auth-panel {
  display: none;
}

.auth-panel.active {
  display: block;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #888;
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.vk-auth-widget {
  display: flex;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 4px;
}

.auth-forgot {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
}

.auth-forgot a {
  color: #ff4d4d;
  text-decoration: none;
}

.auth-forgot a:hover {
  text-decoration: underline;
}

.auth-message {
  min-height: 1.2em;
  text-align: center;
  margin-top: 12px;
}

.policy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.policy-checkbox input {
  margin-top: 3px;
  width: auto;
}

.register-success {
  text-align: center;
}

.register-success h3 {
  margin-bottom: 12px;
  color: #333;
}

.register-success p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.secondary-btn {
  background: #fff;
  color: #ff4d4d;
  border: 2px solid #ff4d4d;
}

.secondary-btn:hover {
  background: #fff5f5;
}

.password-container .toggle-password {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
}
