/* HKTS Membership Login Form Styles */

/* Import Google Fonts for better typography */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); */

/* Login Container */
.hkts-mm-login-container {
  max-width: 670px;
  color: #1D5E8C;
  margin: 0 auto;
}

.hkts-mm-login-form-body-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  a {
    color: #439FE6;
    font-weight: medium;
    font-size: 14px;
    text-decoration: none;
  }
}

.hkts-mm-login-form-actions {
  padding-inline: 16px;
}

.hkts-mm-login-form-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 16px;
  color: #439FE6;
  h2 {
    color: #1D5E8C;
    font-weight: 400;
  }
  a {
    color: #439FE6;
    font-weight: medium;
    font-size: 14px;
    text-decoration: none;
  }
}

.hkts-mm-login-form-body {
  background-color: #f8fcff;
  padding: 16px;
}

.hkts-mm-login-title {
  position: relative;
  font-size: 1.625rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5em;
  text-align: center;
  letter-spacing: -0.01em;
  @media (min-width: 48rem) {
    font-size: 2rem;
  }
}
/* Login Subtitle */
.hkts-mm-login-subtitle {
  text-align: center;
  text-wrap: pretty;
  color: #718096;
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: calc(var(--spacing) * 6);
  @media (min-width: 48rem) {
    font-size: 1.2rem;
  }
}

/* Login Links */
.hkts-mm-login-links {
  margin-top: 24px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px 8px;
  @media (min-width: 48rem) {
    flex-direction: row;
  }
  a {
    color: var(--mm-color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    word-break: normal;
    &:hover {
      color: var(--mm-color-primary);
      text-decoration: underline;
    }
  }
  .separator {
    color: #cbd5e0;
    margin-inline: calc(var(--spacing) * 3);
    font-weight: 300;
    display: none;
    @media (min-width: 48rem) {
      display: inline;
    }
  }
}

/* Login Message (for logged-in users) */
.hkts-mm-login-message {
  text-align: center;
  font-family: inherit;
  font-weight: 500;
  h2 {
    margin: 0 0 16px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
  }
  p {
    margin: 0 0 24px 0;
    color: #4a5568;
    font-size: 1.125rem;
  }
}
.hkts-mm-login-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  @media (min-width: 48rem) {
    flex-direction: row;
    gap: 12px;
  }

  .hkts-mm-button {
    width: 100%;
    max-width: 200px;
    min-width: 120px;
    text-decoration: none;
  }
}

/* Success Message */
.hkts-mm-success {
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
  color: #22543d;
  border-left-color: #38a169;
}
