// Account page styles
// Form styles
.account-section {
  form {
    .form-label {
      font-weight: 500;
    }

    .form-control,
    .form-select {
      &:focus {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
      }
    }
  }
}

// Mobile dropdown styles
#mobile-nav-select {
  font-weight: 500;
}

// Avatar styles removed - using Bootstrap utilities only

// Card hover effects
.card {
  transition: box-shadow 0.2s ease-in-out;

  &:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
}

// Button styles
.btn-outline-secondary {
  &.text-uppercase {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.375rem 1rem;
  }
}

// Loading section styles
#loading-section {
  animation: fadeIn 0.3s ease-in-out;
}

// Smooth section transitions
.account-section {
  animation: fadeIn 0.3s ease-in-out;

  &.d-none {
    display: none !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

// Billing section styles
#billing-section {
  .card-form-border {
    border-width: 2px;
  }

  .form-check-label {
    user-select: none;
  }

  .progress {
    background-color: var(--bs-tertiary-bg);
  }

  #cancel-subscription-btn {
    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
}

// Shared styles for data-request and delete sections
#data-request-section,
#delete-section,
#refund-section {
  .card-form-border {
    border-width: 2px;
  }

  .form-check-label {
    user-select: none;
  }

  .accordion-trigger {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;

    &:focus {
      outline: none;
    }
  }
}

// Delete account section styles
#delete-section {
  #delete-account-btn {
    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }
}

