.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  padding: 20px;
}

.loginBox {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  background: var(--card-background);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.title {
  font-size: 28px;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 600;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inputGroup {
  position: relative;
}

.input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  background: var(--card-background);
}

.input:focus {
  outline: none;
  border-color: var(--theColor5);
  box-shadow: 0 0 0 2px rgba(216, 181, 245, 0.1);
}

.input::placeholder {
  color: var(--grayColor6);
}

.submitButton {
  height: 44px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  background: var(--theColor5) !important;
  border-color: var(--theColor5) !important;
  transition: all 0.3s !important;
}

.submitButton:hover {
  background: var(--theColor6) !important;
  border-color: var(--theColor6) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216, 181, 245, 0.2);
}

.submitButton:active {
  transform: scale(0.98);
}

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--grayColor6);
}

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

.divider span {
  padding: 0 12px;
}

.googleButtonWrapper {
  width: 100%;
  margin-bottom: 24px;
}

.links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.link {
  color: var(--theColor5);
  text-decoration: none;
  transition: color 0.3s;
}

.link:hover {
  color: var(--theColor6);
  text-decoration: underline;
}

/* Modal 样式 */
.modalWrapper :global(.ant-modal-content) {
  border-radius: 16px !important;
  overflow: hidden;
}

.modalWrapper :global(.ant-modal-header) {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
}

.modalWrapper :global(.ant-modal-title) {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--text-color) !important;
}

.modalWrapper :global(.ant-modal-body) {
  padding: 24px !important;
}

.modalWrapper :global(.ant-form-item-label > label) {
  color: var(--text-color) !important;
  font-size: 14px !important;
}

.modalWrapper :global(.ant-input-affix-wrapper) {
  border-radius: 8px !important;
  border-color: var(--border-color) !important;
  padding: 8px 12px !important;
  transition: all 0.3s !important;
}

.modalWrapper :global(.ant-input-affix-wrapper:hover) {
  border-color: var(--theColor5) !important;
}

.modalWrapper :global(.ant-input-affix-wrapper-focused) {
  border-color: var(--theColor5) !important;
  box-shadow: 0 0 0 2px rgba(216, 181, 245, 0.1) !important;
}

.modalWrapper :global(.ant-input) {
  font-size: 16px !important;
  color: var(--text-color) !important;
}

.modalWrapper :global(.ant-input::placeholder) {
  color: var(--grayColor6) !important;
}

.modalWrapper :global(.ant-btn-primary) {
  height: 44px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  background: var(--theColor5) !important;
  border-color: var(--theColor5) !important;
  transition: all 0.3s !important;
}

.modalWrapper :global(.ant-btn-primary:hover) {
  background: var(--theColor6) !important;
  border-color: var(--theColor6) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216, 181, 245, 0.2);
}

.modalWrapper :global(.ant-btn-primary:active) {
  transform: scale(0.98);
}

/* 移动端适配 */
@media (max-width: 480px) {
  .loginBox {
    padding: 24px 16px;
    box-shadow: none;
    background: transparent;
  }

  .title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .input {
    padding: 10px 14px;
    font-size: 15px;
  }

  .links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
} 