/* ============================================
   VIVID CARTOON THEME - Login/Register
   活力卡通风 - 登录注册
   ============================================ */

.v-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--v-bg-section) 0%, var(--v-bg) 50%, var(--v-bg-section-alt) 100%);
  padding: var(--v-space-xl);
}

.v-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--v-bg-card);
  border-radius: var(--v-radius-xl);
  box-shadow: var(--v-shadow-lg);
  padding: var(--v-space-2xl) var(--v-space-xl);
}

.v-login-card__logo {
  text-align: center;
  margin-bottom: var(--v-space-xl);
}

.v-login-card__logo-img {
  height: 48px;
  margin: 0 auto var(--v-space-sm);
}

.v-login-card__logo-text {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--v-coral), var(--v-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.v-login-card__title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--v-space-xl);
}

.v-login-field {
  margin-bottom: var(--v-space-lg);
}

.v-login-field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--v-text);
  margin-bottom: var(--v-space-sm);
}

.v-login-field__input {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--v-radius-md);
  border: 2px solid var(--v-border);
  font-size: 15px;
  color: var(--v-text);
  background: var(--v-bg);
  transition: all var(--v-duration-normal) var(--v-ease-smooth);
}

.v-login-field__input:focus {
  border-color: var(--v-coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.v-login-field__input::placeholder {
  color: var(--v-text-muted);
}

.v-login-field__input-row {
  display: flex;
  gap: var(--v-space-sm);
}

.v-login-field__input-row .v-login-field__input {
  flex: 1;
}

.v-login-field__input-row .v-btn {
  flex-shrink: 0;
}

.v-login-field__error {
  font-size: 12px;
  color: var(--v-error);
  margin-top: var(--v-space-xs);
}

.v-login-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--v-radius-md);
  background: linear-gradient(135deg, var(--v-coral), var(--v-pink));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--v-duration-normal) var(--v-ease-bounce);
}

.v-login-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.v-login-btn:active {
  transform: scale(0.98);
}

.v-login-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--v-space-lg);
  font-size: 13px;
}

.v-login-links a {
  color: var(--v-coral);
}

.v-login-links a:hover {
  text-decoration: underline;
}

/* Social login */
.v-login-social {
  margin-top: var(--v-space-xl);
  text-align: center;
}

.v-login-social__divider {
  display: flex;
  align-items: center;
  margin-bottom: var(--v-space-lg);
}

.v-login-social__divider::before,
.v-login-social__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--v-border);
}

.v-login-social__divider span {
  padding: 0 var(--v-space-md);
  font-size: 12px;
  color: var(--v-text-muted);
}

.v-login-social__btns {
  display: flex;
  justify-content: center;
  gap: var(--v-space-lg);
}

.v-login-social__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all var(--v-duration-fast) var(--v-ease-bounce);
  color: #fff;
}

.v-login-social__btn:hover {
  transform: scale(1.1);
}

.v-login-social__btn--qq {
  background: #12B7F5;
}

.v-login-social__btn--wechat {
  background: #07C160;
}

.v-login-social__btn--weibo {
  background: #E6162D;
}

/* Switch between login and register */
.v-login-switch {
  text-align: center;
  margin-top: var(--v-space-xl);
  padding-top: var(--v-space-lg);
  border-top: 1px solid var(--v-border-light);
  font-size: 14px;
  color: var(--v-text-secondary);
}

.v-login-switch a {
  color: var(--v-coral);
  font-weight: 600;
}

.v-login-switch a:hover {
  text-decoration: underline;
}

/* SMS/Verification button */
.v-sms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--v-radius-sm);
  background: var(--v-coral);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--v-duration-fast) var(--v-ease-smooth);
  white-space: nowrap;
  flex-shrink: 0;
  height: 44px;
}
.v-sms-btn:hover {
  background: var(--v-coral-dark);
}
.v-sms-btn.disabled {
  background: var(--v-text-muted);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Field wrap for inputs with adjacent buttons/images */
.v-login-field__wrap {
  position: relative;
}

/* Register form extras */
.v-login-field__checkbox {
  display: flex;
  align-items: center;
  gap: var(--v-space-sm);
  font-size: 13px;
  color: var(--v-text-secondary);
}

.v-login-field__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--v-coral);
}

.v-login-field__checkbox a {
  color: var(--v-coral);
}

/* Responsive */
@media (max-width: 768px) {
  .v-login-card {
    padding: var(--v-space-xl) var(--v-space-lg);
    border-radius: var(--v-radius-lg);
  }
}
