* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  height: 100vh;
}

body {
  font-family: 'Heebo', sans-serif;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Page Layout Styles */
.page-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Action Section */
.action-section {
  width: 100%;
  padding: 48px 72px;
  background: #1b5035;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 89px;
}

.line-separator {
  width: 1px;
  background: #fff;
  flex-shrink: 0;
  align-self: stretch;
}

.action-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 89px;
}

.action-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-direction: column;
}

.action-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.action-number {
  font-size: 180px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  color: white;
}

.action-text {
  font-size: 48px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  color: white;
}

.action-details {
  max-width: 764px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.action-title {
  color: white;
  font-size: 48px;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
}
.action-title-centered {
  text-align: center;
}

div.action-description {
  text-align: left;
}

.form-card {
  width: 100%;
  padding: 24px;
  background: #f8faf7;
  box-shadow: 0px 4px 8px rgba(58, 68, 69, 0.2);
  display: flex;
  flex-direction: column;
  gap: 13px;
  border-radius: 8px;
}

.input-group {
  position: relative;
  margin-bottom: 1rem;
}

.input-field {
  width: 100%;
  padding: 1.5rem 0.75rem 0.5rem 0.75rem; /* Extra top padding for the label */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  background: white;
  height: 48px;
}

.input-label {
  position: absolute;
  top: 0.4rem;
  left: 0.75rem;
  font-size: 12px;
  color: #739281;
  pointer-events: none;
  transition: all 0.2s ease;
}

/* When input is focused or has content */
.input-field:focus + .input-label,
.input-field:not(:placeholder-shown) + .input-label {
  top: 0.4rem;
  font-size: 12px;
  color: #739281;
}

.input-field:focus {
  outline: none;
  border-color: #007bff;
}

.back-to-subscription-link {
  margin-top: 30px;
  text-align: center;
  color: white;
}

.button {
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.wide-button {
  width: 100%;
}

.primary-button {
  background: #ef7047;
  border: 2px solid #ef7047;
  color: white;
}

.primary-button:disabled {
  background: grey;
  cursor: auto;
}

.primary-button:hover:disabled {
  background: grey;
  cursor: auto;
}

.primary-button:hover {
  background: #d65a38;
}

.secondary-button {
  padding: 1rem 2.5rem 1rem 2.5rem;
  color: #2c8658;
  border: 2px solid #2c8658;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
}

.secondary-button:hover {
  background: #2c8658;
  color: white;
}

.link-icon {
  margin-left: 16px;
}

.action-terms {
  color: white;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.page-description {
  font-size: 24px;
  color: white;
  font-family: 'Heebo', sans-serif;
  font-weight: 500;
  line-height: 32px;
  text-align: center;
}

.manage-button {
  border: none;
  background: none;
  color: white;
  font-size: 16px;
  text-decoration: underline;
  line-height: normal;
  height: 100%;
  cursor: pointer;
}

@media (max-width: 1225px) {
  .action-section {
    padding: 48px 24px;
  }

  .action-content {
    width: 100%;
    flex-direction: column;
    gap: 64px;
  }

  .action-details {
    width: auto;
  }

  .action-number {
    font-size: 120px;
  }

  .action-text {
    font-size: 36px;
  }

  .primary-button {
    font-size: 20px;
    padding: 14px 28px;
  }

  .line-separator {
    width: 100%;
    height: 2px;
    background: #fff;
    margin: 0 auto;
  }

  .action-title {
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .action-terms {
    text-align: left;
  }
}

.login-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  margin-top: 80px;
}

.login-section {
  background: #1b5035;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
}

/* Social Login */
.social-login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  font-family: 'Heebo', sans-serif;
  font-size: 16px;
}

.social-login-divider::before,
.social-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.social-login-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.social-login-google {
  background: white;
  color: #3c4043;
}

.social-login-google:hover {
  background: #f1f3f4;
}

.social-login-apple {
  background: #000;
  color: white;
}

.social-login-apple:hover {
  background: #333;
}
